Editing Template:Networking rut9 manual input output status

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{#ifeq:{{{name}}}|RUT955|
+
<pre>
<pre>
+
ioman.gpio.din1    - 4PIN input
ioman.gpio.din1    - 4PIN input
+
ioman.gpio.dout1  - 4PIN output
ioman.gpio.dout1  - 4PIN output
+
ioman.gpio.din2    - Digital input (only for passive sensors)
ioman.gpio.din2    - Digital input (only for passive sensors)
+
ioman.gpio.dout2  - Galvanically isolated open collector output
ioman.gpio.dout2  - Galvanically isolated open collector output
+
ioman.relay.relay0 - Digital relay output
ioman.relay.relay0 - Digital relay output
+
ioman.gpio.iio    - Digital galvanically isolated input  
ioman.gpio.iio    - Digital galvanically isolated input  
+
ioman.adc.adc0    - Analog input
ioman.adc.adc0    - Analog input
+
ioman.acl.acl0    - Analog Current loop
ioman.acl.acl0    - Analog Current loop
 
</pre>|
 
<pre>
 
ioman.gpio.din1    - 4PIN input
 
ioman.gpio.dout1  - 4PIN output
 
</pre>
 
}}
 
  
 
Call command <b>ubus call <u>value</u> status </b>:
 
Call command <b>ubus call <u>value</u> status </b>:
Line 37: Line 30:
 
             <li>"value": "<b>1</b>" means high level state.</li>
 
             <li>"value": "<b>1</b>" means high level state.</li>
 
         </ul>
 
         </ul>
     </li>{{#ifeq:{{{name}}}|RUT955|
+
     </li>
    <li><b>relay0</b> is the relay:
 
        <ul>
 
            <li>"state": "<b>open</b>" means open relay state.</li>
 
            <li>"state": "<b>closed</b>" means closed relay state.</li>
 
        </ul>
 
    </li>|}}
 
 
</ul>
 
</ul>
 
{{#ifeq:{{{name}}}|RUT955|
 
To change relay settings, use the <i><b>update</i></b> command and specify a state:
 
 
ubus call ioman.relay.relay0 update '{"state":"open"}'
 
ubus call ioman.relay.relay0 update '{"state":"closed"}'
 
|}}
 

Please note that all contributions to Teltonika Networks Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Teltonika Networks Wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)