equal to wifi near?

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
Autumn-Leigh
Posts: 67
Joined: 15 Mar 2018 19:23
Location: UK
Contact:

equal to wifi near?

Post by Autumn-Leigh » 18 Mar 2018 17:05

what trigger is equal to Tasker "wifi near" Please?
YouTube Channel - https://youtu.be/fui3RO9EmNU
If anyone wants a shoutout, or has a flow they want me to do, be it theirs or a new one, let me know :)

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

Re: equal to wifi near?

Post by Desmanto » 18 Mar 2018 17:20

Trigger Wifi Scan Results Available. Your phone already periodically scan for nearby wifi. At mine, it randoms between 1-3 minutes, depends on the screen and maybe some random timer. Available SSID is stored in access_points in list type. Use access_points[0] to access the first element and etc. If you need more variable, you can add another condition wifi available and add the SSID you want to check for. This will provide you with more info (bssid, strengh, frequency etc). Add debug dialog to see what variable you can use.

PS : at newer android version and some ROM, it require the location to be enabled to get the results.
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
digitalstone
Posts: 342
Joined: 21 Oct 2017 12:36
Location: The Netherlands

Re: equal to wifi near?

Post by digitalstone » 18 Mar 2018 17:23

I can't remember Tasker all that well.
But i think you want to trigger the flow when your phone "sees" another wifi network.

If so, here's what you do:
Add the trigger "Wifi Scan Results Available", requires no configuration, but it you do need it to give it Location permission (not sure why... anyone on this?).
Also, you need to connect that trigger to an action called "Wifi Scan".

The trigger gives you the variable "access_points" which i assume would list you the SSID's of the wifi surrounding you.

This is all i know.
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)

User avatar
digitalstone
Posts: 342
Joined: 21 Oct 2017 12:36
Location: The Netherlands

Re: equal to wifi near?

Post by digitalstone » 18 Mar 2018 17:25

Oh Desmanto, i didn't see you there.
We were both at it i see :D
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)

Post Reply