Template:Networking rutos manual input output: Difference between revisions
Appearance
No edit summary |
|||
| (32 intermediate revisions by 2 users not shown) | |||
| Line 7: | Line 7: | ||
}} | }} | ||
}} | }} | ||
{{#ifeq: {{{name}}}|RUT951|<b>Note:</b> Input/Output page is deprecated for <b>Active PoE</b> devices.|}} | |||
{{#ifeq: {{{ | |||
==Summary== | ==Summary== | ||
| Line 18: | Line 14: | ||
This chapter of the user manual provides an overview of the Input/Output section for {{{name}}} devices. | This chapter of the user manual provides an overview of the Input/Output section for {{{name}}} devices. | ||
==Physical characteristics and I/O pin mapping== | ==Physical characteristics and I/O pin mapping== | ||
| Line 29: | Line 21: | ||
{{Template:Networking_rutos_manual_input_output_pinout | {{Template:Networking_rutos_manual_input_output_pinout | ||
| series = {{{series}}} | | series = {{{series}}} | ||
| name = {{{name}}} | |||
| configurableio = {{{configurableio}}} | | configurableio = {{{configurableio}}} | ||
| input_volts = {{{input_volts}}} | | input_volts = {{{input_volts}}} | ||
}} | }} | ||
| Line 100: | Line 32: | ||
{{#switch: {{{name}}} | {{#switch: {{{name}}} | ||
| TRB141 = [[File:Networking_trb141_manual_input_output_status_v5.png|border|class=tlt-border]] | | TRB141 = [[File:Networking_trb141_manual_input_output_status_v5.png|border|class=tlt-border]] | ||
| RUT955|RUT956|RUT906 = [[File: | | RUTM55 = [[File:Networking rutm55 manual input output status.png|border|class=tlt-border]] | ||
| TRB245|TRB246|TRB255|TRB256 = [[File: | | RUT955|RUT956|RUT906|RUT976 = [[File:Networking_RUT955_manual_input_output_status_v5.png|border|class=tlt-border]] | ||
| [[File:Networking_{{lc:{{{series}}}}} | | TRB245|TRB246|TRB255|TRB256 = [[File:Networking_trb2_manual_input_output_status_v4.png|border|class=tlt-border]] | ||
| RUTM30|RUTM31 = [[File:Networking_rut301_manual_input_output_status_v2.png|border|class=tlt-border]] | |||
| #default = [[File:Networking_{{lc:{{{series}}}}}_manual_input_output_status_v2.png|border|class=tlt-border]] | |||
}} | }} | ||
| Line 112: | Line 46: | ||
| TRB141 = '''Note:''' When dry/wet input is not connected to anything - the state of level is undetermined. | | TRB141 = '''Note:''' When dry/wet input is not connected to anything - the state of level is undetermined. | ||
| #default =}} | | #default =}} | ||
{{#switch: {{{name}}} | {{#switch: {{{name}}}|RUT955|RUT956|RUT906|TRB245|TRB246|TRB255|TRB141|TRB256|RUT976 = | ||
| RUT955|RUT956|RUT906|TRB245|TRB246|TRB255|TRB141|TRB256 = | |||
'''Note:''' You can edit the adc/acl formula to customize values. | '''Note:''' You can edit the adc/acl formula to customize values. | ||
| Line 121: | Line 54: | ||
Custom I/O status labels for "Analog current loop": | Custom I/O status labels for "Analog current loop": | ||
[[File:Networking_manual_input_output_status_formula_acl0.png|border|class=tlt-border]] | [[File:Networking_manual_input_output_status_formula_acl0.png|border|class=tlt-border]] | ||
| #default = | | #default =}} | ||
}} | |||
===Status from command line=== | ===Status from command line=== | ||
| Line 133: | Line 65: | ||
| {{Template:Networking_{{lc:{{{series}}}}}_manual_input_output_status|name={{{name}}}}} | | {{Template:Networking_{{lc:{{{series}}}}}_manual_input_output_status|name={{{name}}}}} | ||
}} | }} | ||
| RUTM = {{#switch: {{{name}}} | RUTM30|RUTM31 = {{Template:Networking_rut301_manual_input_output_status|name={{{name}}}}} | |||
| RUTM55 = {{Template:Networking rutm55 manual input output status}} | |||
| #default = {{Template:Networking_{{lc:{{{series}}}}}_manual_input_output_status|name={{{name}}}}}}} | |||
| #default = {{Template:Networking_{{lc:{{{series}}}}}_manual_input_output_status|name={{{name}}}}} | | #default = {{Template:Networking_{{lc:{{{series}}}}}_manual_input_output_status|name={{{name}}}}} | ||
}} | }} | ||
{{#switch: {{{name}}} | {{#switch: {{{name}}} | ||
| RUT300|RUT301|RUT360|TRB245|TRB246|TRB255|TRB140|TRB141|TRB142|TRB143|TRB145|TRB256 = '''Note:''' Changes of configurable pin type from output to input (and reverse) could causes the issues where the specific type was set in configurations. Make sure that configurations do not contradict one another. | | RUT300|RUT301|RUT360|TRB245|TRB246|TRB255|TRB140|TRB141|TRB142|TRB143|TRB145|TRB256|TRB160|RUTM30|RUTM31 = '''Note:''' Changes of configurable pin type from output to input (and reverse) could causes the issues where the specific type was set in configurations. Make sure that configurations do not contradict one another. | ||
| #default = | | #default = | ||
}} | }} | ||
==Scheduler== | ==Scheduler== | ||
The output <b>Scheduler</b> can be used to configure a timetable of when an output should be turned on or off, based on days of the week or month and hours of the day. The General Configuration section is used to turn the Output Scheduler on or off. | The output <b>Scheduler</b> can be used to configure a timetable of when an output should be turned on or off, based on days of the week or month and hours of the day. The General Configuration section is used to turn the Output Scheduler on or off. | ||
<b>Note:</b> I/O Scheduler is additional software on some devices that can be installed from the <b>System → [[{{{name}}} Package Manager|Package Manager]]</b> page. | |||
[[File:Networking_rutos_manual_input_output_scheduler_general_configuration.png|border|class=tlt-border]] | [[File:Networking_rutos_manual_input_output_scheduler_general_configuration.png|border|class=tlt-border]] | ||
| Line 293: | Line 90: | ||
After this you should be redirected to the configuration page for the newly added Instance which should look similar to this: | After this you should be redirected to the configuration page for the newly added Instance which should look similar to this: | ||
[[File:Networking_rutos_manual_input_output_scheduler_instance_configuration_configurableio_{{{configurableio}}}.png|border|class=tlt-border]] | {{#ifeq:{{{name}}}|RUTM55|[[File:Networking_rutos_manual_input_output_scheduler_instance_configuration_rutm55.png|border|class=tlt-border]]|[[File:Networking_rutos_manual_input_output_scheduler_instance_configuration_configurableio_{{{configurableio}}}.png|border|class=tlt-border]]}} | ||
<table class="nd-mantable"> | <table class="nd-mantable"> | ||
| Line 306: | Line 103: | ||
<td>Turns the Scheduler Instance on or off.</td> | <td>Turns the Scheduler Instance on or off.</td> | ||
</tr> | </tr> | ||
{{#ifeq:{{{name}}}|RUTM55| | |||
<tr> | |||
<td>Pin</td> | |||
<td>Isolated Output (3,4,11) {{!}} Relay (5,13); default: Isolated Output (3,4,11) <b></b></td> | |||
<td>Pin whose output will be enabled for the selected interval.</td> | |||
</tr>| | |||
<tr> | <tr> | ||
<td>Pin</td> | <td>Pin</td> | ||
<td>output pin; default: <b>{{#ifeq:{{{configurableio}}}|1|Configurable Input/Output ( | <td>output pin; default: <b>{{#ifeq:{{{configurableio}}}|1|Configurable Input/Output (3)|Output (4)}}</b></td> | ||
<td>Output pin. The state of the selected output will be set to "High" during the time interval defined in the fields below.</td> | <td>Output pin. The state of the selected output will be set to "High" during the time interval defined in the fields below.</td> | ||
</tr> | </tr> }} | ||
<tr> | <tr> | ||
<td>Interval Type</td> | <td>Interval Type</td> | ||
| Line 503: | Line 306: | ||
Changes the state of a selected output pin. | Changes the state of a selected output pin. | ||
[[File:Networking_rutos_manual_input_output_io_juggler_actions_output_configurableio_{{{configurableio}}}.png|border|class=tlt-border]] | {{#ifeq:{{{name}}}|RUTM55|[[File:Networking_rutos_manual_input_output_io_juggler_actions_output_rutm55.png|border|class=tlt-border]]| | ||
[[File:Networking_rutos_manual_input_output_io_juggler_actions_output_configurableio_{{{configurableio}}}.png|border|class=tlt-border]]}} | |||
<table class="nd-mantable"> | <table class="nd-mantable"> | ||
| Line 518: | Line 322: | ||
<tr> | <tr> | ||
<td>Control</td> | <td>Control</td> | ||
<td>output; default: <b>{{#ifeq:{{{configurableio}}}|1|Configurable Input/Output ( | {{#ifeq:{{{name}}}|RUTM55|<td>Isolated Output (3,4,11) {{!}} Relay (5,13); default: <b>Isolated Output (3,4,11)</b></td>|<td>output; default: <b>{{#ifeq:{{{configurableio}}}|1|Configurable Input/Output (3)|Output (4)}}</b></td>}} | ||
<td>Selects the output controlled by this Action.</td> | <td>Selects the output controlled by this Action.</td> | ||
</tr> | </tr> | ||
| Line 528: | Line 332: | ||
<tr> | <tr> | ||
<td>Maintain</td> | <td>Maintain</td> | ||
<td>off | <td>off {{!}} on; default: <b>on</b></td> | ||
<td>When set to 'on', the output maintains its new state after reboot (the state is changed in the config file as well).</td> | <td>When set to 'on', the output maintains its new state after reboot (the state is changed in the config file as well).</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Invert</td> | <td>Invert</td> | ||
<td>off | <td>off {{!}} on; default: <b>off</b></td> | ||
<td>Inverts the state of the selected output, i.e., switches the output pin to a state that is opposite to its current one (high-to-low or low-to-high). This can be used instead of specifying a static state.</td> | <td>Inverts the state of the selected output, i.e., switches the output pin to a state that is opposite to its current one (high-to-low or low-to-high). This can be used instead of specifying a static state.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>State copying</td> | <td>State copying</td> | ||
<td>off | <td>off {{!}} on; default: <b>off</b></td> | ||
<td>Copies the state from the selected input and applies it to the selected output. This can be used instead of specifying a static state.</td> | <td>Copies the state from the selected input and applies it to the selected output. This can be used instead of specifying a static state.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>State</td> | <td>State</td> | ||
<td>High | <td>High {{!}} Low; default: <b>High</b></td> | ||
<td>Specifies the state of the output pin that will be set by this Action.</td> | <td>Specifies the state of the output pin that will be set by this Action.</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
}} | |||
====Type: HTTP==== | ====Type: HTTP==== | ||
| Line 715: | Line 520: | ||
| #default = [[File:Networking rutos manual input output io juggler actions mqtt_v1.png|border|class=tlt-border]] | | #default = [[File:Networking rutos manual input output io juggler actions mqtt_v1.png|border|class=tlt-border]] | ||
}} | }} | ||
<table class="nd-mantable"> | <table class="nd-mantable"> | ||
| Line 816: | Line 619: | ||
</tr> | </tr> | ||
</table> | </table> | ||
{{#ifeq: {{{dualsim}}} | 1 | | {{#ifeq: {{{dualsim}}} | 1 | | ||
| Line 930: | Line 732: | ||
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. | 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. | ||
{{#ifeq: {{{name}}} | RUTM55 | | |||
[[File:Networking rutos manual input output io juggler conditions io rutm55.png|border|class=tlt-border]] | |||
<table class="nd-mantable"> | |||
<tr> | |||
<th>Field</th> | |||
<th>Value</th> | |||
<th>Description</th> | |||
</tr> | |||
<tr> | |||
<td>I/O</td> | |||
<td>Digital Input (1) {{!}} Isolated Output (3,4,11) {{!}} Isolated Input (2,10) {{!}} Relay (5,13); default: <b>Digital Input (1)</b></td> | |||
<td>Specifies the I/O pin to which this Condition is listening to.</td> | |||
</tr> | |||
<tr> | |||
<td>State</td> | |||
<td>High {{!}} Low; default: <b>High</b></td> | |||
<td>Specifies in what state the pin has to be in in order for the Condition to be met.</td> | |||
</tr> | |||
</table> | |||
| | |||
[[File:Networking_rutos_manual_input_output_io_juggler_conditions_io_configurableio_{{{configurableio}}}.png|border|class=tlt-border]] | [[File:Networking_rutos_manual_input_output_io_juggler_conditions_io_configurableio_{{{configurableio}}}.png|border|class=tlt-border]] | ||
| Line 940: | Line 764: | ||
<tr> | <tr> | ||
<td>I/O</td> | <td>I/O</td> | ||
<td>inputs/outputs; default: <b>Output( | <td>inputs/outputs; default: <b>Output(3)</b></td> | ||
<td>Specifies the I/O pin to which this 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 | <td>High {{!}} Low; default: <b>High</b></td> | ||
<td>Specifies in what state the pin has to be in in order for the Condition to be met.</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 | | {{#ifeq: {{{analog}}} | 1 | | ||
====Condition type: Analog voltage==== | ====Condition type: Analog voltage==== | ||
| Line 984: | Line 809: | ||
</table> | </table> | ||
|}} | |}} | ||
====Condition type: Boolean group==== | ====Condition type: Boolean group==== | ||
---- | ---- | ||
| Line 1,024: | Line 850: | ||
</tr> | </tr> | ||
</table> | </table> | ||
====Condition types: Date/Time==== | ====Condition types: Date/Time==== | ||
| Line 1,057: | Line 881: | ||
</li> | </li> | ||
</ol> | </ol> | ||
==Impulse Counter== | |||
<b>Impulse Counter</b> service can register chages in the {{#ifeq: {{{configurableio}}} | 1 | `Configurable Input/Output` | `Input`}} state of a Power socket when a value is transitioned from low to high, from high to low, or both. | |||
===Configuration=== | |||
---- | |||
The <b>configuration</b> page is used to enable impulse counter and select GPIO pins for input configuration. | |||
====Impulse counter configuration==== | |||
---- | |||
[[File:Networking_rutos_manual_input_output_impulse_counter_configuration.png|border|class=tlt-border]] | |||
<table class="nd-mantable"> | |||
<tr> | |||
<th>Field</th> | |||
<th>Value</th> | |||
<th>Description</th> | |||
</tr> | |||
<tr> | |||
<td>Status</td> | |||
<td></td> | |||
<td>Status of service, whether it is currently running.</td> | |||
</tr> | |||
<tr> | |||
<td>Enabled</td> | |||
<td>off {{!}} on; default: <b>off</b></td> | |||
<td>Enable impulse counter.</td> | |||
</tr> | |||
<tr> | |||
<td>Count store duration</td> | |||
<td>Hour {{!}} Day {{!}} Week {{!}} Month; default: <b>Day</b></td> | |||
<td>Define for how long the impulse counts are retained, in seconds, before being reset.</td> | |||
</tr> | |||
<tr> | |||
<td>Reset counts</td> | |||
<td>-(interactive buttom)</td> | |||
<td>Reset collected impulse counts.</td> | |||
</tr> | |||
</table> | |||
====Input configuration==== | |||
---- | |||
A Input configuration defines which {{#ifeq: {{{configurableio}}} | 1 | `Configurable Inputs/Outputs` | `Inputs`}} will be used for impulse counting. Input configuration list is empty by default. Click the 'Add' button in order to create a new Input instance: | |||
[[File:Networking_rutos_manual_input_output_impulse_counter_input_configuration_add_v2.png|border|class=tlt-border]] | |||
You will then be taken to the configuration page for the newly added input: | |||
[[File:Networking_rutos_manual_input_output_impulse_counter_input_configuration.png|border|class=tlt-border]] | |||
<table class="nd-mantable"> | |||
<tr> | |||
<th>Field</th> | |||
<th>Value</th> | |||
<th>Description</th> | |||
</tr> | |||
<tr> | |||
<td>Enable</td> | |||
<td>off {{!}} on; default: <b>on</b></td> | |||
<td>Enable input configuration.</td> | |||
</tr> | |||
<tr> | |||
<td>Name</td> | |||
<td>string; default: <b>none</b></td> | |||
<td>Name of input configuration.</td> | |||
</tr> | |||
<tr> | |||
<td>GPIO pin</td> | |||
<td>{{#ifeq: {{{configurableio}}} | 1 | Configurable Input/Output (3) {{!}} Configurable Input/Output (4) | Input (3)}}; default: <b>{{#ifeq: {{{configurableio}}} | 1 | Configurable Input/Output (3) | Input (3)}}</b></td> | |||
<td>Select GPIO pin for input configuration.</td> | |||
</tr> | |||
<tr> | |||
<td>Edge</td> | |||
<td>Rising {{!}} Falling {{!}} Both; default: <b>Rising</b></td> | |||
<td>Select the edge option to have the impulse counter increment on the signal`s transition from low to high, high to low, or both.</td> | |||
</tr> | |||
<tr> | |||
<td>Debounce</td> | |||
<td>integer; default: <b>0</b></td> | |||
<td>Debounce filters out rapid, unintended signals. Set between 0-1000 ms to ensure only stable inputs are registered.</td> | |||
</tr> | |||
</table> | |||
===Statistics=== | |||
---- | |||
<b>Statistics</b> page displays PIN statistics in routers local time. | |||
[[File:Networking_rutos_manual_input_output_impulse_counter_statistics.png|border|class=tlt-border]] | |||
[[Category:{{{name}}} Services section]] | [[Category:{{{name}}} Services section]] | ||