Just a reminder that DST goes into effect this Sunday, March 10 at 2:00am local standard time.
Since we last changed the clocks, IoTaWatt has been enhanced to support automatic DST time adjustment. To enable the automatic adjustment, you should set the time zone to the time offset for your local standard time. For EST that’s UTC-5, CST UTC-6… etc.
Then check the box “Allow Daylight Time” and save. Then cross your fingers.
If you are using PVoutput, this is especially important because IoTaWatt stamps the data with local time.
I’m glad you posted this. I was confused about the time. I’m in Pacific timezone, and when I first setup IotaWatt, I mistakenly set it for -7 and ticked the box for daylight time. It seemed ok because in all the graph views, when I set to standard views like “today” the X axis always ended at the current, correct time. But I started noticing a 1hr discrepancy, so then I figured out I actually need to set it to -8 in the IotaWatt setup.
I’m curious, why does the X axis look correct even when this timezone is set wrong? I would have expected it to end 1hr later. I’m guessing some part of this uses the timestamp from your web browser?
Believe it or not time-zones and in particular DST and BST are one of the thorniest issues to deal with in programming a user interface. It seems so simple to the average person.
IoTaWatt maintains the datalog using NTP (GMT) time. That is available with high precision from internet time servers and is consistent everywhere on earth. There are three places where local time is used inside IoTaWatt:
The datalog messages are timestamped with local time.
Uploads to PVoutput must be stamped with local time.
Queries with relative begin and/or end periods use local time. Think “today”.
Most times displayed in the browser app get NPT time from IoTaWatt and are converted to local time per your browser or computer timezone setting.
To be clear, if I’m on the east coast US (currently now DST), should I have -4 here or -5? I’m thinking it should be -5, but now not sure if the checkbox is making it -4?