Node Red Sun Events

After the time change on November 3rd node red sun events stopped working. I am on node red 5.0.3. Upon restart noticed the following messages.

4 Nov 12:02:05 - [info] [sun events:sun events] [sunevents] Calculating times for Mon Nov 04 2019 23:59:59 GMT-0800
4 Nov 12:02:05 - [info] [sun events:sun events] [sunevents] Emitting solarNoon Tomorrow at 11:35 AM in 23 hours
4 Nov 12:02:05 - [info] [sun events:sun events] [sunevents] Emitting nadir Today at 11:35 PM in 11 hours
4 Nov 12:02:05 - [info] [sun events:sun events] [sunevents] Emitting sunrise Tomorrow at 6:15 AM in 18 hours
4 Nov 12:02:05 - [info] [sun events:sun events] [sunevents] Emitting sunset Tomorrow at 4:56 PM in 28 hours
4 Nov 12:02:05 - [info] [sun events:sun events] [sunevents] Emitting sunriseEnd Tomorrow at 6:17 AM in 18 hours
4 Nov 12:02:05 - [info] [sun events:sun events] [sunevents] Emitting sunsetStart Tomorrow at 4:54 PM in 28 hours
4 Nov 12:02:05 - [info] [sun events:sun events] [sunevents] Emitting dawn Tomorrow at 5:49 AM in 17 hours
4 Nov 12:02:05 - [info] [sun events:sun events] [sunevents] Emitting dusk Tomorrow at 5:22 PM in 29 hours
4 Nov 12:02:05 - [info] [sun events:sun events] [sunevents] Emitting nauticalDawn Tomorrow at 5:19 AM in 17 hours
4 Nov 12:02:05 - [info] [sun events:sun events] [sunevents] Emitting nauticalDusk Tomorrow at 5:52 PM in 29 hours
4 Nov 12:02:05 - [info] [sun events:sun events] [sunevents] Emitting nightEnd Tomorrow at 4:50 AM in 16 hours
4 Nov 12:02:05 - [info] [sun events:sun events] [sunevents] Emitting night Tomorrow at 6:21 PM in 30 hours
4 Nov 12:02:05 - [info] [sun events:sun events] [sunevents] Emitting goldenHourEnd Tomorrow at 6:50 AM in 18 hours
4 Nov 12:02:05 - [info] [sun events:sun events] [sunevents] Emitting goldenHour Tomorrow at 4:21 PM in 28 hours

All of the times seem to be off by up to 24 hours. The on I use to turn on the lights is sunsetStart. The time showing is not this evening but tomorrow evening. The lat long are correct for my home and it’s been working up until the time change.

Am I interrupting the info messages correctly? Should they show the time according to my lat long and if so anyone know why they are wrong?

Thanks

I just started using nodered and trying to get lights to turn on at sunset with bigtimer, but it’s not firing. Where are you seeing these logs? Maybe we’re running into the same issue. I did a simple flow that output the time to debugger and I thought it was correct, but it wasn’t using bigtimer so not sure if it was a valid test. Thanks.

I don’t us bigtimer but here is my flow for turning the lights on at sunset using sun events node. Was working until daylight savings time changed to standard time. You can copy below to the clip board and them import it to node red. You will have to change the nodes to your lat long and the lights to your lights. Try this and let me know if it works for you. This is supposed to turn the lights on at sunsetStart. I use another timer to turn them off at a specific time. Hope this helps.

[{“id”:“2b26a32d.22d7dc”,“type”:“switch”,“z”:“b38fe46a.e21618”,“name”:“Sunset”,“property”:“test”,“propertyType”:“global”,“rules”:[{“t”:“eq”,“v”:“sunsetStart”,“vt”:“str”}],“checkall”:“true”,“repair”:false,“outputs”:1,“x”:140,“y”:220,“wires”:[[“a6f71711.9f6da8”,“80768561.0e9c48”,“db5397b3.20708”]]},{“id”:“5bc5cb00.2c8b54”,“type”:“api-call-service”,“z”:“b38fe46a.e21618”,“name”:“OFF”,“server”:“fb44684c.e07308”,“service_domain”:“homeassistant”,“service”:“turn_off”,“data”:"{“entity_id”:“switch.sonoff_power3”}",“mergecontext”:"",“output_location”:“payload”,“output_location_type”:“msg”,“mustacheAltTags”:false,“x”:510,“y”:260,“wires”:[[“19146b82.bcaab4”]]},{“id”:“a6f71711.9f6da8”,“type”:“api-call-service”,“z”:“b38fe46a.e21618”,“name”:“Turn on night light”,“server”:“fb44684c.e07308”,“version”:“1”,“service_domain”:“homeassistant”,“service”:“turn_on”,“entityId”:“switch.sonoff_power3”,“data”:"",“dataType”:“json”,“mergecontext”:"",“output_location”:“payload”,“output_location_type”:“msg”,“mustacheAltTags”:false,“x”:410,“y”:180,“wires”:[[“83b59568.51b4d8”]],“inputLabels”:[“below_harizon”],“outputLabels”:[“on”]},{“id”:“83b59568.51b4d8”,“type”:“debug”,“z”:“b38fe46a.e21618”,“name”:“Turned Lamp in Living Room”,“active”:true,“tosidebar”:true,“console”:false,“tostatus”:false,“complete”:“payload”,“x”:746,“y”:130,“wires”:[]},{“id”:“19146b82.bcaab4”,“type”:“debug”,“z”:“b38fe46a.e21618”,“name”:“Turn off Lamp in living room”,“active”:true,“tosidebar”:true,“console”:false,“tostatus”:false,“complete”:“payload”,“targetType”:“msg”,“x”:749,“y”:230,“wires”:[]},{“id”:“82e391d6.7d3b”,“type”:“api-current-state”,“z”:“b38fe46a.e21618”,“name”:“test current state”,“server”:“fb44684c.e07308”,“version”:1,“outputs”:2,“halt_if”:“off”,“halt_if_type”:“str”,“halt_if_compare”:“is”,“override_topic”:true,“entity_id”:“switch.sonoff_power3”,“state_type”:“str”,“state_location”:“payload”,“override_payload”:“msg”,“entity_location”:“data”,“override_data”:“msg”,“blockInputOverrides”:false,“x”:390,“y”:340,“wires”:[[],[“5bc5cb00.2c8b54”,“df2f13fd.f825a8”]]},{“id”:“809aea06.99ab98”,“type”:“inject”,“z”:“b38fe46a.e21618”,“name”:“Turn off light”,“topic”:"",“payload”:"",“payloadType”:“date”,“repeat”:"",“crontab”:“59 23 * * *”,“once”:false,“onceDelay”:0.1,“x”:160,“y”:340,“wires”:[[“82e391d6.7d3b”]]},{“id”:“80768561.0e9c48”,“type”:“api-call-service”,“z”:“b38fe46a.e21618”,“name”:“Turn on night light”,“server”:“fb44684c.e07308”,“version”:1,“service_domain”:“homeassistant”,“service”:“turn_on”,“entityId”:“switch.porchlamp”,“data”:"",“dataType”:“json”,“mergecontext”:"",“output_location”:“payload”,“output_location_type”:“msg”,“mustacheAltTags”:false,“x”:410,“y”:100,“wires”:[[“83b59568.51b4d8”]],“inputLabels”:[“below_harizon”],“outputLabels”:[“on”]},{“id”:“df2f13fd.f825a8”,“type”:“api-call-service”,“z”:“b38fe46a.e21618”,“name”:“OFF”,“server”:“fb44684c.e07308”,“version”:“1”,“debugenabled”:false,“service_domain”:“homeassistant”,“service”:“turn_off”,“entityId”:“switch.porchlamp”,“data”:"",“dataType”:“json”,“mergecontext”:"",“output_location”:“payload”,“output_location_type”:“msg”,“mustacheAltTags”:false,“x”:590,“y”:340,“wires”:[[“19146b82.bcaab4”]]},{“id”:“db5397b3.20708”,“type”:“debug”,“z”:“b38fe46a.e21618”,“name”:“see whats with sunset”,“active”:true,“tosidebar”:true,“console”:false,“tostatus”:false,“complete”:“payload”,“targetType”:“msg”,“x”:280,“y”:300,“wires”:[]},{“id”:“b961c9de.d02988”,“type”:“sun events”,“z”:“b38fe46a.e21618”,“testmode”:true,“verbose”:true,“topic”:"",“name”:"",“x”:100,“y”:160,“wires”:[[“2b26a32d.22d7dc”,“db5397b3.20708”]]},{“id”:“fb44684c.e07308”,“type”:“server”,“z”:"",“name”:“Home Assistant(2)”,“legacy”:false,“hassio”:true,“rejectUnauthorizedCerts”:true,“ha_boolean”:“y|yes|true|on|home|open”,“connectionDelay”:false}]