Recent DIY trends show makers increasingly turning to ESP32 microcontrollers and Arduino platforms for smart home projects, replacing costlier or overpowered setups like Raspberry Pi in many cases.
Write and test first, then buy the hardware you need.
The best way to make the most of your smart setup is to have your devices handle tasks you forget to do or can't stay on top ...