Page 1 of 1

how do I finish this?

Posted: 03 Aug 2014 02:56
by kilometers4
I want to loop the flow on the right back to check to see if the device is connected to my home ssid. But every way I have tried drains lots of battery. Any help would be appreciated.

Re: how do I finish this?

Posted: 03 Aug 2014 21:54
by ZSasha
Not quite sure what you are trying to achieve, but just create the second flow with the trigger "WiFi Connected" or "WiFi Disconnected" - something like that.

Re: how do I finish this?

Posted: 03 Aug 2014 22:54
by kilometers4
I'm trying to get it to detect that I've left my house and turn off airplane mode without causing a wake lock the whole time.

Thank you for your response

Re: how do I finish this?

Posted: 04 Aug 2014 09:42
by sambarlick
I used to do that but then i realised automagic doesn't work that way plus as you say it drains a lot of battery.

I now have flows for entering locations like home or work and flows for leaving with a default flow for them to fall back to.

I have a separate flow to check the wifi ssid but this is triggered by a periodic timer.

Periodic timers achieve the same thing as keeping the flow alive.

Sam

Re: how do I finish this?

Posted: 04 Aug 2014 18:10
by kilometers4
sambarlick wrote:I used to do that but then i realised automagic doesn't work that way plus as you say it drains a lot of battery.

I now have flows for entering locations like home or work and flows for leaving with a default flow for them to fall back to.

I have a separate flow to check the wifi ssid but this is triggered by a periodic timer.

Periodic timers achieve the same thing as keeping the flow alive.

Sam
Could you post your flow so I could take a look?
Thanks for your response.

Re: how do I finish this?

Posted: 06 Aug 2014 14:17
by sambarlick
This flow executes when i enter my house

Re: how do I finish this?

Posted: 06 Aug 2014 14:18
by sambarlick
This flow executes when i leave the house or my ssid disconnects.