Changes

Update
Line 1: Line 1: −
<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;">
+
== Introduction ==
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
This trigger will fire when the wifi state changes.
 
This trigger will fire when the wifi state changes.
   −
You can configure it to fire
+
Please note that since Android 8.1 this functionality requires location permission and location services enabled in order to detect connect/ disconnect events.
 +
</pre>
 +
 
 +
==<p><b>Available Features </b></p>==
 +
 
 +
=== Connected to network ===
 +
* ''''' Any Network '''''
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
It will react to any connected Wi-Fi (SSID).
 +
</pre>
   −
when wifi is enabled or disabled, or when connected to/disconnected from a specific network.
+
* ''''' Select manually '''''
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
Manually select one or more Wi-Fi networks (SSID) that the trigger will react to.
 +
</pre><br>
   −
Please note that since Android 8.1 this functionality requires location permission and location services enabled in order to detect connect/ disconnect events.
+
=== Disconnected from network ===
 +
* ''''' Any Network '''''
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
It will react to any disconnected Wi-Fi (SSID).
 
</pre>
 
</pre>
<br>
  −
'''Example Usage'''<br/>
      +
* ''''' Select manually '''''
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
Manually select one or more Wi-Fi networks (SSIDs) that the activator will react to when disconnected.
 +
</pre><br>
 +
 +
=== Wifi disabled ===
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
It is activated when Wi-Fi is deactivated.
 +
</pre><br>
 +
 +
=== Wifi enabled ===
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
It is activated when WiFi is activated.
 +
</pre><br>
 +
 +
==<p><b>Examples</b></p>==
 +
 +
=== Connected to network ===
 +
* ''''' Turn off mobile data when you connect to a Wi-Fi network '''''
 
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 
Triggers
 
Triggers
 +
 +
Connected to network
 +
Any network
 +
</pre><br>
 +
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 +
Actions
 +
 +
Mobile data OFF
 +
* Requires adb or root hack
 +
</pre><br>
 +
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
 +
Constraints
 +
 +
 +
</pre><br>
 +
<pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;">
 +
Local variables
       +
</pre><br>
 +
 +
=== Disconnected from network ===
 +
* ''''' Turn on mobile data when you disconnect from a Wi-Fi network '''''
 +
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 +
Triggers
 +
 +
Disconnected from network
 +
Any network
 
</pre><br>
 
</pre><br>
 
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
Actions
   −
 
+
Mobile data ON
 +
* Requires adb or root hack
 
</pre><br>
 
</pre><br>
 
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
editors
1,590

edits