How do I access data and controlling relays on the TPDIN-Monitor-WEB2/WEB3 via HTTP?

How do I access data and controlling relays on the TPDIN-Monitor-WEB2/WEB3 via HTTP?

You can access the real time readings and control relays on the TPDIN-Monitor-WEB2 via HTTP.

To access the real time readings: HTTP://(ip address of device)/status.xml

The xml result will look like this:

The relays can be controlled via SNMP, Telnet, or HTTP.

There isn’t a way to set the relays to a specific open/closed state via HTTP, but you can cycle or toggle them like this:

Cycle Relay 1: http://192.168.1.116/controls.cgi?ctl=0
Cycle Relay 2: http://192.168.1.116/controls.cgi?ctl=1
Cycle Relay 3: http://192.168.1.116/controls.cgi?ctl=2
Cycle Relay 4: http://192.168.1.116/controls.cgi?ctl=3

Toggle Relay 1: http://192.168.1.116/controls.cgi?ctl=4
Toggle Relay 2: http://192.168.1.116/controls.cgi?ctl=5
Toggle Relay 3: http://192.168.1.116/controls.cgi?ctl=6
Toggle Relay 4: http://192.168.1.116/controls.cgi?ctl=7

You can get the relay status from http://192.168.1.116/status.xml