Changes

m
no edit summary
Line 1: Line 1: −
== Introduction ==
+
<span style="color: #B22A2A; font-size: 24px; display: inline-block; margin-top: 15px; margin-bottom: 0px;"><strong>About this trigger</strong></span>
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
 
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px; margin-top: 5px; margin-bottom: 5px;">
 
This trigger will fire when the wifi state changes.
 
This trigger will fire when the wifi state changes.
    +
</pre>
 +
 +
<pre style="background-color: #FFFF99; color: #112A46; border-radius: 10px; padding: 10px; margin-top: 5px; margin-bottom: 5px;">
 
Please note that since Android 8.1 this functionality requires location permission and location services enabled in order to detect connect/ disconnect events.
 
Please note that since Android 8.1 this functionality requires location permission and location services enabled in order to detect connect/ disconnect events.
 
</pre>
 
</pre>
   −
==<p><b>Available Features </b></p>==
+
<span style="color: #B22A2A; font-size: 18px; display: inline-block; margin-top: 15px; margin-bottom: 15px;"><strong>Available Features</strong></span>
 
  −
=== 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>
     −
* ''''' Select manually '''''
+
* '''Connected to network '''
<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>
     −
=== Disconnected from network ===
+
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px; margin-top: 5px; margin-bottom: 5px;">
* ''''' Any Network '''''
+
* Any Network
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
* Select manually
It will react to any disconnected Wi-Fi (SSID).
+
* Add SSID
 
</pre>
 
</pre>
   −
* ''''' Select manually '''''
+
* '''Disconnected from network'''
<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;">
  −
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 style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
  −
Actions
  −
 
  −
Mobile data ON
  −
* 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>
+
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px; margin-top: 5px; margin-bottom: 5px;">
 +
* Any Network
 +
* Select manually
 +
* Add SSID
 +
</pre><br/>
 +
* '''Wifi disabled'''
 +
<br/>
 +
* '''Wifi enabled'''
editors
1,599

edits