TRB142 Input/Output: Difference between revisions

From Teltonika Networks Wiki
Line 42: Line 42:


{{Template: webui_services_input_output_post_get_configuration_table}}
{{Template: webui_services_input_output_post_get_configuration_table}}
====POST/GET usage====
----
{{Template: webui_services_input_output_post_get_configuration_usage}}
{{Template: webui_services_input_output_post_get_configuration_usage_table}}
{| class="wikitable"
|+
! style="width: 350px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | ACTION
! style="width: 729px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | POST/GET URL EXAMPLE
|-
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Turn open collector (OC) output ON
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | <nowiki>http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc</nowiki>
|-
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Turn open collector (OC) output OFF
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | <nowiki>http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=off&pin=oc</nowiki>
|-
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Turn open collector (OC) output ON after a 10 second delay
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | <nowiki>http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc&delay=10</nowiki>
|-
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Turn open collector (OC) output ON for 5 seconds
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | <nowiki>http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc&time=5</nowiki>
|-
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Turn open collector (OC) output ON for 5 seconds after a 10 second delay
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | <nowiki>http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc&delay=10&time=5</nowiki>
|-
|}


===Scheduler===
===Scheduler===

Revision as of 13:52, 19 October 2018

Main Page > TRB Gateways > TRB142 > TRB142 Manual > TRB142 WebUI > TRB142 Services section > TRB142 Input/Output

Summary

Template:Webui services input output summary

Status

Template:Webui services input output status

Status: custom labels


Template:Webui services input output status custom labels

Output

Template:Webui services input output output

Output Configuration


Template:Webui services input output output configuration

Template:Webui services input output output configuration table

ON/OFF


Template:Webui services input output on off

Template:Webui services input output on off table

POST/GET Configuration


Template:Webui services input output post get configuration

Template:Webui services input output post get configuration table

POST/GET usage


Template:Webui services input output post get configuration usage

Template:Webui services input output post get configuration usage table

ACTION POST/GET URL EXAMPLE
Turn open collector (OC) output ON http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc
Turn open collector (OC) output OFF http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=off&pin=oc
Turn open collector (OC) output ON after a 10 second delay http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc&delay=10
Turn open collector (OC) output ON for 5 seconds http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc&time=5
Turn open collector (OC) output ON for 5 seconds after a 10 second delay http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc&delay=10&time=5

Scheduler


Template:Webui services input output scheduler

The figure below is an example of the Scheduler section: