node-red-contrib-light-scheduler icon indicating copy to clipboard operation
node-red-contrib-light-scheduler copied to clipboard

Please let me "name" the time interval

Open robcos opened this issue 4 years ago • 3 comments

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.

robcos avatar Jan 12 '21 21:01 robcos

I can see the use-case, will try to figure out a way to accomplish that.

//Niklas

niklaswall avatar Mar 04 '21 16:03 niklaswall

Is there any progress with this task?

eschava avatar Apr 24 '21 10:04 eschava

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. image

minedaddy avatar Nov 17 '21 20:11 minedaddy