I've a flow which will schedule to switch on the wifi periodically and download some files during the screen is off.
1. Time tigger the flow
2. Switch Wifi State to On
3. Sleep 1m (allow sleep)
4. Check if Wifi connected to any SSID
5. Download files if connected
However, the condition that checking ssid always return false and therefore it won't run the 5th step.
If I screen on and execute the flow manually, it doesn't have any problems and it can connect to the wifi and run to the end of the flow.
Is it impossible to switch on the wifi and connect to any ssid when the mobile is sleeping or screen off?
Schedule wifi on when the screen is off
Moderator: Martin
Re: Schedule wifi on when the screen is off
Maybe you have set your wifi sleep policy to automatically disable wifi when the screen is off?
Re: Schedule wifi on when the screen is off
That's true, I was having the same problem with wifi automation because of my wifi settimg. If you want to change the setting try to run this flow and put the wifi settimg to never then you can control yourself the wifi setting with automagic.
http://automagic4android.com/flow.php?i ... 5f46809e29
http://automagic4android.com/flow.php?i ... 5f46809e29