Change time zone

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

Change time zone

Postby gijsje » Mon Mar 12, 2018 3:49 pm

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?
gijsje
Starting Member
Starting Member
 
Posts: 25
Joined: December 2017

Re: Change time zone

Postby TheHogNL » Mon Mar 12, 2018 4:04 pm

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
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 896
Joined: August 2017

Re: Change time zone

Postby gijsje » Mon Mar 12, 2018 6:26 pm

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.
gijsje
Starting Member
Starting Member
 
Posts: 25
Joined: December 2017


Return to Toon Firmware

Who is online

Users browsing this forum: No registered users and 1 guest