I'm doing basically all the things you've just listed using a Dell Precision Tower 3620 you don't necessarily need new hardware for it and could save quite a lot if there are used workstations in your area.
For software I'm using esxi with truenas core virtualized and photonos as my docker host with everything managed through portainer. I would not suggest using esxi unless you want to learn about it, I wish I'd gone with Proxmox at the start.
This instance seemed like the most populated one when I went looking so this is where I'm subbed
I've done this for vertical blinds using this: https://github.com/kp-bit/xblinds but for my big roller blind I used a commercial solution, the motor on the DIY version wasn't strong enough even with a planetary gear box added.
Then for the automation I'm using home assistant
Spending the day with friends setting up their place to play D&D and consume copious amounts of barbeque tomorrow!
@IndeterminateName
@beehaw.org