node-red-contrib-sun-position
node-red-contrib-sun-position copied to clipboard
Clock-Timer
Hi,
is there a way to setup the clock timer in a way like this:
Start 08.00 - Stop 09.00; payload 1 Start 13.00 - Stop 15:00; payload 3 Start 20:15 - Stop 21:00; payload 1
Or do i need to set up a single within-time unit for each time which i want to switch something?
Regards gerribaldi
maybe in node Red to use the Switch Node?
Ah.... Yes, that could be an idea. Thanks for the tip
The clock timer is more likely to output a certain payload at certain times.
So it could be at 08:00 -> payload 1 at 09:00 -> payload 2 at 13:00 -> payload 3 at 15:00 -> payload 4 ...
The within-time node can currently only pass the given message with its payload to a route based on the current time. There is a feature request (#292), that the payload could be modified if the message passes within time or not.
To realize this with clock timer i need to start setting up the certain times from midnight am to midnight pm?
like for example 0:01 -> payload 2 8:01 -> payload 4 13:01 -> payload 5 14:01 -> payload 2 22:22 -> payload 8
And after midnight pm it starts again with 0:01 or?
yes, this is possible.