Page 1 of 1

2 way feedback ??

Posted: Fri Mar 10, 2017 8:47 pm
by asimp11
I am using an 8 way relay IP unit as below.
There is no problem controlling it from Demopad, it uses http: command line eg. (send data to a website) Http://192.168.1.4/30000/01 will open relay 1, if you change the last two digits to 02 it will close that relay. The unit always sends feedback after each command, however I cannot set it up as a device, it will not connect !!

https://www.sainsmart.com/sainsmart-rj4 ... rated.html

Re: 2 way feedback ??

Posted: Wed Mar 15, 2017 11:23 am
by DemoPad
Ok - so if your 'send data to website' command was :

http://192.168.1.4/30000/01

then your device should have IP address 192.168.1.4, port 80, and the command should be:

GET /3000/01 HTTP/1.0\x0D\x0A

(assuming it accepts http 1.0 requests)