Line 193: |
Line 193: |
| <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 454: |
| {{#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 604: |
| 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 709: |
| Executes a MQTT action. | | Executes a MQTT action. |
| | | |
− | [[File:Networking rutos manual input output io juggler actions mqtt.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 729: |
Line 732: |
| <td>string; default: <b>none</b></td> | | <td>string; default: <b>none</b></td> |
| <td>The name of the topic that the broker will subscribe to.</td> | | <td>The name of the topic that the broker will subscribe to.</td> |
| + | </tr> |
| + | <tr> |
| + | <td>Client ID</td> |
| + | <td>string; default: <b>none</b></td> |
| + | <td>Client ID to send with the data. If empty, a random client ID will be generated.</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
Line 759: |
Line 767: |
| <td>string; default: <b>none</b></td> | | <td>string; default: <b>none</b></td> |
| <td>Password used for authentication to the Broker.</td> | | <td>Password used for authentication to the Broker.</td> |
| + | </tr> |
| + | <tr> |
| + | <td>TLS</td> |
| + | <td>off {{!}} <span style="color:blue">on</span>; default: <b>off</b></td> |
| + | <td>Select to enable TLS encryption.</td> |
| + | </tr> |
| + | <tr> |
| + | <td><span style="color:blue">TLS Type</span></td> |
| + | <td>Certificate based {{!}} Pre-Shared-Key based; default: <b>Certificate based</b></td> |
| + | <td>Type of TLS encryption.</td> |
| + | </tr> |
| + | <tr> |
| + | <td><span style="color:blue">Certificate based:</span>Allow insecure connection</td> |
| + | <td>off {{!}} on; default: <b>off</b></td> |
| + | <td>Allow not verifying server authenticity.</td> |
| + | </tr> |
| + | <tr> |
| + | <td><span style="color:blue">Certificate based:</span>Certificate files from device</td> |
| + | <td>off {{!}} on; default: <b>off</b></td> |
| + | <td>Choose this option if you want to select certificate files from device.</td> |
| + | </tr> |
| + | <tr> |
| + | <td><span style="color:blue">Certificate based:</span>CA file</td> |
| + | <td>.crt file; default: <b>none</b></td> |
| + | <td>Upload CA file.</td> |
| + | </tr> |
| + | <tr> |
| + | <td><span style="color:blue">Certificate based:</span>Certificate file</td> |
| + | <td>.crt file; default: <b>none</b></td> |
| + | <td>TLS client or server certificate file.</td> |
| + | </tr> |
| + | <tr> |
| + | <td><span style="color:blue">Certificate based:</span>Key file</td> |
| + | <td>.key file; default: <b>none</b></td> |
| + | <td>TLS client or server key file.</td> |
| + | </tr> |
| + | <tr> |
| + | <td><span style="color:blue">Pre-Shared-Key based:</span>Pre-Shared-Key</td> |
| + | <td>string; default: <b>none</b></td> |
| + | <td>The pre-shared-key in hex format with no leading “0x”.</td> |
| + | </tr> |
| + | <tr> |
| + | <td><span style="color:blue">Pre-Shared-Key based:</span>Identity</td> |
| + | <td>string; default: <b>none</b></td> |
| + | <td>Specify the Identity.</td> |
| </tr> | | </tr> |
| </table> | | </table> |