Smart Home Automation Forum
Http protocol - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: News (https://www.kincony.com/forum/forumdisplay.php?fid=5)
+--- Thread: Http protocol (/showthread.php?tid=9238)



Http protocol - Saif Kitany - 04-15-2026

If i want to control relay controller by another relay controller with http protocol (for example: controlling B16 by A32 pro ), what i should write in the URL, what i should enable?

I would like if you give full explanation.


RE: Http protocol - admin - 04-15-2026

you can send tcp or http command to another controller , set by IFTTT.
here is example of video tour: https://youtu.be/UumHtpZiURY


RE: Http protocol - Saif Kitany - 04-15-2026

In this video there is no example of using http protocol.

1. Whe in enable http protocol in A32 pro, what i have to put in “request”?

2. Also when i enable http protocol in B16, what i have to put in “request”?

3. In coustom protocol, what i have to set, “http post” or “http get?

4. Then i have to use the “message” or “URL”?


RE: Http protocol - admin - 04-15-2026

1-2: for example , http command: http://192.168.1.200/ctrl.cgi?secret=abcd&cmd=get_inputs&id=0&value=0

3:use GET

4:in URL


RE: Http protocol - Saif Kitany - 04-15-2026

So this http command i have to put in both A32 pro and B16?
In this case, how can i define which relay to control in B16 when i set custom protocol?


RE: Http protocol - admin - 04-15-2026

So this http command i have to put in both A32 pro and B16?
if you want A32P to control B16, set IFTTT in A32 Pro. enable B16 HTTP protocol.

In this case, how can i define which relay to control in B16 when i set custom protocol?
create your customize protocol HTTP command, that will decide which relay to turn on/off.


RE: Http protocol - Saif Kitany - 04-16-2026

Great, now it’s working.

Question:

In case i want to control 20 B16 controllers by kc-868 ak,is there a possibility to do that?

Because i see limited number of protocols :

1. Http server
2. Tcp server
3.Tcp client
4. Udp server
5. Udp client
6.rs485
7.rs232
8. Mqtt


RE: Http protocol - admin - 04-16-2026

why not use different protocol, use only HTTP command to control 20pcs of B16 controller, OK?


RE: Http protocol - Saif Kitany - 04-17-2026

Great, i got the point.
Now i know to do that.

So using http protocol is just for pcb’s which have kcs v3 right?


RE: Http protocol - admin - 04-17-2026

yes, 20pcs of B16 all downloaded KCS v3 firmware, enabled HTTP protocol, because of every B16 have different IP address.