Cron plus solar events AND cron

I want to make a schedule that activates only from May to August on sunset. Is this possible using cron plus node ?


Maybe with the addition of a node-red-contrib-simple-gate node
Create 2 schedules in Cron+, one that triggers every sunset, and a second schedule that will open and close the gate node between May & August.
Wire the cron+ into the gate node, and use the output from the gate node for your flow.

NOTE, set the Restore from state saved... option in the gate node to your filesystem context, so it doesn't forget its state if you reboot...

I believe you can do this with one of the nodes from node-red-contrib-sun-position. Certainly the blind node has some complex rules you can add as does the clock timer node.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.