node-red-contrib-light-scheduler
node-red-contrib-light-scheduler copied to clipboard
Please let me "name" the time interval
Say that for one day I have a time interval called morning between 8 and 12 and an evening one between 20 and 23. How can I distinguish them at the output? It would be really good to be able to do it so that I could trigger different scenes based on the time of the day.
I can see the use-case, will try to figure out a way to accomplish that.
//Niklas
Is there any progress with this task?
I could use this feature also. My use-cases would be lawn irrigation with multiple zones and trash/recycling schedule reminders.
Perhaps the most straight-forward way would be to attach a name to the schedule block and, if set, use this as the outgoing topic. If a block name is not set, the default topic would be used maintaining backwards compatibility. I know the underlying calendar control accepts block names so this may help. I modified the code to show the effect but don't have enough experience to handle the UI input etc. This would probably need a small text window to open up on double-click of the block.