Network Location (Sean Williams)

Warning: Use of your own location Profiles (which may include similar contexts) will confuse or cause undesirable problems. Please backup disable/delete any similar contextual Profiles/Projects of your own during use… including previous versions of this project.

What it does:

Network Location will automatically track WiFi and mobile cell interactions throughout your day collecting and indexing all of the important data required to locate different WiFi networks enabling you to quickly and easily automate your devices while connected to or within range of different WiFi network locations. The project does this all without any user interaction. Core features include gathering WiFi network and cell data while maintaining a current and updated database of these networks and their mobile cell interactions. You can also track nearby networks that you would never connect to. The project automates the process of knowing your devices location allowing you the user to concentrate on the actions to be taken while arriving or departing these networks.

Usage examples:

  • Automatically forward a message home when near a non connectable WiFi access point at the train station.
  • At the Cinema, Toggle silent mode after entering the range of a non connectable network.
  • Set your device to aeroplane mode after connecting to the office WiFi.
  • Track your shift patterns or work hours, whether or not you can connect to the work WiFi.

Key Features:

  • Create your own actions, set variables, define locations, toggle settings etc. for each of your known networks that you connect to or are near.
  • Configures network states during Aeroplane mode.
  • Collects and manages Cell tower IDs removing duplicates and old redundant entries.
  • Supports an unlimited number of WiFi networks.
  • Provides a simple UI for users to add or remove known networks.
  • Ability to assign non connectable WiFi networks and preform actions when in range.
  • Notifications of new CELL ID & WiFi network data (optional).
  • Notifications when entering or exiting a known network (optional).
  • User adjustable network buffering for when leaving a known network.
  • Enter or exit state triggers at known networks performing your associated 'mywifi' network Task(s).
  • Scans and remembers your (connected to) WiFi networks.
  • Automatically collects and maintains a valid cell tower list providing accurate low power usage of location tracking.
  • Creates a time-stamped user log of your network interactions.
  • Several user configurable options such as debug logging and custom notification settings.
  • Project is Kid App ready, include your network tasks and export as a standalone network automation app.
  • Supports non cellular devices such as tablets.

How to use:

Its very simple - Once the Project is imported you will need to create a single Task ('or/group/task') for each WiFi network that you wish to automate. This Task will host your enter and exit actions for your known WiFi network.

  1. To do this simply clone the provided 'Template' Task and name it, 'mywifi' (where mywifi is your networks ssid).
  2. Next open this Task and insert your desired enter and exit actions in the appropriate spaces. Use the back key when exiting Tasker to save your new configuration.
  3. You can also group several known WiFi networks into one single Task. To do this name your task 'mywifi/myotherwifi/anotherwifi'.

Note, each time you wish to add automation to another known WiFi network simply repeat the above process.

To detect non connectable near networks create a shortcut on your launchers home screen linked to the Task named 'Network - Add SSID'. You can then add networks you wish to detect. Note, you must be near the non connectable network you wish to add.

No other interaction is required. Your cloned 'mywifi' task(s) will be preformed when entering or exiting their respective network.

General Guidance:

For users who turn their WiFi off. Users with devices running versions of Android below 4.3 should enable 'WiFi toggle' in the cell near context of this project. Users with devices running 4.3 or above should enable 'Scanning always available' in Androids WiFi settings, under 'Advanced'. You can improve detection of known but non connectable networks by spending more time within their vicinity. Over time more relevant cells are retained while lesser seen obsolete cells become redundant. Network priorities, known connected networks are given priority over known but non connectable networks. Non connectable networks will be activated on a first seen basis usually by strongest signal.

Receiving updates,
You can move and store your cloned Template Tasks 'mywifi' into another project tab of your choosing e.g TAB: 'My Networks'. This will make receiving updates to the project easier as you can simply delete the last project version and then import the next. However when exporting the project as an app you will need to first ensure your 'mywifi' Tasks are back inside the project tab but only if you wish them to be included within the exported app.

Detecting non connectable networks,
Detection of a known but non connectable networks will not be as instant or as accurate as a known but connectable network. Near network scanning and detection relies on Taskers 'All Checks', this can mean enter/exit triggering on an non connectable network could be slow or even in some cases missed if only within range for a brief period of time. Detection using a known but non connectable network is limited to one per network scan. More than one non connectable networks that appear within the same scan cannot both be acted upon. You should take care not to overlap non connectable networks.

App Creation:

Network Location v4+ now supports App Factory. You can now create an app from this project to install and use across all of your devices. This is useful for people with various devices who wish to automate them all in the same way but do not wish to configure Tasker on each device. To export as an app you will need App Factory installed (please refer to Taskers user guide for more information). You can export the project as an app without the need to add any additional content, however to automate your network locations you must include your own 'mywifi' Tasks within the project while exporting as an app. The project will function as it does within Tasker. To add additional automation at a new network location you must recreate the app with the new 'newmywifi' Task(s) included.

Non Cellular Devices:

Compatibility with non cellular devices, those that do not use a sim card/mobile operator. To support these devices you will need to alter some profile contexts as below.

  • Remove the 'Cell Near' context from the 'Network - Near' Profile.

Note, use of this project on non cellular devices is largely untested.

Download & Support:



Known Issues:

'%WiFiLOG' is reset when device is rebooted (Tasker null value issue).

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License