OpenWrt 的docker环境安装HassIO,支持斐讯N1的OpenWrt。
如果你的OpenWrt不好用可以下载使用我针对HomeAssistant编译的OpenWrt版本。
首先在OpenWrt的Docker目录下创建 jobs.json , 内容如下:
root@OpenWrt:/opt/docker/hassio# cat jobs.json
{"ignore_conditions": ["healthy"]}
如果你遇到了运行一会儿OpenWrt整个死机重启就好一会儿又死机的现象请点这里查看解决方法。
如果你遇到了运行一会儿OpenWrt整个死机重启就好一会儿又死机的现象请点这里查看解决方法。
如果你遇到了运行一会儿OpenWrt整个死机重启就好一会儿又死机的现象请点这里查看解决方法。
aarch64 架构包括树莓派3b+和4b,斐讯N1 和各种Arm架构的64位处理器设备。(注意更改命令里的/opt/docker/为你自己的docker路径)
x86_64架构的OpenWrt,一般虚拟机下的OpenWrt都是这个架构。(注意更改命令里的/opt/docker/为你自己的docker路径)
可以提供openwrt带docker的镜像连接吗
视频教程描述区有
error pulling image configuration: Get “https://registry-1.docker.io/v2/homeassistant/aarch64-hassio-supervisor/blobs/sha256:4483acfac29363075cb3bc2515f0cc839c7c96e20b9e684b1cf0e4b783377884”: net/http: TLS handshake timeout.
写的很清楚网络不能建立
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 重启也没有用
中国大陆地区自己想办法解决网络问题
搞定了。dns 问题
请问下在哪里修改dns?
大神,我在我的N1 OpenWRT上docker安装了HASSIO,请问这样的话,是不是N1的蓝牙硬件不会被正确驱动,是不是就无法通过HACS的Ble monitor插件链接小米的蓝牙温湿度传感器了?
要看你N1系统里有没有编译进去蓝牙驱动
大神能给个命令吗?或者咋看?我有些懵逼
/etc/rc.loal里有命令
请问下在哪里修改DNS?
大大,能提供下 N1 的 openwrt 的镜像包吗?恩山论坛上找了好多 openwrt 镜像都无法正常运行 docker
我没有编译过n1的openwrt
我一直在用恩山论坛找到的gd772的N1固件,最近跟着楼主安装了docker版的Hassio,除了缺少Nodered,其他稳定运行,地址如下:https://www.right.com.cn/forum/thread-3160780-1-2.html
可否提供下固件,原地址以经没有N1 openwrt固件了
[supervisor.store.data] Can’t read /data/addons/git/a0d7b954/chrony/config.json: required key not provided @ data[‘boot’]. Got None
安装后报错 没法安装插件 请问怎么解决
根据教程安装一般不会出问题,检查一下你是不是哪里落下了。
大佬你好,根据你的教程在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 –
请问是怎么回事呀
日志里显示IP被ban,换个IP访问
给什么换IP呀大佬?我的N1么?
昨日我用上面的命令拉取镜像,斐讯n1,拉取删除,多次后现在拉取这个镜像了,其他的不会镜像不会自动拉取了,是什么原因?
已經多個鏡像不會拉取,已經等了20分鐘,只有一個鏡像,資料內容如下:
21-08-19 20:14:53 INFO (MainThread) [supervisor.bootstrap] Use the old homeassistant repository for machine extraction
21-08-19 20:14:53 INFO (MainThread) [__main__] Initializing Supervisor setup
21-08-19 20:14:53 INFO (MainThread) [supervisor.docker.network] Can’t find Supervisor network, creating a new network
21-08-19 20:14:53 INFO (MainThread) [supervisor.bootstrap] Initializing Supervisor Sentry
21-08-19 20:15:04 WARNING (MainThread) [supervisor.utils.dt] Can’t fetch freegeoip data:
21-08-19 20:15:04 INFO (MainThread) [supervisor.bootstrap] Seting up coresys for machine: qemuarm-64
21-08-19 20:15:04 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attaching to Supervisor homeassistant/aarch64-hassio-supervisor with version 2020.12.7
21-08-19 20:15:04 INFO (SyncWorker_0) [supervisor.docker.supervisor] Connecting Supervisor to hassio-network
21-08-19 20:15:04 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.INITIALIZE
21-08-19 20:15:04 WARNING (MainThread) [supervisor.resolution.evaluations.docker_configuration] Docker logging driver json-file is not supported!
21-08-19 20:15:04 WARNING (MainThread) [supervisor.resolution.evaluations.base] The configuration of Docker is not supported (more-info: https://www.home-assistant.io/more-info/unsupported/docker_configuration)
21-08-19 20:15:04 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-08-19 20:15:04 INFO (MainThread) [__main__] Setting up Supervisor
21-08-19 20:15:04 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
21-08-19 20:15:09 WARNING (MainThread) [supervisor.dbus.systemd] No systemd support on the host. Host control has been disabled.
21-08-19 20:15:14 WARNING (MainThread) [supervisor.dbus.hostname] No hostname support on the host. Hostname functions have been disabled.
21-08-19 20:15:19 WARNING (MainThread) [supervisor.dbus.network] No Network Manager support on the host. Local network functions have been disabled.
21-08-19 20:15:24 WARNING (MainThread) [supervisor.dbus.rauc] Host has no rauc support. OTA updates have been disabled.
21-08-19 20:15:24 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
21-08-19 20:15:24 INFO (MainThread) [supervisor.host] Host information reload completed
21-08-19 20:15:24 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: set()
21-08-19 20:15:24 INFO (MainThread) [supervisor.host.apparmor] AppArmor is not enabled on host
21-08-19 20:15:25 INFO (SyncWorker_0) [supervisor.docker.interface] No version found for homeassistant/aarch64-hassio-dns
21-08-19 20:15:25 INFO (MainThread) [supervisor.plugins.dns] No CoreDNS plugin Docker image homeassistant/aarch64-hassio-dns found.
21-08-19 20:15:25 INFO (MainThread) [supervisor.plugins.dns] Running setup for CoreDNS plugin
21-08-19 20:15:25 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
21-08-19 20:15:35 WARNING (MainThread) [supervisor.updater] Can’t fetch versions from https://version.home-assistant.io/stable.json:
21-08-19 20:15:35 WARNING (MainThread) [supervisor.plugins.dns] Error on install CoreDNS plugin. Retry in 30sec
21-08-19 20:16:05 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
去下我新编译的
請問在哪?可以給個網址嗎?
https://GitHub.com/5high/HassOS-Actions
你好,可以在重新发一下arm架构的吗,我也是同样的问题,只安装了八个镜像就暂停了,后续没反应
那是你网络问题
网络我已经解决了
没解决彻底
我使用的是R4s,openwrt 使用的是您的版本,也设置好了墙,按着这个视频教程只安装了3个容器,8个镜像后续就没反应了,3个容器是正常运行显示是绿色的
这个链接里的HassOS-AutoBuild-aarch64不能下载,显示日志已过期
安装好了,但是HomeKit连接不上。找了好多教程也没有成功。我是爱快虚拟的openwrt。大佬,怎么解呀?
我安装好了可是supervidor用不了是什么情况说什么设置失败,,求解
docker: invalid reference format.
See ‘docker run –help’.
斐讯N1 提示这个 是啥情况
拉了第一个容器 日志提示网络问题 ,求助大佬怎么解决
注册用户之前付款还是注册用户之后付款
这什么原因啊
docker: failed to write digest data: open /opt/docker/image/vfs/imagedb/content/sha256/.tmp-388a8d1b25c4061d0c01c073cf1ba7d4a5c5f0ffd65db75e23217f9651c6dbbf705805865: no such file or directory.
See ‘docker run –help’.
进入后发现全是错误 无法更新等操作
我也是,进入hass后加载项不能使用,要更新Home Assistant Supervisor 才可以,最新版本为2023.07.1,但docker hub里没有找到07.1的,最新是06.3的,然后更新到06.3还是提示要更新到07.1。。。。无解啊
我也是,进入hass后加载项不能使用,要更新Home Assistant Supervisor 才可以,最新版本为2023.07.1,但docker hub里没有找到07.1的,最新是06.3的,然后更新到06.3还是提示要更新到07.1。。。。无解啊
你好,大神,有最新的N1拉取代码吗?旧代码是不是失效了呀!