首先在OpenWrt的Docker目录下创建 jobs.json , 内容如下:

[email protected]:/opt/docker/hassio# cat jobs.json

{"ignore_conditions": ["healthy"]}

视频教程:

aarch64 架构包括树莓派3b+和4b,斐讯N1 和各种Arm架构的64位处理器设备。

docker run -d --name hassio_supervisor --privileged \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/run/dbus:/var/run/dbus \
-v /opt/docker/hassio:/data \
-e SUPERVISOR_SHARE="/opt/docker/hassio" \
-e SUPERVISOR_NAME=hassio_supervisor \
-e HOMEASSISTANT_REPOSITORY="homeassistant/qemuarm-64-homeassistant" \
--restart unless-stopped homeassistant/aarch64-hassio-supervisor:2020.12.7
x86_64架构的OpenWrt,一般虚拟机下的OpenWrt都是这个架构。

docker run -d --name hassio_supervisor --privileged \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /var/run/dbus:/var/run/dbus \
-v /opt/docker/hassio:/data \
-e SUPERVISOR_SHARE="/opt/docker/hassio" \
-e SUPERVISOR_NAME=hassio_supervisor \
-e HOMEASSISTANT_REPOSITORY="homeassistant/qemux86-64-homeassistant" \
--restart unless-stopped homeassistant/amd64-hassio-supervisor:2020.12.7

21 对 “OpenWrt 的docker环境安装HassIO,支持斐讯N1的OpenWrt。”的想法;

  1. error pulling image configuration: Get “https://registry-1.docker.io/v2/homeassistant/aarch64-hassio-supervisor/blobs/sha256:4483acfac29363075cb3bc2515f0cc839c7c96e20b9e684b1cf0e4b783377884”: net/http: TLS handshake timeout.

  2. Unable to find image ‘homeassistant/amd64-hassio-supervisor:2020.12.7’ locally
    docker: Error response from daemon: Get “https://registry-1.docker.io/v2/”: dial tcp: lookup registry-1.docker.io on [::1]:53: server misbehaving.
    See ‘docker run –help’.

    docker 重启也没有用

  3. 大神,我在我的N1 OpenWRT上docker安装了HASSIO,请问这样的话,是不是N1的蓝牙硬件不会被正确驱动,是不是就无法通过HACS的Ble monitor插件链接小米的蓝牙温湿度传感器了?

    1. 我一直在用恩山论坛找到的gd772的N1固件,最近跟着楼主安装了docker版的Hassio,除了缺少Nodered,其他稳定运行,地址如下:https://www.right.com.cn/forum/thread-3160780-1-2.html

  4. [supervisor.store.data] Can’t read /data/addons/git/a0d7b954/chrony/config.json: required key not provided @ data[‘boot’]. Got None

    安装后报错 没法安装插件 请问怎么解决

  5. 大佬你好,根据你的教程在N1的docker里面安装了hassos,但是在supervisor里安装File editor后发现发不开,
    显示:
    网址为http://192.168.20.226:8123/api/hassio_ingress/Sn_Sxib18LMph5wa_iSCTyt1ftOUQJ45VY5jaxuCvNw/ 的页面可能存在问题,或者已永久移动到新的网址。
    查看log发现:
    WARNING:2021-02-07 18:25:16,356:hass_configurator.configurator:Client IP not within allowed networks.
    INFO:2021-02-07 18:25:16,357:hass_configurator.configurator:172.30.32.1 – “GET / HTTP/1.1” 420 –
    WARNING:2021-02-07 18:25:58,885:hass_configurator.configurator:Client IP banned.
    INFO:2021-02-07 18:25:58,886:hass_configurator.configurator:172.30.32.1 – “GET / HTTP/1.1” 420 –
    请问是怎么回事呀

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据

Advertisment ad adsense adlogger