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

Implement binary motion sensor #3

Open
akx opened this issue Nov 1, 2022 · 0 comments
Open

Implement binary motion sensor #3

akx opened this issue Nov 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@akx
Copy link
Collaborator

akx commented Nov 1, 2022

In BLE monitor, I use the following logic.

If the movement counter is increased between two advertisements, the motion sensor becomes True (in HA True = motion detected).
After a certain time, without a movement counter change, the motion sensor returns to False (no motion detected). This probably has to be done in the HA integration code.

In that way, you can use it as a motion detector.

Originally posted by @Ernst79 in #2 (comment)

@akx akx added the enhancement New feature or request label Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant