Skip to content
This repository was archived by the owner on May 29, 2022. It is now read-only.

Conversation

@chriseldredge
Copy link

This PR adds an optional debounceTime attribute to the configuration, which when set will smooth out changes to occupancy that happen within the set threshold. In other words, if debounceTime is set to 10 seconds, and a device roams from one AP to another within that time period, the occupancy sensor will stay triggered and not fluctuate.

The implementation uses the built-in debounceTime which requires introducing a dependency on rxjs.

Fixes #16.

Resubmit of #25 rebased onto latest master.

Avoids toggling occupancy off then back on when a client roams
from one access point to another.
@m0kum
Copy link

m0kum commented Aug 12, 2021

Any update on when this feature will get implemented?

@JNR8
Copy link

JNR8 commented Feb 1, 2022

Any update on when this might get implemented? Unifi report my phone often disconnects snd reconnect within seconds, but this enough to trigger automations, which wake me up when this happens at night

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Specify Delay Before Timeout

3 participants