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

Refresh Timer/Timeout #325

Open
sjau opened this issue Apr 30, 2024 · 0 comments
Open

Refresh Timer/Timeout #325

sjau opened this issue Apr 30, 2024 · 0 comments

Comments

@sjau
Copy link

sjau commented Apr 30, 2024

Description

A way that the timer/the timeout will be refreshed/set to zero, when new motion is detected:

  • Motion sensor detects motion
  • Light gets turned on --> 5 minute timer started (after which light will be turned off again)
  • After 3 minutes another motion gets detected --> Timer/timeout will be reset, so another 5 minutes before turning light off
  • After 4 minutes another motion gets detected --> Timer/timeout will be reset, so another 5 minutes before turning light off
  • After 2 minutes another motion gets detected --> Timer/timeout will be reset, so another 5 minutes before turning light off
  • After 4 minutes another motion gets detected --> Timer/timeout will be reset, so another 5 minutes before turning light off
  • After 5 minutes the light will be turned off

During all those refreshes, the light should not be turned off.

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

1 participant