Trigger: Wifi State Change

Revision as of 20:10, 4 January 2024 by JosueGd (talk | contribs) (Update)

Introduction

This trigger will fire when the wifi state changes.

Please note that since Android 8.1 this functionality requires location permission and location services enabled in order to detect connect/ disconnect events.

Available Features

Connected to network

  • Any Network
It will react to any connected Wi-Fi (SSID).
  • Select manually
Manually select one or more Wi-Fi networks (SSID) that the trigger will react to.


Disconnected from network

  • Any Network
It will react to any disconnected Wi-Fi (SSID).
  • Select manually
Manually select one or more Wi-Fi networks (SSIDs) that the activator will react to when disconnected.


Wifi disabled

It is activated when Wi-Fi is deactivated.


Wifi enabled

It is activated when WiFi is activated.


Examples

Connected to network

  • Turn off mobile data when you connect to a Wi-Fi network
Triggers

Connected to network
Any network


Actions

Mobile data OFF
* Requires adb or root hack


Constraints



Local variables



Disconnected from network

  • Turn on mobile data when you disconnect from a Wi-Fi network
Triggers

Disconnected from network
Any network


Actions

Mobile data ON
* Requires adb or root hack


Constraints



Local variables