Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ToMoHH opened this issue Mar 17, 2024 · 2 comments
Open

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

ToMoHH opened this issue Mar 17, 2024 · 2 comments

Comments

@ToMoHH
Copy link

ToMoHH commented Mar 17, 2024

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
@csuermann
Copy link
Owner

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
Copy link
Author

ToMoHH commented Mar 17, 2024

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

@csuermann csuermann changed the title Possible to Possible to keep a light on all the time? Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants