Home/Support/Support Forum/How do I remotely control the state of the I/O ports on my WR31 device?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

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

0 votes
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.

Thanks!
asked Aug 13, 2019 in Digi TransPort Cellular by tsh356 New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
Download and read the PDF, named:
"TransPort WR31 Analog and Digital Input/Output Interface User Guide"
http://ftp1.digi.com/support/documentation/90001489.pdf

For more information and Python code examples for using the TransPort WR31 analog and digital I/O interface, visit
https://github.com/digidotcom/transport_examples
answered Aug 14, 2019 by Bryonhu Seasoned Professional (191 points)
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: **********
SN:xxxxxx
Welcome. Your access level is SUPER

ssxxxxxx>gpio ain voltage
A0: voltage=13.7293 V
OK

ssxxxxxx>
___________________________________________________
...