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

[Idea] Enable scanners via occupancy entity (optional) #437

Open
HeavyHawkZero opened this issue Jan 21, 2025 · 2 comments
Open

[Idea] Enable scanners via occupancy entity (optional) #437

HeavyHawkZero opened this issue Jan 21, 2025 · 2 comments

Comments

@HeavyHawkZero
Copy link

Is your feature request related to a problem? Please describe.
I have a scanner in every room. My house is quite small so the distance between scanners is also small. That leads to (due to reflection/interference) my devices 'jumping' between rooms.

Describe the solution you'd like
Would it be feasible to have an optional entity to 'assign' to a scanner that 'disables' a scanner when a room is not occupied?

Describe alternatives you've considered
There's not really an alterative I know of...

Additional context
My idea here is that you would be able to enable a scanner via an occupancy entity. This way the results of the scanner in the room that is unoccupied could be disregarded. Make that optional in case users want to track their pets etc.

For clarification the following situation:
Rooms are kitchen and living room. Device jumps between those rooms. As no presence is detected in the kitchen, it's result will be disregarded and bermuda would see the device in the living room.

English is not my first language so I hope I made clear what I meant.

@prestomation
Copy link
Contributor

I'm not a maintainer of this project but submitted a PR so I was reviewing other issues.

This doesn't seem like general enough solution, assuming you are talking about something like PIR or mmWave these still aren't so accurate.

That said there may be other ways to provide tools that enable you to build this solution if you want. I wonder if, instead, Bermuda could add an Action(service) to support enabling/Disabling the use of particular scanners dynamically. This would let you script what you describe here and possibly support many other use cases

@HeavyHawkZero
Copy link
Author

I wonder if, instead, Bermuda could add an Action(service) to support enabling/Disabling the use of particular scanners dynamically. This would let you script what you describe here and possibly support many other use cases

That'll be even better. I found a solution to add switch entities to my nodes that supposed to enable/disable the BT stack, active scanning and contiouus scanning on the device. Although disabling a node worked, it didn't come back as intended when switched back on. So I have only a half solution here.

So if Bermuda would provide such an action that would perfectly work for me and be very versatile in use cases.
Thank you for your input on that.

Unfortunately i'm not able in Python so I could help myself here. Relying on the developers instead...

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