biddster / node-red-contrib-schedex

Scheduler for node-red which allows you to enter on/off times as 24hr clock (e.g. 01:10) or suncalc events (e.g. goldenHour). It also allows you to offset times and randomise the time within the offset.
22 stars 17 forks source link

Issue with sunset + offset = next day? #80

Open dxdc opened 4 years ago

dxdc commented 4 years ago

I'm having an issue with the following settings:

ON: sunset offset: 240

In this case, the time/date is correctly calculated as 12:30am the next day -- at least -- according to the status of the node. However, the trigger for it never fires? I'm wondering if this has something to do with the fact that it is happening the following day.