These are the projects I recommend building instead of just buying something off the shelf.
Home Assistant is open source home automation that puts local control and privacy first. It works with thousands of devices out of the box, runs on your own hardware, and does not require any coding ...