11-14-2022, 10:31 AM
(11-14-2022, 10:13 AM)admin Wrote: if you are using KC868-H32B, the newest firmware will have "interlock" function for control motor. if you are using H32L or H32LW with "switch terminal board", any button have pressed, will feedback a tcp message (which key is pressed and the newest relay state) back to Node-Red.
I am using the KC868-H32, (not L and not B, it is the 1st version with the gray push in wire connectors).
I know that this relay board is not able to have the interlock function, that's why I am asking if there is a way in node red to create a software interlock.
The idea is to send two messages to two different relays after pressing a switch in home assistant: send message to relay 2 to open and then message to relay 1 to close. then add a timer to open relay 1 after 30 seconds, to remove power from the motor. This is to prevent activating both relays, in case a person in the house has already pressed the down button and HA ativates the up button. With both replays closed at the same time, this would send current to up and down to the motor, causing damage.