we have designed KC868-AG Pro by ESP32 + Tuya + Zigbee 3.0 module, it’s easy to use ESPHome for home assistant. Now you can use home assistant and Tuya app at the same time. You can define RF buttons and IR buttons to control TV or air conditioner by IR signal. KinCony AG Pro also is a Zigbee3.0 gateway.
There are different use way for KC868-AG Pro smart controller.
1. download “KCS” firmware to ESP32 chip. You can use IR receiver/sender, RF receiver/sender with ESP32.
2. config ESPHome work with home assistant, the config ymal file as same as KC868-AG’s yaml file, you can download from KinCony’s forum.
3. use Tuya mobile phone app directly, remote control IR and RF device by internet.
4. download Zigbee3.0 coordinator firmware to Zigbee module (from factory we have already downloaded), work as Zigbee3.0 gateway. it support tasmota zigbee, support work as ZHA in home assistant.
if you want to update Zigbee coordinator firmware for Zigbee module, you can use Jlink download by JTAG on PCB pins.
KC868-AG Por can connect with extend IR cable, just connect to “P9” green terminal on PCB. extend IR signal from Tuya module. if you want to extend IR signal from ESP32. just set the resistance RJ10 and RJ11 value.
RJ10=0 ohm RJ11=NC extend IR cable signal from Tuya module.
RJ10=NC RJ11=0 ohm extend IR cable signal from ESP32 module.
LED indicator and button:
on the bottom of box, there is RESET button for config Tuya module. HOLD on will reset Tuya module, then you can begin pair with your Tuya mobile phone app.
Red LED: power
Yellow LED: Tuya module state
Green LED: Zigbee state
Related technical information
ESP32 I/O pin define: https://www.kincony.com/forum/showthread.php?tid=1667
config yaml file for ESPHome: https://www.kincony.com/forum/showthread.php?tid=2329
arduino demo source code: https://www.kincony.com/forum/forumdisplay.php?fid=30
KCS v2 firmware online guide: https://www.kincony.com/esp32-kcsv2-firmware.html
KCS v2 function explanation video tour: https://youtu.be/-DexVHAxPUM