this arduino source code for KC868-E16S/KC868-E16T work with 16 relay and 16 momentary switch buttons via Apple homekit app. you can download the BIN firmware directly without chanage any code. Or you can open arduino source code project to compile. The source code use homespan library, mainly use PCF8574 extend GPIOs work with homespan.
here is firmware BIN file for KC868-E16S/KC868-E16T:
RealPushButtons.ino.nodemcu-32s-BIN.zip (Size: 623.62 KB / Downloads: 271)
here is arduino source code via homekit homespan library:
RealPushButtons.zip (Size: 2.49 KB / Downloads: 255)
after you downloaded firmware, how to use:
1. power on of your KC868-E16S/KC868-E16T board , connect with USB cable with your PC.
find out your USB cable COM port.
Set COM port in your arduino IDE "Tool" menu
open "Serial Monitor", actually you can use any serial monitor tool, we use arduino , just to use it's "Serial Monitor"
after you downloaded firmware, first time to use, need type "W" in serial monitor, chose number of wifi SSID, input password.
then use your iPhone or iPad to pair KC868-A4.
if you want to eraser all data , re-config homespan, then you can send "E" to serial port.
here is firmware BIN file for KC868-E16S/KC868-E16T:
RealPushButtons.ino.nodemcu-32s-BIN.zip (Size: 623.62 KB / Downloads: 271)
here is arduino source code via homekit homespan library:
RealPushButtons.zip (Size: 2.49 KB / Downloads: 255)
after you downloaded firmware, how to use:
1. power on of your KC868-E16S/KC868-E16T board , connect with USB cable with your PC.
find out your USB cable COM port.
Set COM port in your arduino IDE "Tool" menu
open "Serial Monitor", actually you can use any serial monitor tool, we use arduino , just to use it's "Serial Monitor"
after you downloaded firmware, first time to use, need type "W" in serial monitor, chose number of wifi SSID, input password.
then use your iPhone or iPad to pair KC868-A4.
if you want to eraser all data , re-config homespan, then you can send "E" to serial port.