Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Kincony KC868-H32B relay controller http command
#1
Question 
Hi,

I Try to use KC868-H32B relay controller with Virtuino IOT by http command. I think using Widget with Script and Tool but I don't know how to do.

The extract doc says:

1/ Turn ON/OFF every relay:

http://192.168.1.10/sw_ctl.cgi?Relay01=O...d=admin123 // Relay1 ON
http://192.168.1.10/sw_ctl.cgi?Relay01=O...d=admin123 // Relay1 OFF
http://192.168.1.10/sw_ctl.cgi?Relay30=O...d=admin123 // Relay30 ON
http://192.168.1.10/sw_ctl.cgi?Relay30=O...d=admin123 // Relay30 OFF
http://192.168.1.10/sw_ctl.cgi?RelayFF=O...d=admin123 //Relay ALL ON
http://192.168.1.10/sw_ctl.cgi?RelayFF=O...d=admin123 //Relay ALL OFF

if successful will feedback:

buttonCallback({"btn1":"OFF","btn2":"OFF","btn3":"ON","btn4":"ON","btn5":"OFF","btn6":"ON","btn7":"ON","btn8":"ON","btn9":"ON","btn10":"ON","btn11":"OFF","btn12":"ON","btn13":"ON","btn14":"ON","btn15":"ON","btn16":"ON","btn17":"ON","btn18":"ON","btn19":"ON","btn20":"ON","btn21":"ON","btn22":"ON","btn23":"ON","btn24":"ON","btn25":"ON","btn26":"ON","btn27":"ON","btn28":"ON","btn29":"ON","btn30":"OFF","btn31":"ON","btn32":"ON","post_pwd":"admin123",});

if failed will feedback: Error parameter or password!

2/ Read input port state

http://192.168.1.10/input_ctl.cgi?inputF...d=admin123

if successful will feedback:

inputCallback({"input1":"1","input2":"1","input3":"1","input4":"1","input5":"1","input6":"1"});

1 means: ON 0 means:OFF

if failed will feedback: Error parameter or password!


Thanks for your help,
Reply


Messages In This Thread
Kincony KC868-H32B relay controller http command - by jlc - 07-12-2022, 05:13 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)