Is there an existing clock node that will emit the correct payload (for example, "on" or "off) on start up? Specifically, is there a clock node that will GO BACKWARDS to the last event in time and correctly set the payload?
I am currently using "schedex" and it appears there is no way to prompt it to go backwards to the last event. It looks like it only knows about the next two events. So, for example, you schedule to turn on lights at sun set and turn them off at sun rise. If you start NodeRed 1 minute after sun set, the lights will not turn on for at least another 23 hours. Ideally the lights would turn on when ever it is dark and NodeRed is started.