# Home Assistant

**Home Assistant** 是一个免费、开源的家庭自动化平台，运行在本地服务器上，让用户控制和自动化智能家居设备，如灯具、开关、传感器、摄像头、门锁和温控设备。它由保卢斯·斯豪森（Paulus Schoutsen）于2013年以一段在日落时开灯的脚本起步，此后发展成为主要的智能家居平台之一，如今由非营利组织开放家庭基金会（Open Home Foundation）拥有和治理。<sup>[1](https://www.nabucasa.com/about-us/)</sup><sup> • </sup><sup>[2](https://www.home-assistant.io/blog/2023/09/17/10-years-home-assistant/)</sup>

| 关键事实 | 详情 |
|---|---|
| 创立 | 2013年，由保卢斯·斯豪森创立，最初是一段在日落时开灯的脚本<sup>[1](https://www.nabucasa.com/about-us/)</sup> |
| 所有权 | 由非营利组织开放家庭基金会拥有和治理；成立于2018年的Nabu Casa是Home Assistant产品与服务的官方商业提供方<sup>[1](https://www.nabucasa.com/about-us/)</sup><sup> • </sup><sup>[3](https://www.home-assistant.io/blog/2024/08/08/works-with-home-assistant-becomes-part-ohf/)</sup> |
| 规模 | 截至2023年十周年时，是GitHub上活跃度第二高的开源项目；据报道已为超过一百万个家庭实现自动化<sup>[2](https://www.home-assistant.io/blog/2023/09/17/10-years-home-assistant/)</sup><sup> • </sup><sup>[4](https://www.techradar.com/computing/why-are-home-servers-trending-i-took-the-plunge-in-an-attempt-to-demystify-the-quiet-tech-community-of-tinkerers-that-are-choosing-to-build-upcycle-and-host-it-themselves)</sup> |
| 本地运行 | 使用Zigbee、Z-Wave、Matter、Thread和ESPHome的设备完全不需要互联网连接；断网期间，灯具、开关、传感器和自动化仍照常工作<sup>[5](https://www.home-assistant.io/faq/works-without-internet)</sup> |
| 核心架构 | 四个主要部分：事件总线、状态机、服务注册表和计时器，后者每秒发送一次`time_changed`事件<sup>[6](https://developers.home-assistant.io/docs/architecture/core/)</sup> |
| 语音控制 | Assist是Home Assistant 2023.2版引入的内置语音助手，可以完全在本地硬件上运行，因此语音指令保持私密<sup>[7](https://www.home-assistant.io/voice_control/)</sup> |
| 官方硬件 | Home Assistant Green，2023年发布的一款99美元中枢<sup>[2](https://www.home-assistant.io/blog/2023/09/17/10-years-home-assistant/)</sup> |
| 配置 | 用户集成设备并创建YAML文件来控制它们；关于该平台的研究指出，许多用户难以正确创建YAML文件<sup>[8](https://arxiv.org/abs/2408.04755)</sup> |

## 起源与治理

保卢斯·斯豪森于2013年创立Home Assistant，在此后十年间，它从一段个人照明脚本成长为主要的智能家居平台之一。<sup>[1](https://www.nabucasa.com/about-us/)</sup>到2023年9月十周年时，该项目自称是GitHub上活跃度第二高的开源项目，开放家庭的愿景也更新为以隐私、选择和可持续性为核心。<sup>[2](https://www.home-assistant.io/blog/2023/09/17/10-years-home-assistant/)</sup>

**资金与所有权。** 2018年，该项目的创始人和核心贡献者成立了Nabu Casa，这家公司销售Home Assistant的官方产品与服务，并将大部分利润捐给拥有该项目的非营利组织开放家庭基金会。Nabu Casa声明其所有权独立，没有风险投资或私募股权支持。<sup>[1](https://www.nabucasa.com/about-us/)</sup>这家商业合作伙伴此前管理“Works with Home Assistant”认证项目；2024年8月，该项目转归基金会管理，开始认证单个设备而非整个品牌，并取消了云徽章，给出的理由是依赖云端的产品在其云服务关停后便无法工作。<sup>[3](https://www.home-assistant.io/blog/2024/08/08/works-with-home-assistant-becomes-part-ohf/)</sup>

## 核心架构

Home Assistant Core由四个主要部分组成，并辅以用于常见场景的辅助类，例如提供实体或处理位置。<sup>[6](https://developers.home-assistant.io/docs/architecture/core/)</sup>

- **事件总线**负责事件的触发与监听，开发者文档将其描述为Home Assistant跳动的心脏。<sup>[6](https://developers.home-assistant.io/docs/architecture/core/)</sup>
- **状态机**跟踪事物的状态，并在状态发生变化时触发`state_changed`事件。<sup>[6](https://developers.home-assistant.io/docs/architecture/core/)</sup>
- **服务注册表**在事件总线上监听`call_service`事件，并允许其他代码注册服务动作。<sup>[6](https://developers.home-assistant.io/docs/architecture/core/)</sup>
- **计时器**每秒在事件总线上发送一次`time_changed`事件。<sup>[6](https://developers.home-assistant.io/docs/architecture/core/)</sup>

典型的数据流从设备出发，经过其集成进入实体，进入状态机，再输出到事件总线，由自动化、记录器和前端消费。<sup>[9](https://doccompiler.ai/api/v1/jobs/shared/job_1776340060838_38db4cc1/download/home-assistant__core__UserGuide.pdf)</sup>

## 集成

Home Assistant Core通过集成进行扩展，每个集成负责一个特定领域。集成用Python编写，由一个组件（基础逻辑）和若干平台（与其他集成对接的部分）组成。<sup>[10](https://developers.home-assistant.io/docs/architecture_components/)</sup>文档区分了四种集成类型：定义物联网领域的集成，如`light`，它规定有哪些可用数据并提供控制动作；与外部设备和服务交互的集成，如[Philips Hue](https://www.edgepedia.org/zh/philips-hue)集成，它将Hue灯具作为light实体暴露出来；表示虚拟或计算数据点的集成，如`input_boolean`、`template`和`utility_meter`；以及提供自动化逻辑的集成，其中`automation`集成最为流行。<sup>[10](https://developers.home-assistant.io/docs/architecture_components/)</sup>

与外部设备和服务交互的集成通常不允许消费其他集成中实体的状态，但具有位置的实体除外，例如zone和device_tracker实体。<sup>[10](https://developers.home-assistant.io/docs/architecture_components/)</sup>一份2024年的第三方指南统计共有2778个集成。<sup>[11](https://automatednow.com/index.php?attachment_id=1496&dispatch=attachments.getfile)</sup>

## 本地控制与连接

该平台的一个决定性特征是本地运行。使用Zigbee、Z-Wave、[Matter](https://www.edgepedia.org/zh/matter-standard)、[Thread](https://www.edgepedia.org/zh/thread-network-protocol)和ESPHome等本地协议与Home Assistant通信的设备完全不需要互联网连接，断网期间灯具、开关、传感器和自动化仍以同样方式响应。<sup>[5](https://www.home-assistant.io/faq/works-without-internet)</sup>仍需互联网的部分交由用户选择：只与厂商云通信的设备，Home Assistant云服务的功能如远程访问和Apple Home、Google Home、[Amazon Alexa](https://www.edgepedia.org/zh/amazon-alexa)集成，以及更新和应用商店访问。只要存在本地替代方案，Home Assistant就优先采用本地方案。<sup>[5](https://www.home-assistant.io/faq/works-without-internet)</sup>

**Matter与Thread。** Matter集成控制本地Wi-Fi或Thread网络上的Matter设备。Matter产品在本地运行，无需互联网连接或云服务即可控制设备，不过某些厂商要求先注册账户才能在其自有中枢上启用Matter支持。该标准的Multi Fabric功能允许一台设备同时加入多个控制器，例如Google Home、Apple Home和Home Assistant，标准规定每台设备应至少支持5个Matter网络。Home Assistant仅充当Matter控制器；它无法将自己已有的设备变成兼容Matter的设备，不过非Matter设备可以通过SwitchBot Hub 2、Aqara Hub M2、宜家Dirigera或Philips Hue Bridge等桥接器接入。<sup>[12](https://www.home-assistant.io/integrations/matter/)</sup>使用基于Thread的Matter设备需要Home Assistant OS 10及以上版本。<sup>[12](https://www.home-assistant.io/integrations/matter/)</sup>

## 语音控制

Assist是Home Assistant内置的语音助手，于2023.2版引入。它让用户用自然语言控制智能家居，可以完全运行在用户自己的硬件上，因此语音指令保持私密。它可在配套应用、Home Assistant语音预览版等专用硬件以及使用ESPHome的自建设备上运行；如果用户愿意，它还可以使用大语言模型来处理更具对话性的请求。<sup>[7](https://www.home-assistant.io/voice_control/)</sup>该项目将2023年定为“语音之年”，目标是让用户用自己的语言控制Home Assistant。<sup>[13](https://arstechnica.com/gadgets/2024/02/can-you-manage-your-house-with-a-local-no-cloud-voice-assistant-mostly-yes/)</sup>

本地语音处理存在实际限制。[Ars Technica](https://www.edgepedia.org/zh/ars-technica) 2024年的评测发现，经常询问天气、当地营业时间或日历事项的用户会觉得Home Assistant当时的语音控制有所欠缺，而且语言处理工具Whisper对小型硬件是沉重负担，在Nabu Casa的云上运行要快得多。<sup>[13](https://arstechnica.com/gadgets/2024/02/can-you-manage-your-house-with-a-local-no-cloud-voice-assistant-mostly-yes/)</sup>

## 采用情况与云平台对比

据报道，Home Assistant已为超过一百万个家庭实现自动化。<sup>[4](https://www.techradar.com/computing/why-are-home-servers-trending-i-took-the-plunge-in-an-attempt-to-demystify-the-quiet-tech-community-of-tinkerers-that-are-choosing-to-build-upcycle-and-host-it-themselves)</sup>关于智能家居自动化配置的学术研究将其描述为最流行的平台之一，指出终端用户集成选定的设备并创建YAML文件来控制它们，而由于设备多样性和配置复杂性，许多用户难以正确创建这些文件。<sup>[8](https://arxiv.org/abs/2408.04755)</sup>

与Google Home等经由云端的消费级平台相比，Home Assistant的指令路径始终留在住宅内部：手机、本地网络、Home Assistant服务器、智能灯泡。对比评测认为它在控制、隐私和自动化灵活性方面占优，同时指出搭建它需要投入更多时间，也需要使用者愿意钻研技术。<sup>[14](https://smart-wired.com/home-assistant/vs-google-home/)</sup>评测者还称赞其隐私优先的做法，因为设备在本地集成时，数据和视频流从不离开本地家庭网络。<sup>[15](https://www.techradar.com/home/home-security/reolinks-trackflex-and-reoneura-ai-tackle-home-securitys-biggest-frustration)</sup>

**近期发展。** 版本仍按月发布。2026.10版在之前的地图提供商开始要求API密钥后，将地图迁移到[OpenStreetMap](https://www.edgepedia.org/zh/openstreetmap)，新增了Modbus连接面板、一键AI连接和15个新集成。<sup>[16](https://www.home-assistant.io/blog/2026/10/07/release-202610)</sup>同一版本的发布说明提到，Home Assistant云服务将更名为Home Assistant Link，该变更计划在12月版本中实施。<sup>[16](https://www.home-assistant.io/blog/2026/10/07/release-202610)</sup>

## References

1. [About us, Nabu Casa](https://www.nabucasa.com/about-us/)
2. [10 years Home Assistant, Home Assistant blog (2023)](https://www.home-assistant.io/blog/2023/09/17/10-years-home-assistant/)
3. [Works with Home Assistant becomes part of the Open Home Foundation, Home Assistant blog (2024)](https://www.home-assistant.io/blog/2024/08/08/works-with-home-assistant-becomes-part-ohf/)
4. [Why are home servers trending?, TechRadar](https://www.techradar.com/computing/why-are-home-servers-trending-i-took-the-plunge-in-an-attempt-to-demystify-the-quiet-tech-community-of-tinkerers-that-are-choosing-to-build-upcycle-and-host-it-themselves)
5. [Does Home Assistant work without an internet connection?, Home Assistant FAQ](https://www.home-assistant.io/faq/works-without-internet)
6. [Core architecture, Home Assistant Developer Docs](https://developers.home-assistant.io/docs/architecture/core/)
7. [Assist - Talk to your smart home with Home Assistant](https://www.home-assistant.io/voice_control/)
8. [Automation Configuration in Smart Home Systems: Challenges and Opportunities, arXiv:2408.04755](https://arxiv.org/abs/2408.04755)
9. [Home Assistant Core Userguide](https://doccompiler.ai/api/v1/jobs/shared/job_1776340060838_38db4cc1/download/home-assistant__core__UserGuide.pdf)
10. [Integration architecture, Home Assistant Developer Docs](https://developers.home-assistant.io/docs/architecture_components/)
11. [Home Assistant Installation and Usage Guide, AutomatedNow](https://automatednow.com/index.php?attachment_id=1496&dispatch=attachments.getfile)
12. [Matter integration, Home Assistant documentation](https://www.home-assistant.io/integrations/matter/)
13. [Can you manage your house with a local, no-cloud voice assistant? Mostly, yes., Ars Technica (2024)](https://arstechnica.com/gadgets/2024/02/can-you-manage-your-house-with-a-local-no-cloud-voice-assistant-mostly-yes/)
14. [Home Assistant vs Google Home: Which Is Right for You?, SmartWired](https://smart-wired.com/home-assistant/vs-google-home/)
15. [Reolink's TrackFlex and ReoNeura AI tackle home security's biggest frustration, TechRadar](https://www.techradar.com/home/home-security/reolinks-trackflex-and-reoneura-ai-tackle-home-securitys-biggest-frustration)
16. [2026.10: You are here, Home Assistant blog (2026)](https://www.home-assistant.io/blog/2026/10/07/release-202610)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 通信与日常技术 › 消费电子产品与设备 › Home and personal electronics › Smart home devices

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/home-assistant

English original: https://www.edgepedia.org/home-assistant
