Smart Home Automation Forum
http requesto to toggle switch - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=60)
+--- Forum: B16 (https://www.kincony.com/forum/forumdisplay.php?fid=70)
+--- Thread: http requesto to toggle switch (/showthread.php?tid=9032)



http requesto to toggle switch - danielrio - 02-08-2026

Hi all,
i have some B16 currently with the 3.80 kcs firmware.
I had the need to control an output on the module 2 when a DI on module 1 is pressed.
I saw i can do it with custom protocol. I tried with UDP message, but it seems a bit loosy, in some ways each 10 clicks, 2 or 3 are lost,  alternatively i thought i could do it with http call (POST or GET).
The problem is that i don't know how to do it with the KCS firmware, i don't know if there are some preconfigured urls to let the modules relays to be switched on off or toggled.
I saw on ESPHome there are some documentations talking about this possibility, but i'm not sure these are usable on KCS firmware.

Sorry i'm a bit new and i cannot find a way to do this, but i'm pretty sure it can be done easily, and i'm just not able to do it.
Could someone please help me?


RE: http requesto to toggle switch - admin - 02-08-2026

sure, KCS v3 firmware support HTTP command, after downloaded KCS v3 firmware, enable the HTTP protocol in KCS config webpage. here is HTTP protocol:
https://www.kincony.com/forum/showthread.php?tid=7621


RE: http requesto to toggle switch - danielrio - 02-09-2026

Thaks a lot for the quick reply.
Looking at the protocol i don't see a way to call the toggle action on a output as it can be choosed in the IFTTT.
What is your suggestion to create the behavior i need with this http commands? (I need to toggle a output of module 2 triggered by module 1 with http GET or POST command)
Or is there a way to trigger the ctrl.cgi page and let the IFTTT do the work? Maybe there's a simpler way.

Thanks in advance
Kind regards


RE: http requesto to toggle switch - admin - 02-09-2026

we will update HTTP command add a TOGGLE command when we have free time.


RE: http requesto to toggle switch - danielrio - 02-09-2026

(02-09-2026, 02:09 AM)admin Wrote: we will update HTTP command add a TOGGLE command when we have free time.

Thanks a lot, it could be a really useful feature IMO.
Kind Regards