Mis-connected to WiFi?

Post your questions and help other users.

Moderator: Martin

Post Reply
Econdoc
Posts: 153
Joined: 28 May 2016 20:06

Mis-connected to WiFi?

Post by Econdoc » 21 Sep 2018 12:23

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

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Mis-connected to WiFi?

Post by Desmanto » 21 Sep 2018 16:09

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.

Econdoc
Posts: 153
Joined: 28 May 2016 20:06

Re: Mis-connected to WiFi?

Post by Econdoc » 21 Sep 2018 17:06

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?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Mis-connected to WiFi?

Post by Desmanto » 22 Sep 2018 05:24

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.

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

Re: Mis-connected to WiFi?

Post by Martin » 26 Sep 2018 18:53

Also ensure that Automagic has the location permission granted otherwise the system hides the SSID sometimes when Automagic is running in the background.

Post Reply