Line 106: |
Line 106: |
| | | |
| You can invert an Input pin by clicking the on/off slider under the "Inversion" column or switch the state of an Output pin by clicking the on/off slider under the "State" column. | | You can invert an Input pin by clicking the on/off slider under the "Inversion" column or switch the state of an Output pin by clicking the on/off slider under the "State" column. |
| + | |
| + | User can <b> Rename </b> Input/Output interface by clicking on the "Edit" button. |
| | | |
| {{#switch: {{{name}}} | | {{#switch: {{{name}}} |
Line 193: |
Line 195: |
| <th style="width: 900px">POST/GET URL</th> | | <th style="width: 900px">POST/GET URL</th> |
| </tr> | | </tr> |
− | {{#ifeq:{{{configurableio}}}|1|
| + | |
| <tr> | | <tr> |
| <td>Turn Output state to high</td> <!-- another ifeq to change ip subnet according to trb14x... --> | | <td>Turn Output state to high</td> <!-- another ifeq to change ip subnet according to trb14x... --> |
− | <td><nowiki>http://192.168.</nowiki>{{#switch:{{{series}}}|TRB1|TRB5=2|#default=1}}.1/cgi-bin/<span style="color: #0054a6;"><b>io_state</b></span><nowiki>?username=user1&password=user1&pin=</nowiki>{{#ifeq:{{{series}}}|RUTX|dout1|dio1}}<span style="color: #0054a6;"><b><nowiki>&state=on</nowiki></b></span></td> | + | <td><nowiki>http://192.168.</nowiki>{{#switch:{{{series}}}|TRB1|TRB5=2|#default=1}}.1/cgi-bin/<span style="color: #0054a6;"><b>io_state</b></span><nowiki>?username=user1&password=user1&pin=</nowiki>{{#ifeq:{{{series}}}|RUTX|dout1|<dio0/dio1{{#switch:{{{series}}}|TRB2|TRB2M=/dio2}}>}}<span style="color: #0054a6;"><b><nowiki>&state=on</nowiki></b></span></td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>Turn Output state to low after 5 seconds for 3 seconds</td> | | <td>Turn Output state to low after 5 seconds for 3 seconds</td> |
− | <td><nowiki>http://192.168.</nowiki>{{#switch:{{{series}}}|TRB1|TRB5=2|#default=1}}.1/cgi-bin/<span style="color: #0054a6;"><b>io_state</b></span><nowiki>?username=user1&password=user1&pin=</nowiki>{{#ifeq:{{{series}}}|RUTX|dout1|dio1}}&state=on<span style="color: #0054a6;"><b><nowiki>&delay=5</nowiki></b></span><span style="color: #3232ff;"><b><nowiki>&time=3</nowiki></b></span></td> | + | <td><nowiki>http://192.168.</nowiki>{{#switch:{{{series}}}|TRB1|TRB5=2|#default=1}}.1/cgi-bin/<span style="color: #0054a6;"><b>io_state</b></span><nowiki>?username=user1&password=user1&pin=</nowiki>{{#ifeq:{{{series}}}|RUTX|dout1|<dio0/dio1{{#switch:{{{series}}}|TRB2|TRB2M=/dio2}}>}}&state=on<span style="color: #0054a6;"><b><nowiki>&delay=5</nowiki></b></span><span style="color: #3232ff;"><b><nowiki>&time=3</nowiki></b></span></td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td>Change Configurable Input/Output with pin3 to Output</td> | + | <td>Check t_time parameter - time is set in miliseconds</td> |
− | <td><nowiki>http://192.168.</nowiki>{{#switch:{{{series}}}|TRB1|TRB5=2|#default=1}}.1/cgi-bin/<span style="color: #0054a6;"><b>io_type</b></span><nowiki>?username=user1&password=user1&</nowiki><span style="color: #0054a6;"><b>pin=dio0</b></span><span style="color: #3232ff;"><b><nowiki>&type=out</nowiki></b></span></td> | + | <td><nowiki>http://192.168.</nowiki>{{#switch:{{{series}}}|TRB1|TRB5=2|#default=1}}.1/cgi-bin/<span style="color: #0054a6;"><b>io_state</b></span><nowiki>?username=user1&password=user1&pin=</nowiki>{{#ifeq:{{{series}}}|RUTX|dout1|<dio0/dio1{{#switch:{{{series}}}|TRB2|TRB2M=/dio2}}>}}&state=on<span style="color: #0054a6;"><b><nowiki>&t_time=msec</nowiki></b></span><span style="color: #3232ff;"><b><nowiki>&time=5000</nowiki></b></span><span style="color: #3232ff;"><b><nowiki>&time=1000</nowiki></b></span></td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td>Invert configurable input</td>
| + | <td>Invert input</td> |
− | <td><nowiki>http://192.168.</nowiki>{{#switch:{{{series}}}|TRB1|TRB5=2|#default=1}}.1/cgi-bin/io_invert?username=user1&password=user1&pin=<dio0/dio1{{#switch:{{{series}}}|TRB2|TRB2M=/dio2}}><span style="color: #0054a6;"><b><nowiki>&invert=<0/1> (0 - disable inversion/1 - enable inversion</nowiki></b></span></td>
| + | <td><nowiki>http://192.168.</nowiki>{{#switch:{{{series}}}|TRB1|TRB5=2|#default=1}}.1/cgi-bin/io_invert?username=user1&password=user1&pin={{#ifeq:{{{series}}}|RUTX|din1|<dio0/dio1{{#switch:{{{series}}}|TRB2|TRB2M=/dio2}}>}}<span style="color: #0054a6;"><b><nowiki>&invert=<0/1> (0 - disable inversion/1 - enable inversion</nowiki></b></span></td> |
| </tr> | | </tr> |
− | | | + | {{#ifeq:{{{configurableio}}}|1| |
| <tr> | | <tr> |
− | <td>Turn Output state to high</td>
| + | <td>Change Configurable Input/Output with pin3 to Output</td> |
− | <td><nowiki>http://192.168.</nowiki>{{#switch:{{{series}}}|TRB1|TRB5=2|#default=1}}.1/cgi-bin/io_state?username=user1&password=user1&pin=dout1<span style="color: #0054a6;"><b><nowiki>&state=on</nowiki></b></span></td>
| + | <td><nowiki>http://192.168.</nowiki>{{#switch:{{{series}}}|TRB1|TRB5=2|#default=1}}.1/cgi-bin/<span style="color: #0054a6;"><b>io_type</b></span><nowiki>?username=user1&password=user1&</nowiki><span style="color: #0054a6;"><b>pin=dio0</b></span><span style="color: #3232ff;"><b><nowiki>&type=out</nowiki></b></span></td> |
| </tr> | | </tr> |
− | <tr>
| + | ||}} |
− | <td>Turn Output state to low after 5 seconds for 3 seconds</td>
| + | |
− | <td><nowiki>http://192.168.</nowiki>{{#switch:{{{series}}}|TRB1|TRB5=2|#default=1}}.1/cgi-bin/io_state?username=user1&password=user1&pin=dout1&state=on<span style="color: #0054a6;"><b><nowiki>&delay=5</nowiki></b></span><span style="color: #3232ff;"><b><nowiki>&time=3</nowiki></b></span></td>
| |
− | </tr>
| |
− | <tr>
| |
− | <td>Invert input</td>
| |
− | <td><nowiki>http://192.168.</nowiki>{{#switch:{{{series}}}|TRB1|TRB5=2|#default=1}}.1/cgi-bin/io_invert?username=user1&password=user1&pin=din1<span style="color: #0054a6;"><b><nowiki>&invert=<0/1> (0 - disable inversion/1 - enable inversion</nowiki></b></span></td>
| |
− | </tr>
| |
− | }}
| |
| </table> | | </table> |
| | | |
Line 461: |
Line 456: |
| {{#switch: {{{name}}} | | {{#switch: {{{name}}} |
| | RUTX12| RUTM12 = [[File:Networking rutos manual input output io juggler actions email rutx12 v2.png|border|class=tlt-border]] | | | RUTX12| RUTM12 = [[File:Networking rutos manual input output io juggler actions email rutx12 v2.png|border|class=tlt-border]] |
| + | | RUTX10 = [[File:Networking_rutos_manual_input_output_io_juggler_actions_email_rutx10_v2.png|border|class=tlt-border]] |
| | #default = [[File:Networking rutos manual input output io juggler actions email v2.png|border|class=tlt-border]] | | | #default = [[File:Networking rutos manual input output io juggler actions email v2.png|border|class=tlt-border]] |
| }} | | }} |
Line 610: |
Line 606: |
| Executes a custom, user-written shell script. | | Executes a custom, user-written shell script. |
| | | |
− | [[File:Networking_rutos_manual_input_output_io_juggler_actions_script.png|border|class=tlt-border]] | + | {{#switch: {{{name}}} |
| + | | RUTX10 = [[File:Networking_rutos_manual_input_output_io_juggler_actions_script_rutx10_v1.png|border|class=tlt-border]] |
| + | | #default = [[File:Networking_rutos_manual_input_output_io_juggler_actions_script.png|border|class=tlt-border]] |
| + | }} |
| + | |
| | | |
| <table class="nd-mantable"> | | <table class="nd-mantable"> |
Line 711: |
Line 711: |
| Executes a MQTT action. | | Executes a MQTT action. |
| | | |
− | [[File:Networking rutos manual input output io juggler actions mqtt_v1.png|border|class=tlt-border]] | + | {{#switch: {{{name}}} |
| + | | RUTX10 = [[File:Networking_rutos_manual_input_output_io_juggler_actions_mqtt_rutx10_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 776: |
Line 781: |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color:blue">Certificate based: Allow insecure connection</span></td> | + | <td><span style="color:blue">Certificate based:</span>Allow insecure connection</td> |
− | <td>off {{!}} <span style="color:blue">on</span>; default: <b>off</b></td> | + | <td>off {{!}} on; default: <b>off</b></td> |
| <td>Allow not verifying server authenticity.</td> | | <td>Allow not verifying server authenticity.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color:blue">Certificate based: Certificate files from device</span></td> | + | <td><span style="color:blue">Certificate based:</span>Certificate files from device</td> |
− | <td>off {{!}} <span style="color:blue">on</span>; default: <b>off</b></td> | + | <td>off {{!}} on; default: <b>off</b></td> |
| <td>Choose this option if you want to select certificate files from device.</td> | | <td>Choose this option if you want to select certificate files from device.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color:blue">Certificate based: CA file</span></td> | + | <td><span style="color:blue">Certificate based:</span>CA file</td> |
| <td>.crt file; default: <b>none</b></td> | | <td>.crt file; default: <b>none</b></td> |
| <td>Upload CA file.</td> | | <td>Upload CA file.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color:blue">Certificate based: Certificate file</span></td> | + | <td><span style="color:blue">Certificate based:</span>Certificate file</td> |
| <td>.crt file; default: <b>none</b></td> | | <td>.crt file; default: <b>none</b></td> |
| <td>TLS client or server certificate file.</td> | | <td>TLS client or server certificate file.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color:blue">Certificate based: Key file</span></td> | + | <td><span style="color:blue">Certificate based:</span>Key file</td> |
| <td>.key file; default: <b>none</b></td> | | <td>.key file; default: <b>none</b></td> |
| <td>TLS client or server key file.</td> | | <td>TLS client or server key file.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color:blue">Pre-Shared-Key based: Pre-Shared-Key</span></td> | + | <td><span style="color:blue">Pre-Shared-Key based:</span>Pre-Shared-Key</td> |
| <td>string; default: <b>none</b></td> | | <td>string; default: <b>none</b></td> |
| <td>The pre-shared-key in hex format with no leading “0x”.</td> | | <td>The pre-shared-key in hex format with no leading “0x”.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
− | <td><span style="color:blue">Pre-Shared-Key based: Identity</span></td> | + | <td><span style="color:blue">Pre-Shared-Key based:</span>Identity</td> |
| <td>string; default: <b>none</b></td> | | <td>string; default: <b>none</b></td> |
| <td>Specify the Identity.</td> | | <td>Specify the Identity.</td> |