app start by definated speed

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
Hilancoo
Posts: 4
Joined: 03 Dec 2012 12:21

app start by definated speed

Post by Hilancoo » 03 Dec 2012 12:46

Hey automagic's,

first, automagic is an realy great program! Thanks for it.

My wish:

I want to start a app - "blitzer. de" - at a pre definated speed in background and automaticaly close it when the speed degreese for adjustable time.

So can i always drive for shure without manualy staring and closing the app. 8-)

Is it possible?

Hilancoo

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: app start by definated speed

Post by Martin » 03 Dec 2012 17:44

Hi Hilancoo,

You could try to build a flow with a trigger Periodic Location Update: Update every 10s (GPS) to get a location every 10 seconds. You can then access the variable location_speed in a condition expression and check if you are moving fast enough.

A flow could look like this:
  • trigger Periodic Location Update: Update every 10s (GPS)
  • condition Expression: location_speed>8 (speed is in meters per second, multiply by 3.6 to get km/h)
  • true branch:
    • action Launch App: blitzer
  • false branch:
    • action Show Home Screen
Battery consumption by this flow will be high. Increase the time interval when possible and only enable the flow when necessary.

Martin

Hilancoo
Posts: 4
Joined: 03 Dec 2012 12:21

Re: app start by definated speed

Post by Hilancoo » 03 Dec 2012 19:33

Hi Martin,

thanks for your answer.

I will try this...

Locked