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

[Request/Idea] Warn when a BLE scanner device does not have an Area #418

Open
jeremysherriff opened this issue Dec 27, 2024 · 1 comment
Assignees
Milestone

Comments

@jeremysherriff
Copy link

jeremysherriff commented Dec 27, 2024

Is your feature request related to a problem? Please describe.
I've been chasing my tail trying to figure out why one ESP32 BLE Proxy doesn't appear to report my cat - the issue was quite simple in the end; I had not assigned an Area to that ESP32 device in HA, so she was being reported as unknown location which was indistinguishable from when she's away from the house.

Describe the solution you'd like
Wondering if there might be a simple and noticeable way to warn the user when a BLE scanner device was missing an Area

Describe alternatives you've considered
I've considered doing everything properly all the time, but my wife advises I should try to limit my daydreaming and stick to reality 😅

I wonder about the possibility of reporting the device's Area differently for "not seen by any scanner" versus "seen by a scanner with no Area assigned"? Technically both are unknown but they are unknown for different reasons. "Unassigned" might be a suitable word?

Additional context
This is totally a self-own in terms of my issue with one out of 6 BLE proxies, but I'm assuming that others will have done the same at some point.

@agittins agittins self-assigned this Jan 9, 2025
@agittins agittins added this to the #Next milestone Jan 9, 2025
@agittins
Copy link
Owner

agittins commented Jan 9, 2025

Describe alternatives you've considered
I've considered doing everything properly all the time, but my wife advises I should try to limit my daydreaming and stick to reality 😅

🤣

You're definitely right that others have hit this issue as well, and I agree that just using "Unknown" does obscure the underlying issue. Your suggestion to use an alternative sensor value makes a lot of sense.

I think I'll address this in two ways:

  • Raise a repair issue for any proxies lacking an area definition. The user can 'ignore' the repair if they wish. Currently I periodically issue a log warning, but these are not very "discoverable" and that decision I think pre-dated "repairs".
  • Make the sensor say something like "Unassigned Area ([proxy_name])" to make the cause and fix a bit more self-discoverable.

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