1/23/2018

更新Home Assistant

1,停止运行HA

1
sudo systemctl stop home-assistant@homeassistant.service

2,切换用户

1
sudo su -s /bin/bash homeassistant

3,进环境

1
source /srv/homeassistant/bin/activate

4,更新

1
pip3 install --upgrade homeassistant

5,退出
6,运行HA

1
sudo systemctl start home-assistant@homeassistant.service

#备忘手札

甲骨文云ubuntu系统关防火墙

  6、Ubuntu系统 开放所有端口 iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT iptables -F Ubuntu镜像默认设置了Iptable规则,关闭它, ap...