Ich möchte das eine App 1 minute nach der bluetooth verbindung in meinem Auto started, aber nicht wenn diese bluetooth verbindung vor ablauf getrennt wird.
Mit der "pause" funktion klappt das nicht, da der flow weiterläuft
I would like to get an app started 1 minute after I get a bluetooth connection in my car. But if the connection is disabled before this minute ends, I want the app not started.
I have the trigger "Bluetooth Device Connected" with the action "sleep" (1 minute), and the action "Launch App".
This is not what I want, because even is the trigger is disabled, my flow continues and the app starts.
Any advice what I can do?
Thanks a lot
Time delay question - Frage zur Zeiteverzögerung
Moderator: Martin
Re: Time delay question - Frage zur Zeiteverzögerung
ich seh da zwei Möglichkeiten: aufbauend auf deinen bisherigen flow könntest du am Ende der Pause nochmal testen, ob noch verbunden ist, und nur dann die app starten, wenn das der Fall ist. Alternativ den connect Event dafür benutzen, einen anderen flow zu starten, welcher erst pausiert, dann die app startet, und mittels disconnect Event den (laufenden und pausierenden) flow wieder abbricht (flows stoppen heißt die Aktion glaub ich).
Bzw deinen momentanen flow mittels selber Aktion stoppen im Falle von bluetooth disconnect.
Bzw deinen momentanen flow mittels selber Aktion stoppen im Falle von bluetooth disconnect.
Re: Time delay question - Frage zur Zeiteverzögerung
I have similar flow for disabling wifi when not connected. When I enable wifi or it loses connection, the flow checks if the connection is established (again) within preset time period. If the wifi doesn't get connected, the flow disables it.
You can use similar looping check in your flow.
http://automagic4android.com/flow.php?i ... 98c9ada095
You can use similar looping check in your flow.
http://automagic4android.com/flow.php?i ... 98c9ada095
-
- Posts: 2
- Joined: 25 Oct 2014 08:40
Re: Time delay question - Frage zur Zeiteverzögerung
Hello and thanks for the help.
Bushmills advice worked perfect. I added the condition "bluetooth connected" (yes) after the action "sleep" (1 minute). Now it works perfect.
Danke und thanks
Bushmills advice worked perfect. I added the condition "bluetooth connected" (yes) after the action "sleep" (1 minute). Now it works perfect.
Danke und thanks