Bluetooth auto off

Post your questions and help other users.

Moderator: Martin

Post Reply
mmorisa
Posts: 4
Joined: 14 Apr 2013 16:10

Bluetooth auto off

Post by mmorisa » 16 Apr 2013 01:06

Hi Martin,

I have purchased your app and really liked it. However, there is one simple thing that I would like to do/automagic it but fail to do so.
Can you please assist me in doing this task;
I want my bluetooth to auto-off in a minute upon lastcconnection and while waiting for that 1 minute to lapse, shall there be any new connection, the auto task shall be cancelled. I just cannot find my way in doing it.
Frankly speaking, this feat is easily done in one of the competitor's app.

Regards,
Morisa

swinbsp
Posts: 4
Joined: 24 Apr 2013 12:42

Re: Bluetooth auto off

Post by swinbsp » 24 Apr 2013 12:58

I have the same requrement. AutomateIt has a cancel function, which is the facility you need.

I have acheived this but it was a little harder. I have set up 2 workflows.
1) Trigger - Bluetooth Device Connected
- Do the stuff you want when you connect to your handsfree etc
- set a global variable global_handsfree_connected = true
2) Trigger - Bluetooth Device Disconnected
- Do the stuff yo want when disconnected
- Sleep 1m
- condition global_handsfree_connected ?
True
- Do Nothing
False
- global_handsfree_connected = False
- Disable Bluetooth

I also plug my phone into power when I use in the car. I set up another workflow for
3) Trigger - Power Connected
- Condition Time when generally commute?
True
- Bluetooth On
This with then connect to my handsfree automatically.

swinbsp
Posts: 4
Joined: 24 Apr 2013 12:42

Re: Bluetooth auto off

Post by swinbsp » 24 Apr 2013 13:23

I have published my flows as I did not quite describe it right when I posted, as I did it from memory.
you need to set as disconnected straight away, if reconnects whilst sleeping the global will be reset to connected by the connection flow

http://automagic4android.com/flow.php?i ... dcf2231f6c

mmorisa
Posts: 4
Joined: 14 Apr 2013 16:10

Re: Bluetooth auto off

Post by mmorisa » 24 Apr 2013 13:46

Thanx for the reply. Really appreciate it.

Regards,
Morisa

pat2net
Posts: 85
Joined: 01 May 2013 09:18

Re: Bluetooth auto off

Post by pat2net » 01 May 2013 09:32

The flows propose here was not what i need so i made new flows to do the same as automateit. It work great for me.

http://automagic4android.com/flow.php?i ... b21ad97823

mmorisa
Posts: 4
Joined: 14 Apr 2013 16:10

Re: Bluetooth auto off

Post by mmorisa » 01 May 2013 12:59

Thanx for sharing the flow(s). Will try it and see the result later.

Regards,
Morisa

pat2net
Posts: 85
Joined: 01 May 2013 09:18

Re: Bluetooth auto off

Post by pat2net » 02 May 2013 12:45

Don't forget to enable the flows after the import. You can also change the sleep action for more time if you wish.

mmorisa
Posts: 4
Joined: 14 Apr 2013 16:10

Re: Bluetooth auto off

Post by mmorisa » 03 May 2013 01:05

pat2net wrote:Don't forget to enable the flows after the import. You can also change the sleep action for more time if you wish.
Hi there,
Thanx for the tips and yes, it is working. I did change the timing to 1minute to suit my previous need.

Once again,
Thanx for the flows.

Regards,
Morisa

Post Reply