Skip to content

Latest commit

 

History

History
47 lines (40 loc) · 1.54 KB

homeassistant.md

File metadata and controls

47 lines (40 loc) · 1.54 KB

Description

This is a copy of the installation script run during first boot of your Raspberry Pi with the Hassbian image
And an easy way to upgrade Home Assistant to the newest version.

Installation

NB!: This is installed by Hassbian, and should not be run additionally

$ sudo hassbian-config install homeassistant

Upgrade

$ sudo hassbian-config upgrade homeassistant

Upgrade to beta channel

$ sudo hassbian-config upgrade homeassistant --beta

Upgrade to dev branch

$ sudo hassbian-config upgrade homeassistant --dev

Upgrade to to a specific version

$ sudo hassbian-config upgrade homeassistant=0.65.6

Additional info

Running as: homeassistant
Configuration dir: /home/homeassistant/.homeassistant/
Start service: sudo systemctl start [email protected]
Stop service: sudo systemctl stop [email protected]
Restart service: sudo systemctl restart [email protected]
Service status: sudo systemctl status [email protected]
Enter the virtual environment where Home Assistant is installed as homeassistant:

sudo su -s /bin/bash homeassistant
source /srv/homeassistant/bin/activate

When you are done, type exit to return to the pi user.


The installation script was originally contributed by @Landrash.
The upgrade scripts was originally contributed by @Ludeeus.