Well, since my previous post was removed for violating the rules I'm posting it again with more information:
This is my esp32/8266 based home assistant gateway, from electronic conmection, reverse engineering, programming, all the way to case design:
Source code at https://github.com/HclX/wyzesenserelay , case design at https://makerworld.com/models/3615364 .
The work started by reverse engineering a deprecated home automation sensor system, and trying to increase its range and improve battery life. ESP8266 and ESP32 boards are chosen simply because I have quite some in my drawer and they are capable of all the handling. This entire project is more about fun and challenge, not for cost saving purpose.…