Android stops sending out BLE beacons

261 Views Asked by At

I am trying to implement room-level presence detection. I have esp32 devices in each room, all reporting to mqtt, and it works beautifully with Tile transmitters. I am also trying to detect my Android phones but they consistently stop transmitting after a short period of time. I am using a Pixel 6 Pro running Android 13 with the March 5 2023 update. I first tried the Home Assistant BLE Transmitter sensor that is built in to the larger phone app. It initially works, but only sends 2, sometimes 3 messages. The status continues to say "transmitting". The app does not terminate. Turning the transmitter off and on results in an additional 1 message; changing one of the parameters, such as transmit power does the same thing. I initially thought it might be an issue with the Home Assistant app, so I tried BeaconScope but it behaves exactly the same way. Each of the apps is exempt from battery management, and each of them has all of the requested permissions.

I have repeatedly tried the two apps, monitoring with MQTT Explorer. I expected to see regular transmissions from the Pixel but did not. I did consistently see regular transmissions from 4 Tile dongles.

0

There are 0 best solutions below