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.
Installation agent prête
Cet actif peut être installé après choix du runtime, vérification du plan et exécution de la commande adaptée.
npx -y tokrepo@latest install 2fef4503-381e-11f1-9bc6-00163e2b0d79 --target codexÀ exécuter après confirmation du plan en dry-run.
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.
Questions fréquentes
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.
Sources citées (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
En lien sur TokRepo
Fil de discussion
Actifs similaires
Kodi — Open Source Home Theater Media Center
Kodi (formerly XBMC) is a free, open-source media center application that organizes and plays local and network media. It runs on Linux, macOS, Windows, Android, and embedded devices, with a 10-foot UI designed for TVs and remotes.
MagicMirror² — Open-Source Smart Mirror Platform
MagicMirror² is a modular open-source smart mirror platform that turns a Raspberry Pi and a two-way mirror into a customizable information dashboard. It supports hundreds of community modules for weather, calendar, news, home automation, and more.
Meetily — Privacy-First AI Meeting Assistant with Local Transcription
An open-source, self-hosted AI meeting assistant that provides real-time transcription, speaker diarization, and local summarization using Whisper and Ollama, with no cloud dependency.
Refact — Local-First AI Coding Assistant
Refact is an open-source, local-first AI coding assistant: install the IDE plugin, run local refact-lsp, and connect a model provider.