32 channel ethernet relay module – KinCony KC868-H32

Hi Guys I am interested in this kincony product , I just have one question , if you as example turn on or off bunch of really at same time , is it fast switching . and does home assistant handles it well for multiple ones or it is slow I mean few seconds , I have wifi stuff when I turn off all house it turns within a second as I see from some video it looks slow once you use turn off all realays it looks slow and can not take multiple commands at once
only one command at a time , is that true or I am mistaken

It works in real time. I did not notice a subjective delay.

Hello everyone
also i am in possession of a kc868 h8 card.
I would like to integrate with home assistant via ethernet lan network.
help me find the best solution to do it?
I recently started with home assistant, can you give me a guide or the code to add to work with this card?
is it not possible to integrate with node-red? or moquitto?
Has the feedback problem been solved?
thank you all
you are really very good

1 Like

You can use 1 command to turn all relay on and off, there will be no delay. not need to send several commands.

You can use 1 command to turn all relay on and off, there will be no delay. not need to send several commands.

Now we have make the python code for Home assistant use that control 32 channel relays. I will make video and upload code to github, all relay board is support. such as 2 channel,4 channel, 8 channel ,16 channel, 32 channels.

3 Likes

Unbelievable! You are the best guys!

Guys, who knows how to add this information to the official HA help system?


we have make an python code program for protocol convert, from Socket protocol to MQTT protocol. Now i have tested use for homekit on iPhone also can use siri for voice control.this program support all KC868 relay board controller.

1 Like
1 Like

great update. good job. can you also write a guide how to integrate ad homeassistan? I tried to use the executable on windows. no need for user and pass for mqtt?
do I have to leave the program running?
thanks to the availability

These days i will make a video upload to our youtube channel that how to integrate add home assistant on windows OS. there will running a program on windows server that convert to MQTT protocol command.

I ran the new program on windows. I set up ip / domain device: ip kc868 h8; mqtt ip / domain: ip homeassistant (mqtt server). this is the log that I find on mqtt homeassistant:
1584726046: New connection from 100.100.0.103 on port 1883.
1584726046: New client connected from 100.100.0.103 as auto-AE4F0FF6-CB9D-548E-C5E6-92733FB5FC61 (p2, c1, k60).
Is it correct as a procedure?
now I would like to understand just how to add mqtt identity on homeassistant

This link to the Hass.io image with the built-in Mosquitto (MQTT broker) for Raspberry Pi 3b/b+
In Docker:

  • HomeAssistant
  • Mosquitto
  • Zigbee2mqtt
  • Portainer
  • HASS Configurator
  • MPD

install ActiveMQ on your windows server. download link:http://activemq.apache.org/
http://www.apache.org/dyn/closer.cgi?filename=/activemq/5.15.11/apache-activemq-5.15.11-bin.zip&action=download

Can I use Mosquitto instead of ActiveMQ?
I think it can be done.

There are several open-source brokers

  • ActiveMQ that allows you to add MQTT to an Apache Web server (Developed by the Apache Foundation)
  • JoramMQ for the integration of MQTT in Java
  • Mosquitto, the open-source broker most used in DIY projects supported by the eclipse.org foundation
  • RabbitMQ, an open source project also available with commercial support
  • EMQTT, a project developed in Erlang / OTP available for Windows, Mac Os X and Linux designed to receive very many connections (up to 1 million per server). It is possible to create a cluster (server network) to increase the number of simultaneous connections.
  • ActiveMQ and JoramMQ are quite specific brokers. RabbitMQ is more business-oriented with its commercial offer. Mosquitto is widely used in projects based on esp8266, Arduino and Raspberry. This is the one I advise you to use.

Mosquitto is the most common MQTT open-source broker. Could you record a lesson on its use?

It should be replaceable. You only need to create a transformation(TCP->MQTT) service, and then set the mqtt server IP address and port in “hademomain.exe”. these pictures of ActiveMQ for your reference.

This is KC868-H8 relay board runing , use iPhone homekit to control relay and use Siri for voice control.