『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
楼主: zsqduke

[快速入门] 2021年最新N1安装HA Supervised教程(官方支持版本)

  [复制链接]

0

主题

9

帖子

212

积分

中级会员

Rank: 3Rank: 3

积分
212
金钱
203
HASS币
0
发表于 2022-3-1 23:21:26 | 显示全部楼层
本帖最后由 rulee 于 2022-3-1 23:31 编辑

看起来安装成功了,不过等了很久还是不能访问到 http://192.168.3.115:8123

-----------------------------------------------------------------------------------------------------
root@arm-64:~# dpkg --install homeassistant-supervised.deb
(Reading database ... 36386 files and directories currently installed.)
Preparing to unpack homeassistant-supervised.deb ...
[warn]
[warn] If you want more control over your own system, run
[warn] Home Assistant as a VM or run Home Assistant Core
[warn] via a Docker container.
[warn]
Leaving 'diversion of /etc/NetworkManager/NetworkManager.conf to /etc/NetworkManager/NetworkManager.conf.real by homeassistant-supervised'
Leaving 'diversion of /etc/NetworkManager/system-connections/default to /etc/NetworkManager/system-connections/default.real by homeassistant-supervised'
Leaving 'diversion of /etc/docker/daemon.json to /etc/docker/daemon.json.real by homeassistant-supervised'
Leaving 'diversion of /etc/network/interfaces to /etc/network/interfaces.real by homeassistant-supervised'
Unpacking homeassistant-supervised (1.1.0) over (1.1.0) ...
Setting up homeassistant-supervised (1.1.0) ...
[info] Restarting NetworkManager
[info] Restarting docker service
ping: version.home-assistant.io: Name or service not known
[info] Waiting for version.home-assistant.io - network interface might be down...
ping: version.home-assistant.io: Name or service not known
[info] Waiting for version.home-assistant.io - network interface might be down...
ping: version.home-assistant.io: Name or service not known
[info] Waiting for version.home-assistant.io - network interface might be down...
PING version.home-assistant.io (104.26.4.238) 56(84) bytes of data.

--- version.home-assistant.io ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms

[info] Waiting for version.home-assistant.io - network interface might be down...
PING version.home-assistant.io (172.67.68.90) 56(84) bytes of data.
64 bytes from 172.67.68.90 (172.67.68.90): icmp_seq=1 ttl=53 time=166 ms

--- version.home-assistant.io ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 165.961/165.961/165.961/0.000 ms
[info] Install supervisor Docker container
[info] Install supervisor startup scripts
[info] Install AppArmor scripts
[info] Start Home Assistant Supervised
[info] Installing the 'ha' cli
[info] Within a few minutes you will be able to reach Home Assistant at:
[info] http://homeassistant.local:8123 or using the IP address of your

-----------------------------------------------------------------------------------------------------

1646147862740.jpg

补充一下
1. 看了docker,有一些images/containers
2. 路由器显示机器是有在下载东西看起来是网络比较慢
我就慢慢等吧
-----------------------------------------------------------------------------------------------------
root@arm-64:~# docker images
REPOSITORY                                         TAG         IMAGE ID       CREATED        SIZE
ghcr.io/home-assistant/aarch64-hassio-supervisor   2022.01.1   d31464681fd6   4 weeks ago    310MB
ghcr.io/home-assistant/aarch64-hassio-supervisor   latest      d31464681fd6   4 weeks ago    310MB
ghcr.io/home-assistant/aarch64-hassio-cli          2021.12.0   f7f5a8689e04   2 months ago   90.5MB
root@arm-64:~# docker container ls
CONTAINER ID   IMAGE                                                 COMMAND                  CREATED          STATUS          PORTS     NAMES
773da9a4f175   ghcr.io/home-assistant/aarch64-hassio-cli:2021.12.0   "/init /bin/bash -c …"   25 minutes ago   Up 25 minutes             hassio_cli
705cda15462a   ghcr.io/home-assistant/aarch64-hassio-supervisor      "/init"                  27 minutes ago   Up 27 minutes             hassio_supervisor
-----------------------------------------------------------------------------------------------------

1646148509272.jpg
回复

使用道具 举报

0

主题

5

帖子

35

积分

新手上路

Rank: 1

积分
35
金钱
30
HASS币
0
发表于 2022-3-5 18:07:41 | 显示全部楼层
# dpkg -i homeassistant-supervised.deb.2
(Reading database ... 36403 files and directories currently installed.)
Preparing to unpack homeassistant-supervised.deb.2 ...
[warn]
[warn] If you want more control over your own system, run
[warn] Home Assistant as a VM or run Home Assistant Core
[warn] via a Docker container.
[warn]
Leaving 'diversion of /etc/NetworkManager/NetworkManager.conf to /etc/NetworkManager/NetworkManager.conf.real by homeassistant-supervised'
Leaving 'diversion of /etc/NetworkManager/system-connections/default to /etc/NetworkManager/system-connections/default.real by homeassistant-supervised'
Leaving 'diversion of /etc/docker/daemon.json to /etc/docker/daemon.json.real by homeassistant-supervised'
Leaving 'diversion of /etc/network/interfaces to /etc/network/interfaces.real by homeassistant-supervised'
Unpacking homeassistant-supervised (1.1.0) over (1.1.0) ...
Setting up homeassistant-supervised (1.1.0) ...
[info] Restarting NetworkManager
[info] Restarting docker service
PING version.home-assistant.io (104.26.4.238) 56(84) bytes of data.
64 bytes from 104.26.4.238 (104.26.4.238): icmp_seq=1 ttl=53 time=168 ms

