Bluetooth on and off -> one or two Flows

Post your questions and help other users.

Moderator: Martin

Post Reply
hermann1514
Posts: 3
Joined: 10 Nov 2016 12:12

Bluetooth on and off -> one or two Flows

Post by hermann1514 » 19 Jan 2017 14:18

I have times a general question to Automagic: I would like to turn on Bluetooth at a certain time and turn off at a certain time again.
Do I have to create 2 flows for it?
Or does it work with a flow?

At Tasker there was something like "END TASK" - there could be an action again.

Thx.

Regards
Hermann

User avatar
Scotty
Posts: 78
Joined: 26 Aug 2016 20:29
Location: Southern California

Re: Bluetooth on and off -> one or two Flows

Post by Scotty » 19 Jan 2017 15:47

I'd use two flows, one on & one off. But if you really want to have just one flow, I suppose you could use the Sleep action. For example, if you wanted BT on at 8AM, and off at 5PM, you could have a single flow that turns it on at 8, then sleeps for 9 hours (UNcheck the "keep device awake") and then turns BT off. I'm not sure about (i) the impact on battery of having a flow "running" for 9 hours (probably minimal, because you have unchecked the device awake setting); and (ii) the accuracy of the long sleep (would it turn BT off at exactly 5PM, or only somewhere close to that time?)

ewill
Posts: 67
Joined: 20 Jul 2015 16:42

Re: Bluetooth on and off -> one or two Flows

Post by ewill » 20 Jan 2017 18:02

For that type of thing I have used a single flow. I prefer to have similar functions contained in a single flow for organizational purposes.

What I do is have both triggers - followed by a "Expression" type condition with an expression of:
contains("{trigger}", "blah")
were blah is some text that is unique to one of the triggers but not the other.

It is really a matter of user preference.

Post Reply