Using Digi WR21
R110 RS232 Relay
http://www.relaypros.com/Relay/Device/R110#.U6wzXPldWks
-I can get the relay to work using python on a PC
-I can control the relay over the web using the Digi WR21 RealPort driver.
-BUT…I CANT run python directly on the WR21 to run the relay
Anyone have experience doing this?
Hi
If you have configured the serial port to the correct speed you have saved all
you can open python in interpretor mode from the command line
“Python”
with these 3 lines should be able to pass data to the serial port
Serial0 = open(“asy/00”, “w”)
Serial0.write(")
Serial0.flush()
with the correct text sequence this should operate your releay
regards