csuermann / node-red-contrib-presence-faker

Node-RED node that fakes presence in a smart home by switching devices (e.g. lights) on and off at random times.
MIT License
23 stars 2 forks source link

Possible to keep a light on all the time? #62

Open ToMoHH opened 6 months ago

ToMoHH commented 6 months ago

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:

csuermann commented 6 months ago

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?

ToMoHH commented 6 months ago

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