Hey guys im new here ....just started using automagic but loving it. Im trying a flow as follows
once wifi connected
turn bluetooth state on
connect bluetooth device (specific device)
now I know it says in automagic that this feature is not officially supported and might not work on all devices but im wondering if theres any way to fix it?..root device possibly? Its a samsung tab3
bluetooth connecting
Moderator: Martin
Re: bluetooth connecting
Hi,
Perhaps it's a timing problem since the bluetooth adapter uses some time to turn on. Please add an action Sleep: 5s before the flow connects to the BT device.
On a rooted device you could also open the bluetooth settings screen of Android and simulate a click on the bluetooth device to connect to.
-action Launch App: com.android.settings/.bluetooth.BluetoothSettings
-action Sleep: 2s
-action Execute Root Command: input tap 400 1000 (x/y-coordinates)
You can find the x/y-coordinates for the tap by enabling Pointer location in Settings->Developer options.
You could also try to use the plugin Secure Settings to connect to the bluetooth device, maybe they have found a way that also works for the tab3.
Regards,
Martin
Perhaps it's a timing problem since the bluetooth adapter uses some time to turn on. Please add an action Sleep: 5s before the flow connects to the BT device.
On a rooted device you could also open the bluetooth settings screen of Android and simulate a click on the bluetooth device to connect to.
-action Launch App: com.android.settings/.bluetooth.BluetoothSettings
-action Sleep: 2s
-action Execute Root Command: input tap 400 1000 (x/y-coordinates)
You can find the x/y-coordinates for the tap by enabling Pointer location in Settings->Developer options.
You could also try to use the plugin Secure Settings to connect to the bluetooth device, maybe they have found a way that also works for the tab3.
Regards,
Martin