We have designed KC868-E16T with Tuya module and ESP32, the 8 channel removable relay board can work with ESPHome for home assistant, it also can use by Tuya mobile phone application for remote control by internet if you download firmware to ESP32. This board also is open source. you can download schematic diagram from KinCony’s webpage and ardunio IDE demo source code for this board use by Tuya IoT platform.
Related technical information
ESP32 and Tuya I/O pin define: https://www.kincony.com/forum/showthread.php?tid=2317
config yaml file for ESPHome: https://www.kincony.com/forum/showthread.php?tid=2318