Trigger: Wifi SSID Transition
This trigger will fire when a particular wifi network goes in or out of range. It monitors for wifi networks by SSID and can trigger macros when your device enters or leaves the coverage area of specific networks.
Options
- In Range: Trigger when the selected wifi network(s) become visible in a scan
- Out of Range: Trigger when the selected wifi network(s) are no longer visible in a scan
Network Selection
- Select from a list of nearby wifi networks detected during scanning
- Choose from previously configured wifi networks on your device
- Manually enter an SSID name using the Add button
- Multiple networks can be selected to trigger on any of them
- Networks can be identified by SSID only or by SSID+BSSID for specific access points
Background Scanning
The trigger uses periodic wifi scans to detect network availability. The scan rate can be configured in MacroDroid settings. A value of 0 disables background scanning.
Requirements
- Location Permission: ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION permissions are required
- Location Services: On Android 6.0 (Marshmallow) and above, location services must be enabled for wifi scanning to work
- Wifi Enabled: Wifi must be enabled to perform network scans
- Helper App: On Android 10+ some features may require the MacroDroid Connectivity Helper or Universal Helper app
Examples
Triggers Wifi SSID Transition (In Range: Home_Network)
Actions Notification: Welcome Home Set Volume - Ringer: 100%
Detect arrival home when the home wifi network comes into range.
Triggers Wifi SSID Transition (Out of Range: Work_Wifi)
Actions Set Variable: [at_work] = false Disable Do Not Disturb
Constraints Day of Week: Monday, Tuesday, Wednesday, Thursday, Friday
Detect leaving work when the work wifi network goes out of range.
Notes
- On Android 6.0 (Marshmallow) and above, location services must remain enabled on your device for this trigger to function. A warning dialog is displayed when configuring this trigger.
- The trigger requires wifi to be enabled to perform scans. If wifi is disabled when configuring, you will be prompted to enable it.
- Background scan frequency affects battery life - less frequent scans use less battery but may have delayed detection.
- Multiple SSIDs can be selected, allowing the trigger to fire when any of the selected networks comes in or goes out of range.
- For more precise detection, you can select specific access points by BSSID in addition to SSID.
See Also