Page 1 of 1

Wifi scanning

Posted: 30 Jan 2016 20:59
by atdt911
Hello!

I'm playing with automagic and like it so far but im having a problem with setting up a profile when at home:
I would like automagic to check if im near home using cell based id (figured that out already), when near home scan for my wifi SSID,
If SSID is found, connect to AP, turn off mobile data, gps & location.
this specific flow only works if i have the "Allow wifi scanning" option enabled (5.1), I would like to turn off the option when connected to my AP but havent found a way of doing that in automagic (using the 1.30dev version, device rooted, root option enabled)
Is there something im missing or this option does not exist?
Thanks!

Update:
Found that plugin "Secure settings" can do that & currently using it but still like to know if it is possible to do it in automagic

Re: Wifi scanning

Posted: 01 Feb 2016 20:28
by Martin
Hi,

On a rooted device you can probably change this setting with action Set System Setting, Category Global, Name wifi_scan_always_enabled, Value 1 (on) or 0 (off).

Regards,
Martin

Re: Wifi scanning

Posted: 06 Feb 2016 20:34
by atdt911
Thanks for the quick reply, i overlooked that option will try it!