5277 questions

6429 answers

10373 comments

6440 members

0 votes
191 views 0 comments
by

Hi 

TRB141: TRB1411_R_00.01.06.1

I can succrssfully access the the two gpio relay ports with (eg):

/cgi-bin/io_state?username=admin&password=admin&state=open&pin=relay0time=1

But what is the url path / syntax to access the input/output (3/4) pins on the power connector?

regards

Ian

 

1 Answer

0 votes
by

Hello,

The 4pin connector 3 and 4 I/O pins can be access respectably with names dio0 and dio1. You can control them with this url's for pin 3: http://192.168.2.1/cgi-bin/io_state?username=user1&password=pass1&state=on&pin=dio0&time=5&delay=5, or pin4: http://192.168.2.1/cgi-bin/io_state?username=user1&password=pass1&state=on&pin=dio1&time=5&delay=5