ISO 8601 date format ignores timezone

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.
Post Reply
User avatar
philchillbill
Posts: 228
Joined: Monday 12 September 2016 13:47
Target OS: Linux
Domoticz version: beta
Location: Eindhoven. NL
Contact:

ISO 8601 date format ignores timezone

Post by philchillbill » Tuesday 09 January 2018 11:55

Is the ISO 8610 date implementation in Domoticz incomplete? I notice that it ignores the timezone offset if I set an Evohome until-override via JSON:

"http://192.168.178.2:8080/json.htm?type ... &used=true"

in other words, it ignores the +01:00 at the end of "2018-01-09T11:00+01:00". Anybody else see this behaviour?
NUC/Ubuntu, Evohome Heating + HGI80, Evohome Security, 4x HikVision IP cams, Aeotec, Neo & Fibaro Z-Wave, Logitech Media Server (on Synology DS916+), 10x SqueezeBox, Kodi, Harmony Hub, 5x Amazon Echo, HA-Bridge, Hue.

jenssen
Posts: 32
Joined: Wednesday 13 July 2016 22:13
Target OS: Linux
Domoticz version: stable
Contact:

Re: ISO 8601 date format ignores timezone

Post by jenssen » Tuesday 16 January 2018 22:35

Hello,

Just tested this, same here.

I have a other issue with the time.

When I look at the devices/setup, I see this data at a specific zone with an override:
17.6 C, (12.0 C), TemporaryOverride until 2018-01-16T23:30:00

When I look at the dashboard, I see that the override is until 2018-01-17 00:30:00.

Why is there a one hour difference? I set it on 2018-01-16T23:30:00 (via JSON or manuelly).

Do you have the same problem?

User avatar
philchillbill
Posts: 228
Joined: Monday 12 September 2016 13:47
Target OS: Linux
Domoticz version: beta
Location: Eindhoven. NL
Contact:

Re: ISO 8601 date format ignores timezone

Post by philchillbill » Wednesday 24 January 2018 22:48

What I notice is that if I set an UNTIL via json and then check the device status through json, it shows the correct time in the returned json - the issue is in the time displayed in the Evohome widget on the dashboard. The Evohome app on my iPhone and the Evotouch both display the correct until-time as set by my json, so the issue really seems to be the displayed-time on the dashboard.
NUC/Ubuntu, Evohome Heating + HGI80, Evohome Security, 4x HikVision IP cams, Aeotec, Neo & Fibaro Z-Wave, Logitech Media Server (on Synology DS916+), 10x SqueezeBox, Kodi, Harmony Hub, 5x Amazon Echo, HA-Bridge, Hue.

User avatar
philchillbill
Posts: 228
Joined: Monday 12 September 2016 13:47
Target OS: Linux
Domoticz version: beta
Location: Eindhoven. NL
Contact:

Re: ISO 8601 date format ignores timezone

Post by philchillbill » Monday 29 January 2018 22:48

My Domoticz timezone and Evotouch clock are both correct, so it's not that. There really is a discrepancy between the json returned from a rid= call to an Evohome zone idx and what the widget displays. The temps and modes are all ok, it's the 'until' field that's off. Try it yourself and see if you can reproduce it.
NUC/Ubuntu, Evohome Heating + HGI80, Evohome Security, 4x HikVision IP cams, Aeotec, Neo & Fibaro Z-Wave, Logitech Media Server (on Synology DS916+), 10x SqueezeBox, Kodi, Harmony Hub, 5x Amazon Echo, HA-Bridge, Hue.

jenssen
Posts: 32
Joined: Wednesday 13 July 2016 22:13
Target OS: Linux
Domoticz version: stable
Contact:

Re: ISO 8601 date format ignores timezone

Post by jenssen » Wednesday 17 October 2018 22:00

philchillbill wrote:
Monday 29 January 2018 22:48
My Domoticz timezone and Evotouch clock are both correct, so it's not that. There really is a discrepancy between the json returned from a rid= call to an Evohome zone idx and what the widget displays. The temps and modes are all ok, it's the 'until' field that's off. Try it yourself and see if you can reproduce it.
I still can, looks like the time on the dashboard widget is still not fixed unfortunately.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests