this arduino source code for KC868-A4 work with 4 relay and 4 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.
here are KC868-A4 board with 6 gang switch panel (actually I have used 4 buttons) and iPhoneXR.
this is demo video:
here is source code:
RealPushButtons-4DO-4DI.zip (Size: 624.09 KB / Downloads: 386)
this is firmware and source code, BIN file included.
if you want to use source code, you should do:
1. install ESP32 V2 board in arduino IDE.
2. install "homespan" library for arduino.
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.
here are KC868-A4 board with 6 gang switch panel (actually I have used 4 buttons) and iPhoneXR.
this is demo video:
here is source code:
RealPushButtons-4DO-4DI.zip (Size: 624.09 KB / Downloads: 386)
this is firmware and source code, BIN file included.
if you want to use source code, you should do:
1. install ESP32 V2 board in arduino IDE.
2. install "homespan" library for arduino.
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.