I retired the expensive commercial smart home hubs and rebuilt my smart home from scratch.
All you need is an ESP32 board and some tinkering with ESPHome.