Hi Experts,
I work with Node-Red and dashboard and would like to setup an adjustable timer on Raspi 4 B hardware. I tried several attempts but without success so far.
Goal:
1 Slider in dashboard should influence a on/off trigger from 0-100%.
i.e. Slider total 0...10 sec. (so 10 sec. maximum, step 1 sec)
So let's give you 3 examples:
Moving slider to 3 --> 3 sec. Output True, 7 sec. Output false, repeat in loop
Moving slider to 10 --> 10 sec. Output True, 0 sec. Output false, repeat in loop
Moving slider to 0 --> 0 sec. Output True, 10 sec. Output false, repeat in loop
I found a working way with 2 trigger events when using the slider within 1 to 9 seconds. But when using 0 or 10 (the min and maximum of the slider) this is not working any more.
It should also work for 0 and 10 as the requested application sometimes requires continous ON or OFF without switching.
Can you please give me support or some hints. I was also looking for a module in pallette but was not able to find proper one.
Thanks!
Kind regards
Raspi133