Help with need an if-else between times

Hello,
What Im trying to look is an option to…
For example, when the washer ends the cicle, if is early day announce in speakers, but if too late only notify on phones, the part im having touble is making that ON OFF timer? i dont know if timer is what im looking for, the time for announces is 9am till 9pm and the rest of the time only phone notify.
Thanks

Check the chronos-switch node from the node-red-contrib-chronos package

Cron is not for kick an event at specific time? Mine is more for if it happend between times

Using the switch node from the node-red-contrib-chronos package, you can configure it to check if the current time is between two specified times. If true, the message will be sent through the top output; otherwise, it will go through the bottom output.

image

1 Like

Do you have the node package installed? Pull out a time switch node, click the add button to create new rules and an additional output.

image

image

1 Like