Home Assistant waters my plants
This detailed post showcases a personal journey into self-hosting Home Assistant to create a sophisticated, local-first smart irrigation system. It highlights the author's meticulous approach to hardware selection, software configuration, and integration challenges, appealing to HN's affinity for practical, open-source home automation projects. The story resonates with those seeking to avoid cloud dependency and build robust, custom smart home solutions.
The Lowdown
The author, a self-described foodie and tinkerer, embarked on a mission to upgrade his property's basic 6-zone irrigation system. Driven by a desire for a smarter, safer, and more controllable setup, he leveraged Home Assistant to build a system that was simple, cheap, extendible, observable, unsupervised, and crucially, minimized cloud dependencies.
- Hardware Foundation: A Beelink EQ14 Intel Twin Lake N150 mini PC was chosen to run Home Assistant, providing ample headroom for future projects despite being overkill for the initial scope.
- Irrigation Control: The Link-Tap Q1 4-zone unit was selected for its local MQTT support, allowing direct integration with Home Assistant and avoiding reliance on the cloud.
- Software Stack: The author installed Proxmox on the Beelink, then ran Home Assistant as a virtual machine (VM) to facilitate USB pass-through, and set up an MQTT broker in a separate container for device communication.
- Automation & Sensing: Automations were configured to run irrigation daily, incorporating weather forecasts, and providing push notifications. A SONOFF ZBDongle-P was added for Zigbee, integrating climate and soil moisture sensors, though the latter presented challenges with reliability and mesh networking.
- Remote Access & Security: Cloudflare tunnels combined with WARP VPN and Zero Trust were implemented for secure remote access to Home Assistant, even enabling irrigation control via CarPlay.
- System Robustness: Automatic backups for VMs and containers were established in Proxmox, and a recurring NVMe drive boot issue was tentatively resolved by disabling deep sleep.
The author successfully created a powerful, local smart irrigation system, demonstrating the capabilities of Home Assistant for complex home automation. Future plans include expanding to a media server, adding energy usage sensors, resolving Zigbee mesh issues, and further expanding the garden's irrigation capabilities.