we have design this ESP32 Arduino GPIOs board (KC868-A256) for home assistant. It use by ESP32-WROOM-32E, 256CH digial input ports + 256CH MOSFET output ports + 4CH analog input ports + RS485 + Ethernet. The output design by 74HC595 chip. The input design by 74HC165 chip. You can write your own arduino source code for home automation DIY. You can also integrate to home assistant by ESPHome.
Related technical information
———————————
schematic: https://www.kincony.com/download/KC868-A256-schematic.pdf
ESP32 I/O pin define: https://www.kincony.com/forum/showthread.php?tid=2696
config yaml file for ESPHome: https://www.kincony.com/forum/showthread.php?tid=2697
arduino demo source code: https://www.kincony.com/forum/forumdisplay.php?fid=44
KC868-A256 introduction YouTube video tour