32 channel ethernet relay module – KinCony KC868-H32

just google on aliexpress kincony . Take note the prices just went up :unamused:

Oh! I just saw the prices!

Any coupon maybe?

No, owner of company promised previous version owners they get discount. I was negotiating on aliexpress. They only offer 10% is the same discount when you buy bulk. I expect descend amount of discount for loyal customers. BTW I honestly can say I’m one of the customers who is promoting the company on this forum. So yeah

Hi guys

I’m trying to integrate a KC868-H16B into HA.
I just discovered, after getting the module, that MQTT seems not to be possible with this model.

I tried with command line but that doesn’t seem to work either.

- platform: command_line
  switches:
    relay01:
      command_on: 'echo -n RELAY-SET-1,1,1 | nc 172.16.0.200 4196'
      command_off: 'echo -n RELAY-SET-1,1,0 | nc 172.16.0.200 4196'
      value_template: '{{ "1,OK" in value }}'
      friendly_name: TestRelay

Anu idea how to get it working?
Thanks in advance!

Hi @KinCony. I’m planning to purchase some KinCony products but I don’t know if it’s possible to connect together the folowing: KC868-H32B + KC868-COLB + KC868-D8 + LONG DISTANCE BUTTON SWITCH MODULE.
I have to find a solution to control the following lights:

  • 3 pieces dimmable white led bulbs (on / off / dimming by using wall switch)
  • 9 pieces of standard non dimmable led bulbs (on / off with wall switch)
  • 3 pieces of RGBW led strips (on / off / dimming by using wall switch, color selection with Home Assistant)
    How it’s possible? Is there any video showing this kinf of configuration? Has the KC868-D8 MQTT support?
    Thank you.

KC868-H32B relay controller and KC868-COLB logical controller all support MQTT. KC868-D8 dimmer controller will support MQTT in furture by firmware update.
if your dimmer lamp control by wall switch panel on/off/dimming, it’s no problem. KC868-D8 is for change brightness , not for RGBW to change any color, support some color style change by relay controller. there is some video guide on our youtube channel. so now if want integrate KC868-D8 with home assistant need by TCP private protocol, MQTT will be later.

@KinCony: are there any plans for adding MQTT to the KC868-H16B firmware?

we are trying let KC868-H16B support MQTT.

@KinCony
Thank you for your quick response!
Any idea how long this will take approximately?

do you have already bought KC868-H16B want to update firmware or you have not bought , take photo of your H16B’s CPU, or told me the model. I want to confirm.

Hello @KinCony, I already bought the controller.

Is this picture OK?

i can’t see model. you can see the biggest chip (U6) is what model?

luckly,it’s 256k flash memory, enough for use. now we are developing, if have any news , i will leave message at here.

That’s good news, looking forward.
Thank you!

KC868-H16B new firmware for MQTT and new functions

improvement:

  1. add relay control by webpage
  2. support http command for developer integrate to third-party software to tun on/off relay and read relay state.
  3. add web config password
  4. add read input state http command for developer integrate to third-party software. you can send http command to get information of 6 channel digital input port state.

Command is like this, send: http://192.168.1.xx/sw_ctl.cgi?RelayFF=RD&postpwd=XXXXXX
Then will feedback all state.

  1. support use MQTT function by Ethernet or WiFi. it will easy integrate to third-party software, like home assistant…
    how to integrate to home assistant by MQTT, see this link: https://www.kincony.com/kc868-h32b-integ…-mqtt.html

  2. add option on config webpage, you can chose whether relay will remember the state before power off. Just whether receover relay sate when power on.

  3. add option on config webpage, you can chose any relay channel for momentary work mode, and set the delay time for auto off. Relay “Momentary Time” extend to “1-10000 seconds”

  4. add scan device Broadcast command for UDP. This command for software developer scan KC868-H32B in network.

use local network port=4000 send Ansi-String “scan” to remote IP:255.255.255.255 Port:4001
all KC868-H16B in same network device will feedback: device’s IP,Port,UID,type
for example:
send->scan
feedback: 192.168.1.200:4196,uid:xxxxxxxxxxxxxxxxxxxxxxxx,type:H16B

  1. Improve the stability of anti-interference, if ethernet line failure by interference , now will automatic restart ethernet chip.

download link: KC868-H16B new firmware for MQTT and new functions

1 Like

firmware updated

Hello @KinCony
Is there any news about MQTT support for the KC868-D8?
Thank you!

in furture will have develop plan let KC868-D8 support MQTT. Now is developing new firmware support MQTT for KC868-H8B.

@KinCony: thank you VERY much for this firmware for the KC868-H16!
Got the firmware updated but struggling to get it working in HA.