How do I remotely control the state of the I/O ports on my WR31 device?

I need to establish a remote connection via the internet and read/write the state of the I/O ports. I have a static IP for the WR31.


Download and read the PDF, named:
“TransPort WR31 Analog and Digital Input/Output Interface User Guide”

For more information and Python code examples for using the TransPort WR31 analog and digital I/O interface, visit

This doesn’t answer my question. It appears the transport_examples have to be ran from the DIGI WR31 device itself. I need to remotely read/write the I/O.

How to I do this remotely?

Via telnet just like doing in the WR31 via CLI, just tried it on my WR31 works as expected.

It can be also done through a SMS message if the SMS settings are setup correctly too…

Copied from the telnet window:

Remote Connection.

Username: root
Password: **********
Welcome. Your access level is SUPER

ssxxxxxx>gpio ain voltage
A0: voltage=13.7293 V