Changes

no edit summary
Line 72: Line 72:  
==Input==
 
==Input==
    +
The <b>Input</b> section displays existing input rules. However, by default the list is empty:
 +
 +
[[File:{{{file_input_rules}}}]]
 +
----
 +
To add a new input rule, click the "Add" button. After this you will be redirected to the rule's configuration page:
 +
 +
[[File:{{{file_input_configuration}}}]]
      −
[[File:{{{file_input_rules}}}]]
+
<table class="nd-mantable">
 +
    <tr>
 +
        <th>Field</th>
 +
      <th>Value</th>
 +
      <th>Description</th>
 +
    </tr>
 +
    <tr>
 +
        <td>Enable</td>
 +
        <td>off | on; default: <b>off</b></td>
 +
        <td>Turns the rule on or off.</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Input pin</td>
 +
        <td>Digital input (pin1); default: <b>Digital input (pin1)</b></td>
 +
        <td>Selects to which input pin the rule will apply.</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Trigger</td>
 +
        <td>Input open | Input shorted | Both; default: <b>Input open</b></td>
 +
        <td>Selects which input state triggers the rule.</td>
 +
    </tr>
 +
    <tr>
 +
        <td>Action</td>
 +
        <td>Send SMS | Change profile | Reboot | Activate output; default: <b>Send SMS</b></td>
 +
        <td>The action that will be taken when the rule is triggered:
 +
            <ul>
 +
                <li><b>Send SMS</b> - sends an SMS message with user specified text to the specified recipient(s).</li>
 +
                <li><b>Change profile</b> - switches to another configuration profile. At least one configuration profile has to be created before this can be used. You can create configuration profiles from the System → [[{{{name}}} Profiles|Profiles]] page.</li>
 +
                <li><b>Reboot</b> - reboots the device when a specified amount of time passes after the trigger.</li>
 +
                <li><b>Activate output</b> - activates the output. This can be done in three ways:
 +
                    <ul>
 +
                        <li><i>Seconds</i> - activates the output for a specified amount of time.</li>
 +
                        <li><i>While exists</i> - activates the output while the specified trigger still exists.</li>
 +
                        <li><i>Delayed action</i> - activates the output when a specified amount of time passes after the trigger; deactivates the output when the trigger stops and specified amount of time passes.</li>
 +
                    </ul>
 +
                </li>
 +
            </ul>
 +
        </td>
 +
    </tr>
 +
</table>
    
==Output==
 
==Output==

Navigation menu