Smart Home Automation Forum
How to program switch 1 to change relay 1 state - KC868-H8 - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: KC868-HxB series Smart Controller (https://www.kincony.com/forum/forumdisplay.php?fid=2)
+--- Thread: How to program switch 1 to change relay 1 state - KC868-H8 (/showthread.php?tid=229)

Pages: 1 2


RE: How to program switch 1 to change relay 1 state - KC868-H8 - uvrtar - 03-22-2021

Hi, thank you for the reply. But if I trigger the input, the reley changes state to on and on another press on the trigger it turns off.


RE: How to program switch 1 to change relay 1 state - KC868-H8 - admin - 03-23-2021

Yes, another firmware have this function use input work as switch panel , but will no command feedback when you pressed input port.


RE: How to program switch 1 to change relay 1 state - KC868-H8 - uvrtar - 03-25-2021

I have written a node-red flow where I input a RELAY-STATE-255 via inject(every few seconds) and then I get a response with the state of relays(eg. RELAY-STATE-255,63,OK). Then with the switch I set the state of input_boolean to the correct state for the specific response. It was a lot of clicks  Big Grin . I just used 6 relay combinations.

[Image: flow.jpg]


RE: How to program switch 1 to change relay 1 state - KC868-H8 - admin - 03-26-2021

this is another way by Node-Red, but if use switch terminal board will better.