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: 119
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, HikVision & Canary IP cams, Aeotec, Neo & Fibaro Z-Wave, Logitech Media Server (on Synology DS916+), 7x SqueezeBox, Kodi, Harmony Hub, 3x EchoDot2 with HA-Bridge, Hue.

jenssen
Posts: 30
Joined: Wednesday 13 July 2016 22:13
Target OS: Linux
Domoticz version: beta
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: 119
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, HikVision & Canary IP cams, Aeotec, Neo & Fibaro Z-Wave, Logitech Media Server (on Synology DS916+), 7x SqueezeBox, Kodi, Harmony Hub, 3x EchoDot2 with HA-Bridge, Hue.

gordonb3
Posts: 606
Joined: Friday 22 January 2016 11:15
Target OS: Linux
Domoticz version: custom
Location: The Netherlands
Contact:

Re: ISO 8601 date format ignores timezone

Post by gordonb3 » Wednesday 24 January 2018 23:06

Can't really comment on HGI80 functionality, but when working on the RFG100 functionality I found that Evohome is not consistent where it comes to using UTC or localtime. As far as I know the dashboard should match the times shown on the main controller (Evotouch) though, but I guess there might be a problem if the timezone on your Domoticz server is wrong, or possibly even the clock in Evotouch itself.
Excito B3 running Gentoo Linux, P1, Rfxtrx433 to read and control TFA, KaKu, EvoHome RFG100
Custom patched Domoticz v3.8000

User avatar
philchillbill
Posts: 119
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, HikVision & Canary IP cams, Aeotec, Neo & Fibaro Z-Wave, Logitech Media Server (on Synology DS916+), 7x SqueezeBox, Kodi, Harmony Hub, 3x EchoDot2 with HA-Bridge, Hue.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 4 guests