Changes

3,635 bytes removed ,  14:36, 29 July 2019
no edit summary
Line 19: Line 19:  
| file_output_scheduler = Networking_rut955_manual_input_output_output_scheduler_v1.png
 
| file_output_scheduler = Networking_rut955_manual_input_output_output_scheduler_v1.png
 
}}
 
}}
===Post/Get Configuration===
  −
----
  −
'''Post/Get Configuration''' allows you to perform action requests by writing them in the URL field after your device’s IP address.
  −
  −
[[File:Services inputoutput output post get v2.png]]
  −
  −
<table class="nd-mantable">
  −
    <tr>
  −
        <th>field name</th>
  −
      <th>value</th>
  −
      <th>description</th>
  −
    </tr>
  −
    <tr>
  −
      <td>Enable</td>
  −
      <td>yes | no; Default: '''no'''</td>
  −
      <td>Toggles POST/GET ON or OFF</td>
  −
    </tr>
  −
    <tr>
  −
      <td>Username</td>
  −
      <td>string; Default: " "</td>
  −
      <td>Username used for authentication in POST/GET queries</td>
  −
    </tr>
  −
    <tr>
  −
    <td>Password</td>
  −
        <td>string; Default: " "</td>
  −
        <td>Password used for authentication in POST/GET queries</td>
  −
    </tr>
  −
</table>
  −
  −
====Post/Get usage====
  −
----
  −
{{Template: webui_services_input_output_post_get_configuration_usage}}
  −
  −
<table class="nd-othertables">
  −
    <tr>
  −
        <th style="width: 500px">ACTION</th>
  −
      <th style="width: 900px">POST/GET URL EXAMPLE</th>
  −
    </tr>
  −
    <tr>
  −
      <td>Turn Relay Output ON</td>
  −
      <td>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&action=on&pin=relay</td>
  −
    </tr>
  −
    <tr>
  −
      <td>Turn Relay Output ON after a 10 second delay</td>
  −
      <td>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&action=on&pin=relay&delay=10</td>
  −
    </tr>
  −
    <tr>
  −
    <td>Turn Relay Output ON for 5 seconds</td>
  −
        <td>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&action=on&pin=relay&time=5</td>
  −
    </tr>
  −
    <tr>
  −
    <td>Turn Relay Output ON for 5 seconds after a 15 second delay</td>
  −
        <td>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&action=on&pin=relay&delay=15&time=5</td>
  −
    </tr>
  −
    <tr>
  −
      <td>Turn Relay Output OFF for 5 seconds after a 15 second delay</td>
  −
      <td>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&action=off&pin=relay&delay=15&time=5</td>
  −
    </tr>
  −
    <tr>
  −
    <td>Turn Open Collector Output ON</td>
  −
        <td>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&action=on&pin=oc</td>
  −
    </tr>
  −
    <tr>
  −
    <td>Turn Open Collector Output OFF</td>
  −
        <td>http://192.168.1.1/cgi-bin/output?username=user1&password=user1&action=off&pin=oc</td>
  −
    </tr>
  −
</table>
  −
  −
'''Overview''':
  −
* '''192.168.1.1''' - router's default LAN IP address; replace it in accordance with your own configuration
  −
* '''username''' - login name from Post/Get Configuration
  −
* '''password''' - password from Post/Get Configuration
  −
* '''action''' - the action that is to be performed on the specified Output (can be '''on''' or '''off''')
  −
* '''pin''' - specifies on which Output the action will be applied (can be '''oc''' or '''relay''')
  −
* '''delay''' - defines a delay (in seconds) after which the specified action will be performed
  −
* '''time''' - defines a window of time during which the action will take place. For instance, if you post an ON action for an output while specifying '''time=5''', that Output will turn ON and stay ON for 5 seconds before turning OFF
  −
  −
Delay and time parameters can be used together. For example, if delay is 10, time is 5, action is on, then 10 seconds after the execution of the command, the output will switch to ON (or stay in ON state if it was already ON), then after 5 more seconds it will switch to OFF state. In this case, the overall command execution time is 15 seconds.
  −
  −
Actions ON and OFF depend on setting „Output configuration in active state“ (ON is active state), which can be set via [[Input/Output#Output|Services → Input/Output → Output]]
      
===Periodic Control===
 
===Periodic Control===

Navigation menu