Changes

no edit summary
Line 99: Line 99:     
{{#switch: {{{name}}}  
 
{{#switch: {{{name}}}  
| TRB141 = [[File:Networking_trb141_manual_input_output_status_v4.png|border|class=tlt-border]]
+
| TRB141 = [[File:Networking_trb141_manual_input_output_status_v5.png|border|class=tlt-border]]
 
| RUT955|RUT956|RUT906 = [[File:Networking_RUT955_manual_input_output_status_v4.png|border|class=tlt-border]]
 
| RUT955|RUT956|RUT906 = [[File:Networking_RUT955_manual_input_output_status_v4.png|border|class=tlt-border]]
 
| TRB245|TRB246|TRB255|TRB256 = [[File:Networking_trb2_manual_input_output_status_v3.png|border|class=tlt-border]]
 
| TRB245|TRB246|TRB255|TRB256 = [[File:Networking_trb2_manual_input_output_status_v3.png|border|class=tlt-border]]
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 135: Line 137:     
{{#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 = '''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 =
 
}}
 
}}
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.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 734:  
         <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 769:  
         <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>