Condition for Bluetooth Near
Moderator: Martin
-
- Posts: 2
- Joined: 27 Mar 2016 03:02
Condition for Bluetooth Near
I would like to know if a condition for Bluetooth near can be created? I often use WIFI near for turning on/off services and would also like to do so for Bluetooth, seems like this should already be there since WIFI near is?
Re: Condition for Bluetooth Near
Hi,
Bluetooth near is difficult to implement since Automagic would have to execute a BT scan which is battery consuming and can even interfere with other BT connections of the device. Additionally the other devices would have to be visible which is usually not the case. Trying to establish a BT connection to some configured devices could work but I'm not sure if this would be helpful or even work reliably on different versions of Android.
You could probably use action Connect/Disconnect Bluetooth Device to establish a connection to a device and see if the trigger Bluetooth Device Connected is executed.
Regards,
Martin
Bluetooth near is difficult to implement since Automagic would have to execute a BT scan which is battery consuming and can even interfere with other BT connections of the device. Additionally the other devices would have to be visible which is usually not the case. Trying to establish a BT connection to some configured devices could work but I'm not sure if this would be helpful or even work reliably on different versions of Android.
You could probably use action Connect/Disconnect Bluetooth Device to establish a connection to a device and see if the trigger Bluetooth Device Connected is executed.
Regards,
Martin
Re: Condition for Bluetooth Near
This is similar to my question/post a few days ago about a proximity check. I think the bluetooth connection is what I was looking for but this will not work for the reasons that Martin indicated.