Just use HomeAssistant and find ESPHome compatible hardware. It drastically simplifies everything and there are even vendors like CloudFree [1] that support it out of the box.
I've got several outdoor and indoor hydryponics systems set up that way and it's been a joy (except for the RaspberryPi SD card dying on me, which I've since replaced with a more reliable SSD based SBC)