HASSbian is based on Raspbian and uses the same repositories. Any changes to Raspbian will be reflected in HASSbian. To update and upgrade system packages and installed software (excluding Home Assistant) do the following.
Log in as the
pi account and execute the following commands:
$ sudo apt-get update $ sudo apt-get -y upgrade
To update the Home Assistant installation execute the following command as the
$ sudo systemctl stop [email protected] $ sudo su -s /bin/bash homeassistant $ source /srv/homeassistant/bin/activate $ pip3 install --upgrade homeassistant $ exit $ sudo systemctl start [email protected]
To update the hassbian-scripts directory execute the following command as the
$ cd /home/pi/hassbian-scripts $ git pull