Home Assistant — Open-Source Home Automation That Puts Local Control First
Home Assistant is the most popular open-source platform for smart home automation. It integrates 3,000+ devices and services, runs entirely on local hardware (Raspberry Pi to NUC), and keeps your data off the cloud by default.
What it is
Home Assistant is the most popular open-source platform for smart home automation. It integrates with over 3,000 devices and services, runs entirely on local hardware (Raspberry Pi, NUC, Docker, or VM), and keeps your data off the cloud by default. All automation logic runs locally, so your smart home works even when your internet goes down.
Home Assistant is designed for homeowners and tinkerers who want full control over their smart home without vendor lock-in. It supports Zigbee, Z-Wave, Wi-Fi, Bluetooth, and Matter devices through a unified dashboard and automation engine.
How it saves time or tokens
Home Assistant replaces dozens of vendor-specific apps with a single interface. Instead of switching between Hue, Ring, Nest, and Aqara apps, everything is controlled from one dashboard. The automation engine triggers actions based on device states, time, location, or custom conditions -- eliminating manual routines. YAML-based configuration means automations can be version controlled and shared across installations.
How to use
- Install Home Assistant OS on a Raspberry Pi, or run via Docker:
docker run -d --name homeassistant --network=host ghcr.io/home-assistant/home-assistant:stable. - Open
http://<host>:8123in a browser and complete onboarding. - Add integrations for your devices (auto-discovered on the local network).
- Create automations through the UI or YAML configuration files.
Example
# automations.yaml -- turn off lights when nobody is home
automation:
- alias: 'Away Mode'
trigger:
- platform: state
entity_id: group.family
to: 'not_home'
action:
- service: light.turn_off
target:
entity_id: all
- service: climate.set_temperature
target:
entity_id: climate.thermostat
data:
temperature: 18
Related on TokRepo
- Self-hosted tools -- explore self-hosted platforms and services on TokRepo.
- Automation tools -- browse automation utilities for developers and home users.
Common pitfalls
- Zigbee and Z-Wave require dedicated USB coordinators. Wi-Fi devices work out of the box, but Zigbee devices need a Zigbee dongle like SONOFF Zigbee 3.0.
- Home Assistant updates frequently (monthly releases). Breaking changes do happen -- always read release notes before updating production installations.
- YAML configuration is powerful but error-prone. A single indentation mistake can break automations. Use the built-in configuration checker before restarting.
Frequently Asked Questions
Home Assistant runs on Raspberry Pi (3 or 4 recommended), Intel NUC, any Linux machine, Docker containers, or virtual machines. The Home Assistant Green and Yellow are purpose-built devices. Minimum requirements are modest -- a Pi 4 with 2GB RAM handles most installations.
Yes. All automation logic runs locally. Devices controlled via Zigbee, Z-Wave, or local APIs work without internet. Cloud-dependent devices (like some Wi-Fi plugs that require vendor servers) will lose functionality if their cloud goes down.
Home Assistant integrates with over 3,000 devices and services through its integration system. This includes smart lights, switches, sensors, cameras, media players, climate controls, and more from hundreds of manufacturers.
Basic setup is straightforward -- install, open the web UI, and add auto-discovered devices. Advanced configurations (custom automations, Zigbee networks, ESPHome devices) require learning YAML and the integration ecosystem. The learning curve scales with complexity.
Home Assistant replaces the automation and control functions of these platforms. It can also integrate with Alexa and Google Home for voice control while keeping automation logic local. Many users run Home Assistant as the brain with voice assistants as input devices.
Citations (3)
- Home Assistant— Home Assistant integrates with over 3,000 devices and services
- Home Assistant GitHub— Home Assistant is open-source and runs locally
- Home Assistant Blog— Matter protocol support in Home Assistant
Related on TokRepo
Discussion
Related Assets
NAPI-RS — Build Node.js Native Addons in Rust
Write high-performance Node.js native modules in Rust with automatic TypeScript type generation and cross-platform prebuilt binaries.
Mamba — Fast Cross-Platform Package Manager
A drop-in conda replacement written in C++ that resolves environments in seconds instead of minutes.
Plasmo — The Browser Extension Framework
Build, test, and publish browser extensions for Chrome, Firefox, and Edge using React or Vue with hot-reload and automatic manifest generation.