Bluetooth connected variable

3,695 views
Skip to first unread message

lostmedic

unread,
Sep 19, 2012, 1:11:49 AM9/19/12
to tas...@googlegroups.com
Is there a bluetooth is connected variable? I see if it is on or off, I am looking for connected to a bluetooth headset or whatever.
Thanks.

Pent

unread,
Sep 19, 2012, 1:49:19 AM9/19/12
to Tasker
You can use the BT Connected state to specify a particular device (or
devices).

Pent

lostmedic

unread,
Sep 20, 2012, 6:14:26 PM9/20/12
to tas...@googlegroups.com
I Have my phone do various things what I get home, for instance, I was hoping to run a task of shut off bluetooth if it is not connected to a headset.
Is this possible using a condition state?

Pent

unread,
Sep 21, 2012, 2:36:32 AM9/21/12
to Tasker
Define a profile to track your headset in a variable:

State: BT Connected, HEADSETADDRESS
Enter Task: Variable Set, %HeadsetConnected, 1
Exit Task: Variable Clear, %HeadsetConnected

When you want to test it do:

If %HeadsetConnected Is Set

Pent

Michael Yeager

unread,
Sep 21, 2012, 9:59:43 AM9/21/12
to tas...@googlegroups.com
I use Pent's method here for multiple profiles ands tasks. Very powerful feature that is mostly built in. I have tasks the use the say command depending on multiple conditions, one of them being bluetooth not connected.
Reply all
Reply to author
Forward
0 new messages