Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to program switch 1 to change relay 1 state - KC868-H8
#11
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.
Reply
#12
Yes, another firmware have this function use input work as switch panel , but will no command feedback when you pressed input port.
Reply
#13
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]
Reply
#14
this is another way by Node-Red, but if use switch terminal board will better.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)