TheMiddle36
Posts: 21
Joined: Sun Apr 23, 2017 2:25 pm

Battery level of nearby Bluetooth devices

Sun Apr 23, 2017 2:31 pm

Hi,

I've found various scripts for scanning for Bluetooth devices, and made a fairly comprehensive logger.

I binned it off because the scanning interfered with playback over airplay in my project.

I'd know like to know how you could retrieve the devices battery levels and, eventually output to HTML. A standard scan will retrieve the device's address. Once the known device addresses (my phone, work phone, Mrs' phone) are gathered, I'd like the battery status of these devices.

I found a similar Reddit thread, but no answers. Any ideas?

Thanks,
Nick

Return to “Python”