Home Assistant โ Home Automation Platform
Last reviewed: 2026-05-29
Home Assistant is a free and open-source home automation platform that focuses on local control, privacy, and integration with hundreds of smart home devices, services, and protocols. It runs on a Raspberry Pi, local server, or Docker/NixOS.
Overview
Home Assistant (often abbreviated HA or Hass) provides: - A unified dashboard for all smart home devices - Automation engine (triggers, conditions, actions) - Voice assistants (Alexa, Google Home, Assist) - Energy management dashboards - Over 2,000 integrations (Wi-Fi, Zigbee, Z-Wave, Matter) - Fully local โ no cloud dependency
Training Content
Key Concepts
Integrations
HA connects to devices through integrations (formerly called "components"). Common ones include:
| Integration | What it connects |
|---|---|
| ESPHome | ESP32/ESP8266 custom sensors and controllers |
| MQTT | MQTT broker (E.g., Mosquitto) for IoT devices |
| Zigbee2MQTT | Zigbee devices via a coordinator |
| Z-Wave JS | Z-Wave devices |
| Philips Hue | Hue bridge and lights |
| Shelly | Shelly smart relays |
| Tesla | EV charging and battery status |
Automations
Automations follow a simple pattern:
Example: "Turn on porch light when motion detected after sunset"
- Trigger: Motion sensor detects movement
- Condition: Sun below horizon (or after specific time)
- Action: Turn on porch light entity
Dashboards (Lovelace)
Home Assistant's default dashboard UI is called Lovelace. You can: - Arrange cards (buttons, graphs, gauges, maps) - Create custom views per room or function - Add themes and custom card plugins - Control: lights, climate, locks, covers, media players
Add-ons
On HA OS or Supervised installations, add-ons extend functionality: - Mosquitto broker โ MQTT message broker - ESPHome โ Flash/configure ESP devices - File editor โ Edit config files in-browser - Samba share โ Network file access - Nginx Proxy Manager โ Reverse proxy + SSL - Zigbee2MQTT โ Zigbee gateway
Installation Options
| Method | Recommended For |
|---|---|
| HA OS (Raspberry Pi) | Dedicated hardware โ easiest |
| HA Container (Docker) | Existing Docker host |
| HA Core (Python venv) | Advanced users, custom setups |
| HA Supervised | Full OS with add-ons in Docker |
| NixOS (module) | NixOS users |
Common Use Cases
- Lighting automation โ Motion/time-based, scenes
- Climate control โ Smart thermostat, window sensor triggers
- Security โ Door sensors, cameras, alarm panel
- Energy monitoring โ Solar + grid + battery dashboard
- Presence detection โ Bluetooth, Wi-Fi, GPS tracking
- Voice control โ Local voice assistant with Assist/Whisper