Is there a better way for me to control my Govee Curtain lights? I have this flow set up to begin at 7:01 a.m. and have a time check to be sure the flow will not continue to another node past 4 p.m. Each node should run for 5 minutes, then go to the next node to run for 5 minutes, and so on until it cannot trigger past 4 p.m. Any help is appreciated. Thank you.
#Node-Red Flow
1 messages · Page 1 of 1 (latest)
Personally, I like the cron plus node for scheduling. (node-red-contrib-cron-plus)
The syntax takes a little getting used to, but something like this 00,30 7-16 * * * will trigger at :00 and :30 during every hour between 7am and 4pm. You'd connect that to your first function. Then set up the next schedule for '05,35 7-16 * * *` and connect to the second function. And so on. (Since you have 6 actions, they can trigger twice per hour.)
No five minute delays or trying to trap the flow between the time frame.
https://crontab.guru can help with syntax.