Changes

Clarified some minor points
Line 1: Line 1: −
<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;">The Wifi/cell tower signal strength (written as [wifi_strength] and [cell_signal_strength]) can be used for example to determine the distance between you and the tower/router (this can vary depending on the thickness of walls and other various factors).
+
<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;">The Wifi/Cell tower signal strength (written as [wifi_strength] and [cell_signal_strength]) can be used for example to determine the strength of the signal between your device and the router/tower (this can vary depending on the thickness of walls, the distance to the router/tower and several other various factors).
 
The scale of these values can be confusing : they range from -127 to 0 which might not be obvious on how to use.
 
The scale of these values can be confusing : they range from -127 to 0 which might not be obvious on how to use.
 
The better the strength, the  
 
The better the strength, the  
 
closer you will be to 0 the weaker the strength the closer you will be to -127: if you are standing next to the source, you'd typically be around -35. If you have a weak connection to a cell tower, you'd get around -110 to -115.
 
closer you will be to 0 the weaker the strength the closer you will be to -127: if you are standing next to the source, you'd typically be around -35. If you have a weak connection to a cell tower, you'd get around -110 to -115.
 
-127 means you are not connected to the source you are trying to measure. 2147483647 means the magic text broke for some reason..</pre>
 
-127 means you are not connected to the source you are trying to measure. 2147483647 means the magic text broke for some reason..</pre>
 +
<br>
 +
'''Example Usage'''<br/>
 +
 +
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 +
Triggers
 +
Regular interval (Interval: 00:00:30)
 +
 +
</pre><br>
 +
<p style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px; font-family: 'Courier New', monospace; white-space: pre-wrap;">Actions
 +
IF (compare values([wifi_strength] < -80))
 +
  Connect  to network (wifi1)
 +
      <span style="background-color: green;">Wifi connected (wifi2)</span>
 +
  Connect to network (wifi2)
 +
      <span style="background-color: green;">Wifi connected (wifi1)</span>
 +
End if
 +
</p><br>
 +
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
 +
Constraints
 +
Geofence (Inside area : home)
 +
 +
</pre><br>
 +
<pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;">
 +
Local variables
 +
No variables
 +
 +
</pre><br>
editors
59

edits