欢迎光临散文网 会员登陆 & 注册

树莓派Docker安装homeassistant-supervisor

2021-11-14 17:05 作者:Power_Tea  | 我要投稿

之前教大家安装的方法已经被原作者删除了,但是官方推出了方案这里分享给大家!!!

一.官方教程地址:

https://github.com/home-assistant/supervised-installer


二.安装包下载地址

homeassistant-supervised.deb安装包

https://github.com/home-assistant/supervised-installer/releases/tag/1.0.2

os-agent_1.2.2_linux_armv7.deb依赖包

https://github.com/home-assistant/os-agent/releases/tag/1.2.2


三.安装命令

sudo dpkg -i  (包名)


四.其他补充

(一)解决树莓派安装openwrt后无法上国内网站的问题

1.LAN口取消桥接;
2.防火墙添加"iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE",重启防火墙,立马就能访问了,以上两项步骤缺一不可。

(二)设置树莓派的静态ip

sudo nano /etc/network/interfaces

auto eth0
iface eth0 inet manual
auto macvlan
iface macvlan inet static
address
192.168.2.100
netmask 255.255.255.0
gateway 192.168.2.20
dns-nameservers 192.168.2.20
pre-up ip link add macvlan link eth0 type macvlan mode bridge
post-down ip link del macvlan link eth0 type macvlan mode bridge






 


树莓派Docker安装homeassistant-supervisor的评论 (共 条)

分享到微博请遵守国家法律