I am using the condition “WiFi Connected” which return TRUE. So I have a WiFi connection. Or do I? The ssid value returned is often “<unknown ssid>”. I am trying to match {ssid} with my home network. Is there a work-around for this problem? How can Wifi be connected to unknown ssid?
Thanks
Mis-connected to WiFi?
Moderator: Martin
Re: Mis-connected to WiFi?
What android version that has this problem? If it is Oreo, most likely it is because the location feature is turned off. Google has put up restriction that in order for an app to get wifi information, it must have been granted location permission and location feature is currently on (battery saving mode also no problem).
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Mis-connected to WiFi?
Yes this is Oreo. Location is on so that is not a possible explanation for what's going on. Just to be clear I have battery saving on for location. Any other ideas?
Re: Mis-connected to WiFi?
Do you check all SSID list? Or you filter for your ssid name? While connected to you home wifi, try to check all first, the use debug dialog, see the value of the {ssid}. Then copy that ssid value, uncheck the All, paste that value. Check again in debug dialog.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Mis-connected to WiFi?
Also ensure that Automagic has the location permission granted otherwise the system hides the SSID sometimes when Automagic is running in the background.