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
2 way feedback ??
Re: 2 way feedback ??
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)
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)