homeassistant开源控制设备软件

 火... [复制链接]  5466查看
易西 发表于 2024-9-22 19:33:19 | 显示全部楼层 |阅读模式
[发帖际遇]: 一个袋子砸在了 易西 头上,易西 赚了 2 金钱. 幸运榜 / 衰神榜
 楼主| 易西 发表于 2024-9-22 19:38:21 | 显示全部楼层
 楼主| 易西 发表于 2024-9-22 19:40:24 | 显示全部楼层
 楼主| 易西 发表于 2024-9-22 19:45:18 | 显示全部楼层
 楼主| 易西 发表于 2024-9-22 19:46:17 | 显示全部楼层
Platform installation
Installation with Docker is straightforward. Adjust the following command so that:

/PATH_TO_YOUR_CONFIG points at the folder where you want to store your configuration and run it. Make sure that you keep the part.:/config

MY_TIME_ZONE is a tz database name, like .TZ=America/Los_Angeles

D-Bus is optional but required if you plan to use the Bluetooth integration.

Install
Update
docker run -d \
  --name homeassistant \
  --privileged \
  --restart=unless-stopped \
  -e TZ=MY_TIME_ZONE \
  -v /PATH_TO_YOUR_CONFIG:/config \
  -v /run/dbus:/run/dbus:ro \
  --network=host \
  ghcr.io/home-assistant/home-assistant:stable
Bash
Once the Home Assistant Container is running Home Assistant should be accessible using (replace with the hostname or IP of the system). You can continue with onboarding.http://<host>:8123
 楼主| 易西 发表于 2024-9-22 19:50:58 | 显示全部楼层
 楼主| 易西 发表于 2024-9-22 20:05:09 | 显示全部楼层
 楼主| 易西 发表于 2024-9-22 20:12:37 | 显示全部楼层
 楼主| 易西 发表于 2024-9-22 20:13:06 | 显示全部楼层
使用 Docker 应用容器引擎可以让 Home Assistant 的部署更加方便快捷,也更易于管理。腾讯云提供了 Docker 基础镜像,可以免去安装 Docker 的步骤,实现快速部署容器化应用。Mosquitto 是一个轻量级的MQTT服务应用,实现了MQTT协议版本3.1和3.1.1,它将负责终端设备与 Home Assistant 间的通讯。
[发帖际遇]: 易西 被钱袋砸中进医院,看病花了 4 金钱. 幸运榜 / 衰神榜
 楼主| 易西 发表于 2024-9-22 20:14:37 | 显示全部楼层
镜像版本:CentOS7.6-Docker20
Docker:20.10.12
Home Assistant:core-2021.11.3
Mosquitto:1.6.10
[发帖际遇]: 易西 在网吧通宵,花了 4 金钱. 幸运榜 / 衰神榜
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

邮箱|首页|小黑屋|吾侪 ( 蜀ICP备2020029307号-4 )

GMT+8, 2025-11-5 04:07 , Processed in 0.056568 second(s), 17 queries , APCu On.

Powered by Discuz! X3.5

Copyright © , 吾侪网

快速回复 返回顶部 返回列表