Changes

no edit summary
Line 34: Line 34:  
</ul>
 
</ul>
   −
==Monitoring router parameters==
+
==Creating rules==
   −
==Setting router parameters==
+
For this example, we'll create a rule that turns the router's relay output ON when the signal strength fall below -70 dBm.
 +
----
 +
<ul>
 +
    <li>Login to the router's WebUI and go to the <b>Services → Telenor MQTT</b> page. Check the <b>Receive messages</b> field and come up with a custom <b>Setting Value</b>:<br>[[File:Telenor 12.png]]</li>
 +
----
 +
    <li>Login to your Telenor account. Click the <b>Settings</b> button located on the top-right side of the screen, next to your account name. Select the <b>Rules</b> box in the menu on the left and click <b>+ New Rule</b>:<br>[[File:Telenor 7.png]]</li>
 +
----
 +
    <li>Name and describe your rule, select your Domain and the Thing Type to which the rule will be assigned. Click Next to continue:<br>[[File:Telenor 8.png]]</li>
 +
----
 +
    <li>The <b>When</b>, <b>And</b> and <b>Then</b> sections indicate the conditions under which a certain specified action will occur. When you have set these conditions, Click Next to continue:<br>[[File:Telenor 9.png]]</li>
 +
----
 +
    <li>Add a <b>New Action</b>. Specify it to <b>Set resource</b> and enter the setting and its value to change (for our example this will be <b>relay</b> set to <b>1</b>). Click Add to create the rule:<br>[[File:Telenor 10.png]]</li>
 +
----
 +
    <li>The rule will appear in the Rules table. Make sure it is turned ON ([[File:Telenor switch.png|20px]]):<br>[[File:Telenor 11.png]]</li>
 +
</ul>

Navigation menu