Thanks! Great, we’ll wait. Happy Holidays!
KC868-H32 relay controller input port can be integrated now.
You already have integration into Domoticz, but when will full integration into Home Assistant appear?
You are talking about the possibility of management through a third-party service. And I asked about when you can expect full integration into the system. These are two different things. I took the first step in this direction @shamruk.
Just sharing some Node Red stuff that I implemented.
I add two buttons (light and input_boolean) like in tutorial, it is not so interesting.
But as I noticed HA does not remember state of that buttons after reboot. So on first boot it will ask for a status of switches and assign it to buttons. Not the best implementation but it works.
we are ready to make addon plugin for HACS, that will be easy to use relay ouptut and input port function.
Excellent! That would be just great! We look forward to it!
Hi,
@KinCony I am using h32LW+nodered and I am having issues when 2 commands are send async at the same time to the h32, only one works and I assume this is because of the TCP limitation. Is there a solution for this?
Also when the MQTT Firmware will be available for the H32LW?
Hi, I have this issue to, I didn’t know how to formulate this issue in English. I have the H32L. And sometimes if tcp command is send by home assistant and the controller is just checking the input states with 5sec poller. The lights in home assistant are turned on. But the controller ignores or doesn’t receive the node red command and it stays dark in the house. Very annoying
why you always checking the input states with 5sec poller? if input port is short, will auto feedback message.
if have two command , you can send first one command to controller, when you received the feedback, then send second command. not send all commands together. if you don’t want to wait feedback message. you can add 200ms delay for send second command is ok.
I doo the same for magnetic door sensors. The controller does not send feedback when the input port changes from short to open.
I did that, I also surounded the kincony tcp node with semaphores, and still there are problems.
Here is an example of on ON/OFF command I send to relay 21 and an input read.
TIMESTAMP(for response) REQUEST RESPONSE
1609547543889 - RELAY-SET-255,21,1 --> RELAY-SET-255,21,1,OK
1609547543890 - RELAY-GET_INPUT-255,1 --> RELAY-SET-255,21,1,OK
1609547544531 - RELAY-SET-255,21,0 --> RELAY-SET-255,21,0,OK
RELAY-SET-255,21,1
RELAY-GET_INPUT-255,1
these two command send too quickly.
input port short >2 seconds will send alarm message feedback. make sure line good contact and you can test, when trigger whether sensor output for a pulse >2S.
Not with my controller. If I turn off my alarm system. It shorts input one for 6 seconds. I programmed it to turn on lights. . If I don’t poll to the controller it almost seems it’s going to sleep and it’s doing nothing.
@KinCony I need an alarm for input when is not short. In my case a magnetic door sensor. Controller sends the alarm only when the door closes not when the door opens. This is why I have to poll every 5 seconds to.
@KinCony Is there another way to do this?
magnetic door sensor output have 3 signal line, COM,NO,NC, you can chose use Normal Open or Normal Close, if now is not ok, just chose another line.
if use for sensor, suggest use KC868-COL, support DI,AI and temperature sensors. Now relay controller’s input mainly for trigger use in phone app (UDP mode by cloud server)