node-red-contrib-schedex icon indicating copy to clipboard operation
node-red-contrib-schedex copied to clipboard

Solar time way off

Open msteinhartOPC opened this issue 5 years ago • 3 comments

I have confirmed that the Latitude and Longitude are correct but the solar times are considerably off. Set the On time to “solarNoon” and the display is stating that ON will be at 17:01, (sunsetStart – 23:51, sunrise – 10:09 …)

msteinhartOPC avatar Aug 17 '19 19:08 msteinhartOPC

Update, the displayed time remained incorrect but the triggered light sequence went on at the proper time. (set for sunset, triggered 19:54)

msteinhartOPC avatar Aug 18 '19 00:08 msteinhartOPC

Update – the location where the system is EDT, GMT / UTC -4 When setting an ON time or OFF time the display below the node is off by 4Hr. (On Set for 22:35 displays as “ON at 22:35”) triggers at 18:35. Sun based setting trigger at the proper time but display at GMT/UTC. How do you get the node to display and use local time for the “On time” and “Off time” fields? Note - running Node-Red in Docker.

msteinhartOPC avatar Aug 18 '19 22:08 msteinhartOPC

Do you know what the time zone in the container is set to? Schedex doesn't do anything other than use the moment library which uses the system time. So it works fine here in the UK, even across daylight saving.

Is your container running on UTC?

biddster avatar Jan 17 '20 23:01 biddster