--- version.home-assistant.io ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 168.214/168.214/168.214/0.000 ms
[info] Install supervisor Docker container
error pulling image configuration: Get "https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:d31464681fd61e18990bed2d80639dc0a2e5b0ef982d0db243e579617603c8f4?se=2022-03-05T10%3A15%3A00Z&sig=Oz26tic1BDmvlsq%2Bu4msKK2sTYqJKzeXN6aYNeWrv%2Bc%3D&sp=r&spr=https&sr=b&sv=2019-12-12": dial tcp: lookup pkg-containers.githubusercontent.com: no such host
dpkg: error processing package homeassistant-supervised (--install):
installed homeassistant-supervised package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
homeassistant-supervised
回复

使用道具 举报

0

主题

9

帖子

212

积分

中级会员

Rank: 3Rank: 3

积分
212
金钱
203
HASS币
0
发表于 2022-3-5 18:31:03 | 显示全部楼层
mikemyself 发表于 2022-3-5 18:07
# dpkg -i homeassistant-supervised.deb.2
(Reading database ... 36403 files and directories currently ...

> error pulling image configuration

看起来是网络问题,只能搞个科学上网,或是半夜来做网络条件会好一点
回复

使用道具 举报

0

主题

9

帖子

212

积分

中级会员

Rank: 3Rank: 3

积分
212
金钱
203
HASS币
0
发表于 2022-3-5 18:36:26 | 显示全部楼层
来补充一下成果

1646476341066.jpg
回复

使用道具 举报

47

主题

167

帖子

668

积分

高级会员

Rank: 4

积分
668
金钱
501
HASS币
0
发表于 2022-3-6 16:08:15 | 显示全部楼层
想问下 这下面两个镜像都有啥区别啊?我以前N1一直装的第一个镜像,然后这两天卸了第一个镜像 装第二个镜像一直报错。
docker run -d \
--name homeassistant \
--restart=always \
-p 8123:8123 \
-e "TZ=Asia/Shanghai" \
-v /etc/timezone:/etc/timezone:ro \
-v /etc/localtime:/etc/localtime:ro \
-v /usr/local/docker/homeassistant/config:/config \
homeassistant/home-assistant:stable



这个装好以后一直报错提示下载个啥玩意,下了几天了依然还在下,就想卡住一样,进不去管理页面

docker run -d \
--name hassio-supervisor \
--restart=always \
--privileged \
-p 8123:8123 \
-e SUPERVISOR_SHARE="/usr/local/docker/hassio-supervisor" \
-e SUPERVISOR_NAME=hassio_supervisor \
-e HOMEASSISTANT_REPOSITORY="homeassistant/qemuarm-64-homeassistant" \
-e "TZ=Asia/Shanghai" \
-v /etc/timezone:/etc/timezone:ro \
-v /etc/localtime:/etc/localtime:ro \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/run/dbus:/var/run/dbus \
-v /usr/local/docker/hassio-supervisor:/data \
homeassistant/aarch64-hassio-supervisor


回复

使用道具 举报

3

主题

34

帖子

160

积分

注册会员

Rank: 2

积分
160
金钱
126
HASS币
0
发表于 2022-3-13 19:20:53 来自手机 | 显示全部楼层
我想问下成功的小伙伴,安装完homeassistant带supervisor加载项吗?
回复

使用道具 举报

3

主题

34

帖子

160

积分

注册会员

Rank: 2

积分
160
金钱
126
HASS币
0
发表于 2022-3-13 19:22:08 来自手机 | 显示全部楼层
rulee 发表于 2022-3-1 23:21
看起来安装成功了,不过等了很久还是不能访问到 http://192.168.3.115:8123

---------------------------- ...

我想问下成功的小伙伴,安装完homeassistant带supervisor加载项吗?
回复

使用道具 举报

3

主题

34

帖子

160

积分

注册会员

Rank: 2

积分
160
金钱
126
HASS币
0
发表于 2022-3-14 07:22:24 来自手机 | 显示全部楼层
rulee 发表于 2022-3-5 18:36
来补充一下成果

你好,我想问下,有supervisor加载项吗?
回复

使用道具 举报

3

主题

34

帖子

160

积分

注册会员

Rank: 2

积分
160
金钱
126
HASS币
0
发表于 2022-3-14 08:14:49 来自手机 | 显示全部楼层
楼主你好,我用的armbian官网论坛上的balbes150做的固件,这个固件链接下载在哪里
回复

使用道具 举报

0

主题

3

帖子

56

积分

注册会员

Rank: 2

积分
56
金钱
53
HASS币
0
发表于 2022-3-16 10:01:07 | 显示全部楼层
我按照楼主的步骤,刷机卡在这里,换了几个U盘也是一样的。
刷机之前是armbian5.77系统,直接做的U盘启动,文件那些都没问题
4004b2698decb1e38a88814b56e8ee3.jpg
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-23 18:19 , Processed in 0.057312 second(s), 32 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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