Home Assistant is the most widely used open source platform for home automation. Its core promise sets it apart from vendor ecosystems: the hub runs on the user’s own hardware in the user’s own network, devices are controlled locally wherever possible, and the data stays in the house. Cloud services are an addition, not a prerequisite.
Matching commands
Ready-to-run Home Assistant commands for PowerShell and the Unix shell, with examples to copy.
Articles on Home Assistant (3)
- Jul 25, 2026 Midea V2 Cloud API Midea V2, V3, and Cloud API: What It Actually Means for the PortaSplit
- Jul 24, 2026 PortaSplit & Token Midea PortaSplit in Home Assistant: Why Token and Key Matter
- Jul 24, 2026 Set up PortaSplit Control the Midea PortaSplit locally with Home Assistant and operate it securely
Architecture: hub, integrations, entities
The core is an instance that connects devices through integrations, one per vendor, protocol, or service. Every connected device breaks down into entities (a thermostat, for example, into temperature, target temperature, and mode), on which automations are built: triggers, conditions, actions. The connection itself follows two patterns: locally via standards such as Zigbee, Z-Wave, Matter, or device-specific network APIs, or through the vendor cloud when the device offers nothing locally. Local connections react faster and work without internet access; cloud connections depend on an account, on API availability, and on the goodwill of the vendor, whose API changes can also break integrations.
Installation variants
Home Assistant OS is the complete package: a dedicated operating system with Supervisor, an add-on store, and backups, typically on a Raspberry Pi or mini PC. Container installations fit into existing Docker environments but do without Supervisor and add-ons. Core, finally, is the plain Python application for special cases. For newcomers and most households, Home Assistant OS is the documented standard path; Container is chosen by operators who maintain a self-hosting landscape anyway.
Interfaces: tokens, MQTT, webhooks
Outward, Home Assistant speaks a REST and WebSocket API, secured through long-lived access tokens; it can be used to read states, call services, and connect external systems. MQTT serves as a message bus for devices and bridges, and webhooks accept events from outside. For devices with a local but undocumented API, the community does the protocol work; such integrations sometimes require device-specific keys or tokens that are obtained once from the vendor cloud.
Operations
Home Assistant is released monthly in new versions, with breaking changes listed in the release notes; built-in backups (including add-ons on OS installations) preserve configuration and history. The configuration lives in a mix of YAML and UI and can be version-controlled, which means the hub follows the same operating patterns as other self-hosted services.