Get access to bluetooth devices on the phone

Hi,
I dont know if its possible, but it would be cool to have a driver that list all bluetooth devices in the phone. So we could use the connect/disconnect to specific devices as trigger.
If not possible, please can you explain why because the information I think would be usefull for users...
Thanks & have a nice day!

1 Like

On IOS devices you can already trigger an automation when a bluetooth device connects via shortcuts. You can use this to send an http request to your hubitat hubs cloud endpoint to trigger an automation on the hub.

For android… tasker prob can do the same.

2 Likes

Certainly possible using Tasker on Android, I have setup profiles that can do exactly this (with an accompanying app, but RM would likely provide a similar option). But I agree, it would be a nice addition to have the native Hubitat app do this out-of-the-box. To help this effort, I expect it would be useful to explain the situations you would see a benefit in having this available.

For me, not that I have used it specifically, I expect people would benefit from knowing when their phone is connected to their car to identify when travelling vs being in the home. Other situations could include connectivity to certain devices like headphones. One other benefit could be connectivity to a bluetooth device in the home, to be another indicator for presence in the home, or elsewhere for that matter.

My setup for this, in what I have developed, is to have child devices linked to my mobile device that represent the bluetooth devices linked to that mobile device, including a status of whether the bluetooth device is connected.