Page 1 of 1

Please help with Location Based WiFi On/Off

Posted: 30 Oct 2018 03:25
by lelebo
Hi guys, I'm using Automagic Premium mainly just to automate my Wifi. So when I'm home, it should turn on my wifi and turn it off when I leave home. I'm using the Location Based WiFi On/Off from the catalog and it worked fine, until I update the phone (OTA).

Now it's not working anymore. I tried uninstall and reinstall Automagic, delete and recreate the Flow but still no luck.

But if I execute the flow manually, it works. Which means the flow is correct, right?

I'm using Xiaomi Redmi Note 3, with Android version 6.0.1. Please help. Thanks!

Re: Please help with Location Based WiFi On/Off

Posted: 30 Oct 2018 08:06
by Helios
Hi,

how do you detect your location? Which location mode do you use?
If it is Energy Saving, only Wifi is used to locate you. Thus once you turn off Wifi, you location cannot be gathered anymore.

Re: Please help with Location Based WiFi On/Off

Posted: 30 Oct 2018 08:58
by lelebo
Helios wrote:Hi,

how do you detect your location? Which location mode to you use?
If it is Energy Saving, only Wifi is used to locate you. Thus once you turn off Wifi, you location cannot be gathered anymore.
Hi, I'm using the flow from Catalog. The Periodic Location Update is Network every 5m.

Thanks

Re: Please help with Location Based WiFi On/Off

Posted: 31 Oct 2018 01:42
by Desmanto
Try to check automagic's permission. Make sure every permission is granted, especially location and exclude from battery optimization. Check the log for when it is working and when not working. As pointed by Helios, newer android version require wifi to be on so the location feature can work. (forget since which version)

Re: Please help with Location Based WiFi On/Off

Posted: 01 Nov 2018 09:34
by lelebo
Desmanto wrote:Try to check automagic's permission. Make sure every permission is granted, especially location and exclude from battery optimization. Check the log for when it is working and when not working. As pointed by Helios, newer android version require wifi to be on so the location feature can work. (forget since which version)
Thank you very much. I checked the log and it turns out Automagic can't detect my location even though the location access permission was already granted. I had to disable the permission and re-enable it and now it's working.