node-red-contrib-presence-faker
node-red-contrib-presence-faker copied to clipboard
Possible to keep a light on all the time?
I use the node for multiple lights to simulate presence. Everything works as expected. But there is one light that I would like to keep on all the time. But I can't do that. Is it even possible? Withn following settings, the light switch off before 09:00:
- window: 08:00-09:00
- on times: min1 max1
- on min duration 0
- on max duration 10 hours
- first block: on
- last block: off
Hello @ToMoHH,
The specific use case you mentioned isn't supported. The algorithm mandates at least one ON and OFF block, and it automatically shortens the ON block by 10% if there's insufficient time for an OFF block.
But why would you like to have presence-faker control your always-on light in the first place?
The node is practical because I inject the dynamic values via the payload. For the sake of simplicity, I wouldn't like to use different nodes, that just makes it more complicated. but thank you for your quick feedback