2 way feedback ??

Forum to ask for any help
Posts: 27
Joined: Fri Oct 19, 2012 1:00 pm

2 way feedback ??

Postby asimp11 » Fri Mar 10, 2017 8:47 pm

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:// 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

User avatar
Site Admin
Posts: 632
Joined: Thu Jun 14, 2012 10:46 am

Re: 2 way feedback ??

Postby DemoPad » Wed Mar 15, 2017 11:23 am

Ok - so if your 'send data to website' command was :

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

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

(assuming it accepts http 1.0 requests)

Return to “Help Forum”