Ingredient
Home Assistant
Also known as: HA, HASS, ESPHome
Open-source self-hosted home (and farm) automation platform — a Python application that integrates 2,500+ device types and services into a unified state graph, automates against that graph with YAML or visual rules, and surfaces it through a web UI, mobile app, and voice. Apache 2.0 licensed. Runs as a Docker container, a virtual machine (Home Assistant OS), or directly on a Raspberry Pi (HAOS image). The right ingredient when many disparate devices need to act as one system: greenhouse fans + irrigation + lights + soil sensors + weather + voice-control all visible and automatable from one dashboard.
Inputs / outputs
- Run on: Linux (Pi, x86 server), Docker, virtual machine
- Web UI: http://homeassistant.local:8123
- Mobile apps: iOS, Android (with companion features — geofencing, sensors, notifications)
- Voice: local Wyoming protocol (offline) or cloud (Google Assistant, Alexa)
- Storage: SQLite default, PostgreSQL or InfluxDB for serious history
Solves / unlocks
- Unified state graph for the farm (every sensor, every device, every weather data point)
- YAML or visual automation rules (“when soil moisture < 30% AND time after sunset, open zone-3 valve for 10 min”)
- Notifications across channels (push, SMS, email, Telegram, Discord)
- Energy-monitoring dashboards for farm electrical loads
- Voice control without sending audio to cloud (Wyoming + Whisper + Piper local)
- Long-term sensor history for trend analysis
- Companion app geofencing (auto-lock barn when leaving)
Constraints
- Not real-time control — HA cycles every ~1 second; tight loops belong on the MCU.
- YAML can sprawl — large configs become hard to maintain; use packages and split files.
- Resource hungry at scale — 100+ devices benefit from a Pi 5 or x86 server, not a Pi 3.
- Breaking changes between major releases — pin versions for production.
Source
- Project: https://www.home-assistant.io/ (Apache 2.0)
- [[esphome|ESPHome]] (sister project for ESP32/8266 firmware): https://esphome.io/
- HACS (community add-on store): https://hacs.xyz/
See also
Auto-generated from this entry’s typed relations: frontmatter, grouped by relation type so the editorial signal isn’t flattened.
- Member of: [[ingredient]]
- Combines with: [[raspberry-pi]] · [[esp32]] · [[mqtt]] · [[node-red]] · [[solenoid-valve]] · [[modbus-rs485]]
What links here, and how
Inbound connections from across the wiki, grouped by lens and by relationship. These appear automatically — every entity page declares what it links to, and that data populates here on the targets.
Practical
combines with
- ESP32 ESPHome firmware turns any ESP32 into a Home Assistant device with no code
- ESPHome ESPHome devices auto-discover into Home Assistant; the canonical pairing
- iNaturalist API HA can call the iNat API on a button-press to identify what's in a camera frame
- Lithium BMS (LiFePO₄ battery management) BMS telemetry into HA → low-battery alerts, runtime estimation, history
- Meshtastic Meshtastic MQTT bridge → HA for off-grid sensor data
- Modbus / RS-485 Home Assistant Modbus integration ingests industrial sensor data into the home/farm automation graph
- MQTT Home Assistant has built-in MQTT integration; ESP32 nodes publish, HA subscribes
- Node-RED Node-RED + Home Assistant via the websocket node = HA's automations on steroids
- NPK soil probe (RS-485) HA Modbus integration → full soil dashboard with alerts on out-of-range
- PAR / light sensor DLI integration over the day; trigger supplemental light if total DLI is below crop target
- Raspberry Pi Home Assistant OS images directly to a Pi SD card; the standard self-hosted home/farm automation stack
- Solar charge controller (MPPT) via Victron VE.Direct USB or ESP32 bridge; full solar-system dashboards in HA
- Solenoid valve ESPHome firmware turns a valve manifold into a Home Assistant device
contains
- Farm-tech toolkit framework / self-hosted automation platform
shares approach with
- Mycodo Mycodo is purpose-built for environmental control of growing spaces; Home Assistant is general-purpose home automation. They overlap and are sometimes used together
combines
- Recipe: orchard disease-prediction station runs the Mills/Magarey logic via templates and sends notifications
- Recipe: closed-loop greenhouse climate controller the orchestration brain — automations, dashboards, history, alerts
- Recipe: closed-loop hydroponic doser dashboard, history, alerts on out-of-range
- Recipe: livestock & equipment tracking mesh the farmhouse dashboard — map view, geofence alerts, low-battery alerts
- Recipe: off-grid soil-moisture mesh subscribes to the MQTT topics; provides the dashboard, history, and alerting
parallels
- Tasmota Tasmota-flashed devices report to local MQTT and integrate seamlessly with Home Assistant — common backbone of the local-first smart home and small-farm stack
21 inbound links · 7 outbound