I bought this relay board: http://www.aliexpress.com/item/Diffe...636230809.html
And trying to get it working with using virtual output and POST commands.
Unfortunately cannot get through. Could somebody help me please?
I have found this information about how to controll it:
Default IP is 192.168.1.166, the default HTTP port 80, the default username is admin, the default password is 12345678.
POST address: http: // admin: 12345678@192.168.1.166/relay.cgi
parameter: relay1 = on & relay2 = off & relay3 = on & relay4 = off & relay5 = on & relay6 = off & relay7 = on & relay8 = off (Open relay represents 1,3,5,7; 2,4,6,8 Off Relay)
Factory settings :
- IP: 192.168.1.166
- user/password : admin/12345678
- subnet mask: 255.255.255.0
- Gateway: 192.168.1.1
- TCP port : 1234
- HTTP port : 80
Control card over http :
Switching relais : curl --request POST 'http://admin:12345678@192.168.1.166/control.cgi' --data "{command}"
command = "saida1on=1" > relai 1 on "saida1off=1" > relai 1 off "saida1pluse=1" = pulse relai 1 and so on ...
I tried to set:
Virtual output address: http://admin:12345678@192.168.1.166
http POST comand for ON: relay.cgi?saida1on=1
but doesn’t work :-(
When I am controlling relay board through web browser over network (connecting to internal webserver application), it works without any problem
Am I doing some mistake somewhere?
Thank you very much for any advice
Jan
Kommentar