Home Assistant
安装 Home Assistant = 部署一个 Web 网站
Home assistant 是一个应用程序,其本质是一个网站。安装home assistant的过程,实际上是部署一个网站的过程。
Table of Contents
Home Assistant的层次结构
想要使用 Home Assistant,至少你得有一个设备来运行HA。
Debian OS # 操作系统
├── Python # 开发语言)
│ └── Home assistant Core( ) # ha web 服务器
└── Docker # 扩展功能(各种协议)
└── piper( ) # 扩展语音 + 协议
Home Assistant的内部结构
~/homeassistant/
└── config/
├── configuration.yaml # 主配置文件(核心,后面要改)
├── automations.yaml # 自动化规则
├── scripts.yaml # 脚本
├── scenes.yaml # 场景
├── secrets.yaml # 敏感信息(密码等)
├── home-assistant.log # 运行日志(排查问题看这里)
├── home-assistant_v2.db # 状态历史数据库(SQLite)
├── .storage/ # HA 内部数据(UI 配置、设备注册表等,别改)
├── deps/ # Python 依赖缓存
├── tts/ # 语音合成缓存
└── custom_components/ # 自定义组件(后
Comments
Be the first to post a comment