Page 1 of 1
Bluetooth auto off
Posted: 16 Apr 2013 01:06
by mmorisa
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
Re: Bluetooth auto off
Posted: 24 Apr 2013 12:58
by swinbsp
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.
Re: Bluetooth auto off
Posted: 24 Apr 2013 13:23
by swinbsp
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
Re: Bluetooth auto off
Posted: 24 Apr 2013 13:46
by mmorisa
Thanx for the reply. Really appreciate it.
Regards,
Morisa
Re: Bluetooth auto off
Posted: 01 May 2013 09:32
by pat2net
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
Re: Bluetooth auto off
Posted: 01 May 2013 12:59
by mmorisa
Thanx for sharing the flow(s). Will try it and see the result later.
Regards,
Morisa
Re: Bluetooth auto off
Posted: 02 May 2013 12:45
by pat2net
Don't forget to enable the flows after the import. You can also change the sleep action for more time if you wish.
Re: Bluetooth auto off
Posted: 03 May 2013 01:05
by mmorisa
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