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

Set the default BLE transmitter minor value to 40004 #4027

Merged
merged 1 commit into from
Nov 25, 2023

Conversation

chatziko
Copy link
Contributor

Summary

Currently beacons sent by the BLE transmitter are ignored by the ibeacon integration, since they have an empty/default name. A workaround proposed here uses a whitelisted minor value (40004) to force processing a beacon with no name.

This tiny PR sets the default minor value to 40004. Most likely the user doesn't care about it, so it will transparently solve the issue for them.

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#1007

This value is whitelisted by the ibeacon integration to ensure the beacon
is processed even without a name.
Copy link
Member

@dshokouhi dshokouhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, will make sure to call this out in the change log once merged so existing users can change the minor value. Thanks for the PR!

@JBassett JBassett merged commit 52b0f4a into home-assistant:master Nov 25, 2023
3 checks passed
@chatziko
Copy link
Contributor Author

The initial solution of a hard-coded allowlisted minor was replaced by a manual UUID allow list (new PR). So this PR should be probably reverted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move to a different beacon library thats more compatible with HA iBeacon integration
3 participants