Controlling Android iBeacon adverts when away from home #554
agittins
started this conversation in
The Bermuda Cookbook
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Share your recipes below!
The Android Homeassistant Companion App has a "Bluetooth Transmitter" feature that broadcasts an iBeacon advertisement. This is one of the best ways to ensure your phone is detectable in Bermuda (either with or without IRK's in the "Private BLE Device" integration), and it allows you to adjust the advertising interval and transmit power as well (Medium or High power is often required for reliable detection, and 3Hz is a good balance for advertising interval).
But having your phone always sending out a static iBeacon advertisement can pose a privacy risk, in that your phone is uniquely identifiable when out and about. You might also be concerned about battery usage (I've not tested this, but I suspect that BLE adverts are a tiny, tiny percentage of the battery consumption on a mobile phone, but YMMV).
The built-in solution
The HA companion app offers a "Transmit only when on home network" option, which certainly helps and might do everything you need. A few folk have found it doesn't always cover every situation:
Other options
You can control the Bluetooth Transmitter in the companion app using notifications. This can enable you to do things like:
Zone
. Or you could create a larger zone around the home, so that there is more likely to be time for the phone to update its location by the time you reach home.Home
for several minutes, adjust the power down to a level that still gives reliable area detection.Controlling Bluetooth Transmitter in automations
See BLE Beacon Transmitter in the notifcations commands section of the Companion App docs for the full details, here are examples from that page on how to turn the transmitter off and alter power level, respectively:
Recipes
Please feel free to contribute your particular recipes below!
Beta Was this translation helpful? Give feedback.
All reactions