Detecting Bluetooth Connectivity to Laptop

I am trying to detect when my bluetooth headphones (Bose 700) are connected to my Windows10 computer. The Bluetooth Tracker seems to be pretty inconsistent with picking them up no matter where I place my RPi. My current plan is to set up a task based on the Windows event log or run a script every 10-20s to check and send a message to HA. Is there an easier way to go about this?

Thanks,
Ian

Have a look at IOT Link and see if it can detect that. If it can, then you can send the information to HA.

1 Like

Thank you. This looks like what I want. I ran into some issues with the MQTT connection dropping and possible memory leaks. I’ll see if I can pull down the code and clean those up for Alexandre.

1 Like