I programmed it with ESPHome, and it only took a few hours from start to finish.
You no longer need to spend money on expensive smart devices. If you take your data’s privacy seriously and want your smart home to operate locally, it’s high time to pick up a couple of ESP32 boards.