Pull down menu to select delay?

Just released an update. With v1.2.0 you can activate the timer with an incoming payload, like this:

ctsFlow

The flow:

[{"id":"f7afe9af.e48698","type":"ui_countdown_timer_switch","z":"d8cb3879.806298","name":"","group":"119bd180.ae754f","order":0,"width":"0","height":"0","countdowns":["60","120","180","240"],"onvalue":"true","onvalueType":"bool","offvalue":"false","offvalueType":"bool","showDropdown":true,"x":620,"y":360,"wires":[[]]},{"id":"63d820f8.2773e","type":"ui_button","z":"d8cb3879.806298","name":"","group":"119bd180.ae754f","order":1,"width":0,"height":0,"passthru":false,"label":"1h","tooltip":"","color":"","bgcolor":"","icon":"","payload":"1","payloadType":"num","topic":"","x":130,"y":340,"wires":[["38c5461.12130ba"]]},{"id":"51876347.1079cc","type":"ui_button","z":"d8cb3879.806298","name":"","group":"119bd180.ae754f","order":1,"width":0,"height":0,"passthru":false,"label":"5h","tooltip":"","color":"","bgcolor":"","icon":"","payload":"300","payloadType":"num","topic":"","x":130,"y":380,"wires":[["38c5461.12130ba"]]},{"id":"38c5461.12130ba","type":"change","z":"d8cb3879.806298","name":"","rules":[{"t":"set","p":"countdown","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":340,"y":360,"wires":[["f7afe9af.e48698"]]},{"id":"119bd180.ae754f","type":"ui_group","name":"Countdown Timer Switch","tab":"26b38e24.03fa62","order":1,"disp":true,"width":"6","collapse":false},{"id":"26b38e24.03fa62","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]
2 Likes