Line 782: |
Line 782: |
| ===Conditions=== | | ===Conditions=== |
| ---- | | ---- |
− | The <b>Conditions</b> section lets you manage your created Conditions for I/O Juggler Actions. The figure below is an example of Conditions section. | + | The <b>Conditions</b> section is used to manage and created Conditions for I/O Juggler Actions. The figure below is an example of the Conditions section, which is empty by default. |
| | | |
− | [[File:Networking_rutx_manual_input_output_iojuggler_conditions_v1.png]] | + | [[File:Networking_rutos_manual_input_output_io_juggler_conditions.png|border|class=tlt-border]] |
| | | |
− | ====Modify condition====
| + | To create a new Condition, look to the Add a Condition section; enter a custom name, select the Type of the Condition and click the 'Add' button. |
− | ----
| |
| | | |
− | [[File:Networking_rutx_manual_input_output_iojuggler_conditions_modify_v1.png]] | + | [[File:Networking_rutos_manual_input_output_io_juggler_conditions_add_button.png|border|class=tlt-border]] |
| | | |
− | Above is an example of what condition configuration window looks like. Below is a table with detailed explanations on
| + | After this you should be redirected to the configuration page of the newly added Condition. You will find descriptions of each different Condition type described on the sections below. |
− | how to configure the condition and what each of the fields mean. To avoid redundancy, screenshots for the other conditions
| |
− | will not be provided, since the structures, syntax and the overall look of the configuration windows for each condition | |
− | are very similar. Instead, only tables containing information on how to edit each condition will be provided.
| |
| | | |
− | =====Boolean group===== | + | ====Condition type: I/O==== |
| ---- | | ---- |
− | <table class="nd-mantable">
| + | I/O Condition type tracks the state of a selected input or output pin and considers the Condition as MET if that pin is in a user-specified state. |
− | <tr>
| |
− | <th>Field</th>
| |
− | <th>Value</th>
| |
− | <th>Description</th>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>Condition type</td>
| |
− | <td>Boolean group</td>
| |
− | <td>A type of condition.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>Boolean type</td>
| |
− | <td>AND {{!}} NAND {{!}} OR {{!}} NOR; default: <b>AND</b></td>
| |
− | <td>Type of boolean condition.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>Add conditions</td>
| |
− | <td>conditions; default: <b>none</b> </td>
| |
− | <td>Specifies conditions which have to be met for action to occur. Conditions are optional.</td>
| |
− | </tr>
| |
− | </table>
| |
| | | |
| + | [[File:Networking_rutos_manual_input_output_io_juggler_conditions_io_configurableio_{{{configurableio}}}.png|border|class=tlt-border]] |
| | | |
− | =====I/O=====
| |
− | ----
| |
| <table class="nd-mantable"> | | <table class="nd-mantable"> |
| <tr> | | <tr> |
Line 829: |
Line 803: |
| <th>Value</th> | | <th>Value</th> |
| <th>Description</th> | | <th>Description</th> |
− | </tr>
| |
− | <tr>
| |
− | <td>Condition type</td>
| |
− | <td>I/O</td>
| |
− | <td>A type of condition.</td>
| |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>I/O</td> | | <td>I/O</td> |
| <td>inputs/outputs; default: <b>Output(4)</b></td> | | <td>inputs/outputs; default: <b>Output(4)</b></td> |
− | <td>Specifies the I/O to which the condition is listening to.</td> | + | <td>Specifies the I/O pin to which this Condition is listening to.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>State</td> | | <td>State</td> |
− | <td>High {{!}} Low; default: <b>High</b> </td> | + | <td>High | Low; default: <b>High</b></td> |
− | <td>Specifies in what state the pin has to be.</td> | + | <td>Specifies in what state the pin has to be in in order for the Condition to be met.</td> |
| </tr> | | </tr> |
| </table> | | </table> |
| + | {{#ifeq: {{{analog}}} | 1 | |
| + | ====Condition type: Analog voltage==== |
| + | ---- |
| + | Analog voltage Condition type measures the value of the Analog input and checks whether it inside or outside the user-specified range. |
| | | |
| + | [[File:Networking_rutos_manual_input_output_io_juggler_conditions_analog_voltage.png|border|class=tlt-border]] |
| | | |
− | {{#ifeq: {{{analog}}} | 1 |
| |
− | =====Analog voltage=====
| |
− | ----
| |
| <table class="nd-mantable"> | | <table class="nd-mantable"> |
| <tr> | | <tr> |
Line 856: |
Line 827: |
| <th>Value</th> | | <th>Value</th> |
| <th>Description</th> | | <th>Description</th> |
− | </tr>
| |
− | <tr>
| |
− | <td>Condition type</td>
| |
− | <td>Analog voltage</td>
| |
− | <td>A type of condition.</td>
| |
| </tr> | | </tr> |
| <tr> | | <tr> |
Line 884: |
Line 850: |
| </table> | | </table> |
| |}} | | |}} |
| + | ====Condition type: Boolean group==== |
| + | ---- |
| + | Boolean Group will evaluate two or more existing conditions based on selected Boolean type. A Boolean Group condition will considered as MET based on the outcome of the evaluation performed along with one of the available Boolean types: |
| | | |
| + | <ul> |
| + | <li><b>AND</b> - all selected conditions evaluate as TRUE.</li> |
| + | <li><b>NAND</b> - at least one selected condition evaluates as FALSE.</li> |
| + | <li><b>OR</b> - at least one selected condition evaluates as TRUE.</li> |
| + | <li><b>NOR</b> - none of the selected conditions evaluate as TRUE.</li> |
| + | </ul> |
| + | |
| + | [[File:Networking_rutos_manual_input_output_io_juggler_conditions_boolean_group.png|border|class=tlt-border]] |
| | | |
− | =====Minute=====
| |
− | ----
| |
| <table class="nd-mantable"> | | <table class="nd-mantable"> |
| <tr> | | <tr> |
Line 895: |
Line 870: |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td>Condition type</td> | + | <td>Boolean type</td> |
− | <td>Minute</td> | + | <td>AND | NAND | OR | NOR; default: <b>AND</b></td> |
− | <td>A type of condition.</td> | + | <td>Type of boolean condition.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td>Inverted function</td> | + | <td>Add conditions</td> |
− | <td>off {{!}} on; default: <b>off</b> </td> | + | <td>conditions; default: <b>none</b> </td> |
− | <td>Inverts the selected condition type. Makes the condition true if the time/date is outside the specified interval.</td>
| + | <td>Specifies conditions which have to be met for action to occur.</td> |
− | </tr>
| |
− | <tr>
| |
− | <td>Interval</td>
| |
− | <td><span style="color:red;">off</span> | <span style="color:blue;">on</span>; default: <b>off</b></td>
| |
− | <td>Switches between a specific value and a time interval.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><span style="color:red;">Off:</span> Minute</td>
| |
− | <td>integer [0..59]; default: <b>none</b></td>
| |
− | <td>Specifies minute at which the action can occur.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><span style="color:blue ;">On:</span> Start minute</td>
| |
− | <td>integer [0..59]; default: <b>none</b></td>
| |
− | <td>Specifies starting minute of the interval at which the action can occur.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><span style="color:blue ;">On:</span> End minute</td>
| |
− | <td>integer [0..59]; default: <b>none</b></td>
| |
− | <td>Specifies ending minute of the interval at which the action can occur.</td> | |
| </tr> | | </tr> |
| </table> | | </table> |
| | | |
− | <b>Note</b>: this table has coloring scheme to indicate which fields can be seen with different configuration.
| + | ====Condition types: Date/Time==== |
| + | ---- |
| + | Lastly, you can configure Conditions based on date and time. |
| | | |
− | =====Hour=====
| |
− | ----
| |
| <table class="nd-mantable"> | | <table class="nd-mantable"> |
| <tr> | | <tr> |
Line 935: |
Line 890: |
| <th>Value</th> | | <th>Value</th> |
| <th>Description</th> | | <th>Description</th> |
− | </tr>
| |
− | <tr>
| |
− | <td>Condition type</td>
| |
− | <td>Hour</td>
| |
− | <td>A type of condition.</td>
| |
| </tr> | | </tr> |
| <tr> | | <tr> |
Line 952: |
Line 902: |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color:red;">Off:</span> Hour</td> | + | <td><span style="color:red;">Off:</span> Minute</td> |
| <td>integer [0..59]; default: <b>none</b></td> | | <td>integer [0..59]; default: <b>none</b></td> |
− | <td>Specifies hour at which the action can occur.</td> | + | <td>Specifies minute at which the action can occur.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color:blue ;">On:</span> Start hour</td> | + | <td><span style="color:blue ;">On:</span> Start minute</td> |
| <td>integer [0..59]; default: <b>none</b></td> | | <td>integer [0..59]; default: <b>none</b></td> |
− | <td>Specifies starting hour of the interval at which the action can occur.</td> | + | <td>Specifies starting minute of the interval at which the action can occur.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color:blue ;">On:</span> End hour</td> | + | <td><span style="color:blue ;">On:</span> End minute</td> |
| <td>integer [0..59]; default: <b>none</b></td> | | <td>integer [0..59]; default: <b>none</b></td> |
− | <td>Specifies ending hour of the interval at which the action can occur.</td> | + | <td>Specifies ending minute of the interval at which the action can occur.</td> |
| </tr> | | </tr> |
| </table> | | </table> |
− |
| |
− | <b>Note</b>: this table has coloring scheme to indicate which fields can be seen with different configuration.
| |
− |
| |
− | =====Weekday=====
| |
− | ----
| |
− | <table class="nd-mantable">
| |
− | <tr>
| |
− | <th>Field</th>
| |
− | <th>Value</th>
| |
− | <th>Description</th>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>Condition type</td>
| |
− | <td>Weekday</td>
| |
− | <td>A type of condition.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>Inverted function</td>
| |
− | <td>off {{!}} on; default: <b>off</b> </td>
| |
− | <td>Inverts the selected condition type. Makes the condition true if the time/date is outside the specified interval.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>Interval</td>
| |
− | <td><span style="color:red;">off</span> | <span style="color:blue;">on</span>; default: <b>off</b></td>
| |
− | <td>Switches between a specific value and a time interval.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><span style="color:red;">Off:</span> Weekday</td>
| |
− | <td>weekday; default: <b>Monday</b></td>
| |
− | <td>Specifies weekday at which the action can occur.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><span style="color:blue ;">On:</span> Start weekday</td>
| |
− | <td>weekday; default: <b>Monday</b></td>
| |
− | <td>Specifies starting weekday of the interval at which the action can occur.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><span style="color:blue ;">On:</span> End weekday</td>
| |
− | <td>weekday; default: <b>Monday</b></td>
| |
− | <td>Specifies ending weekday of the interval at which the action can occur.</td>
| |
− | </tr>
| |
− | </table>
| |
− |
| |
− | <b>Note</b>: this table has coloring scheme to indicate which fields can be seen with different configuration.
| |
− |
| |
− | =====Month day=====
| |
− | ----
| |
− | <table class="nd-mantable">
| |
− | <tr>
| |
− | <th>Field</th>
| |
− | <th>Value</th>
| |
− | <th>Description</th>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>Condition type</td>
| |
− | <td>Month day</td>
| |
− | <td>A type of condition.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>Month override</td>
| |
− | <td>off {{!}} on; default: <b>off</b> </td>
| |
− | <td>If the option is selected and the specified day is not in the month then the condition uses the last day of the month.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>Interval</td>
| |
− | <td><span style="color:red;">off</span> | <span style="color:blue;">on</span>; default: <b>off</b></td>
| |
− | <td>Switches between a specific value and a time interval.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><span style="color:red;">Off:</span> Day of the month</td>
| |
− | <td>integer [1..31]; default: <b>none</b></td>
| |
− | <td>Specifies day of the month at which the action can occur.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><span style="color:blue ;">On:</span> Start day of the month</td>
| |
− | <td>integer [1..31]; default: <b>none</b></td>
| |
− | <td>Specifies starting day of the interval of the month at which the action can occur.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><span style="color:blue ;">On:</span> End day of the month</td>
| |
− | <td>integer [1..31]; default: <b>none</b></td>
| |
− | <td>Specifies ending day of the interval of the month at which the action can occur.</td>
| |
− | </tr>
| |
− | </table>
| |
− |
| |
− | <b>Note</b>: this table has coloring scheme to indicate which fields can be seen with different configuration.
| |
− |
| |
− | =====Year=====
| |
− | ----
| |
− | <table class="nd-mantable">
| |
− | <tr>
| |
− | <th>Field</th>
| |
− | <th>Value</th>
| |
− | <th>Description</th>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>Condition type</td>
| |
− | <td>Year</td>
| |
− | <td>A type of condition.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>Inverted function</td>
| |
− | <td>off {{!}} on; default: <b>off</b> </td>
| |
− | <td>Inverts the selected condition type. Makes the condition true if the time/date is outside the specified interval.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>Interval</td>
| |
− | <td><span style="color:red;">off</span> | <span style="color:blue;">on</span>; default: <b>off</b></td>
| |
− | <td>Switches between a specific value and a time interval.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><span style="color:red;">Off:</span> Day of the year</td>
| |
− | <td>integer [1..366]; default: <b>none</b></td>
| |
− | <td>Specifies day of the year at which the action can occur.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><span style="color:blue ;">On:</span> Start day of the year</td>
| |
− | <td>integer [1..366]; default: <b>none</b></td>
| |
− | <td>Specifies starting day of the interval of the year at which the action can occur.</td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td><span style="color:blue ;">On:</span> End day of the year</td>
| |
− | <td>integer [1..366]; default: <b>none</b></td>
| |
− | <td>Specifies ending day of the interval of the year at which the action can occur.</td>
| |
− | </tr>
| |
− | </table>
| |
− |
| |
− | <b>Note</b>: this table has coloring scheme to indicate which fields can be seen with different configuration.
| |
| | | |
| [[Category:{{{name}}} Services section]] | | [[Category:{{{name}}} Services section]] |