Change time zone

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

Post Reply
gijsje
Starting Member
Starting Member
Posts: 25
Joined: Sun Dec 03, 2017 12:52 am

Change time zone

Post by gijsje »

I have some issues with getting the power figures into domoticz.
i think this because there is difference in time on the nas and the toon.
I have found that the time/date on the toon is Mon Mar 12 14:42:57 UTC 2018
The time and date on the nas is Mon Mar 12 15:43:34 CET 2018
How can i change this?
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Change time zone

Post by TheHogNL »

So only a minute or so seperated. Did you config chrony properly on the Toon? Do you have your nas working with NTP?

Your toon is showing the time in UTC while your NAS is showing on CET (or CEST during summer). But that should not be a problem for your timestamped data because timestamps always should use UTC timetamps.
Member of the Toon Software Collective
gijsje
Starting Member
Starting Member
Posts: 25
Joined: Sun Dec 03, 2017 12:52 am

Re: Change time zone

Post by gijsje »

I have the gas and electric script running on the nas and have problems getting good data in domoticz.
The logging of the data stops at 17:00 and starts again at 00:00
Image

The file that is created every minute on the nas is like below

The time for the file itself for this on is 10-3-2018 10:11

Code: Select all

Request for FROM date: 10-03-2018
Now: 2018-03-10 17:11:03
Electricity Usage Toon = 400 Watt
Electricity Production Toon = 0 Watt
Electricity LT counter from Toon = 9530159 Wh
Electricity NT counter from Toon = 8221494 Wh
Electricity production counter LT from Toon = 13 Wh
Electricity production counter NT from Toon = 50 Wh
{
   "status" : "OK",
   "title" : "Update Device"
}
The problem with this i think is the low and tarif and the change time is not correct because of the time zone.
Post Reply

Return to “Toon Firmware”