Communicating with TPDIN-Monitor-WEB via TELNET

TPDIN® Viewed: 104

NOTE: This only works with the original TPDIN-MONITOR-WEB.

It is not implemented in the newer TPDIN-MONITOR-WEB2. You can use the ability of telnet to connect to the TPDIN-Monitor-WEB TCP port and use the HTTP interface to control the unit. Connect to the device through telnet by designating the TPDIN-MonitorWEB units IP address and the communications port (typically port 80) as follows:

  • telnet (ip address: 80)

To get the present values of the TPDIN-Monitor-WEB issue the following telnet command:

  • GET /status.xml HTTP/1.1

TELNET will respond with latest data readings in the following format:

  • HTTP/1.1 200 OK  Connection: close  Content-Type: text/xml  Cache-Control: no-cache

1 1 1 1 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 45.1 24.0

To toggle a relay from one state to another, for instance ON to OFF, use the following command and define which relay(led) to toggle.

Note: led1=relay1, led2=relay2, etc. Running the command again will toggle the relay from OFF to ON. GET /leds.cgi?led=1 HTTP/1.1 GET /leds.cgi?led=1 HTTP/1.1