

It’s been a while since I messed with home automation, but ESPHome was amazing to program ESP microcontrollers (i.e. you most likely wouldn’t have to write any code). You can use ESPHome devices with both Home Assistant and Openhab (using MQTT, IIRC). The last I checked, it was easier to program your own functionality in OpenHAB than Home Assistant.

I think I’d install proxmox on all machines because there is a proxmox provider for Terraform. Then, manually create the VMs, and to learn the barebones, use kubeadm to set everything up, and kubectl to manage it. Once comfortable and knowledgeable with that, start messing around with Terraform and Ansible.