diff --git a/atom.xml b/atom.xml index 2ac292a388..bf6348285c 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
The easiest way to install Home Assistant on your Raspberry Pi is by using Hassbian: a Raspberry Pi image with Home Assistant built-in. The image will install the latest version of Home Assistant on initial boot (~5 minutes).
+The easiest way to install Home Assistant on your Raspberry Pi is by using HASSbian: a Raspberry Pi image with Home Assistant built-in. The image will install the latest version of Home Assistant on initial boot (~5 minutes).
These instructions are also available as a video.
@@ -126,10 +126,112 @@src/homeassistant
/src/homeassistant/
homeassistant
/home/homeassistant/.homeassistant
To login to your Raspberry Pi running HASSbian your going to be using a ssh client. Depending on your platform there are several alternatives for doing this. Linux and Max OS generally have a ssh client installed. Windows users are recommended to download and install the ssh client Putty.
+ +Connect to the Raspberry Pi over ssh. Default user name is pi
and password is raspberry
.
+Linux and Mac OS users execute the following command in a terminal.
$ ssh pi@ip-address-of-pi
+
+Windows users start Putty, enter the IP address of the Raspberry Pi in the Host name field and port 22 in the Port field. Then click Open and a terminal window will open. Enter the credentials. Default user name is pi
and password is raspberry
.
Log in as the pi
account account and execute the following commands:
sudo systemctl stop home-assistant@homeassistant.service
+
+Replace stop
with start
or restart
to get the desired functionality.
+To get the current state of the homeassistant.service
replace stop
with status
.
Log in as the pi
account and execute the following commands:
sudo systemctl stop home-assistant@homeassistant.service
+sudo su -s /bin/bash homeassistant
+source /srv/homeassistant/bin/activate
+pip3 install --upgrade homeassistant
+exit
+sudo systemctl start home-assistant@homeassistant.service
+
+This will in order do the following:
+homeassistant
user running the Homeassistant service and that has ownership over the Home Assistant installation./src/homeassistant/
containing the Home Assistant installation.pi
user.Log in as the pi
account and execute the following commands:
sudo su -s /bin/bash homeassistant
+source /srv/homeassistant/bin/activate
+hass
+
+This will start Home Assistant in your shell and output anything that ends up in the log and more into the console. This will fail if the Home Assistant service is already running so don’t forget to stop it first.
+ +Log in as the pi
account and execute the following commands:
sudo su -s /bin/bash homeassistant
+source /srv/homeassistant/bin/activate
+hass --script check_config
+
+This will output any errors in your configuration files to console.
+ +Log in as the pi
account and execute the following commands:
sudo su -s /bin/bash homeassistant
+cd /home/homeassistant/.homeassistant
+nano homeassistant.log
+
+This will in order do the following:
+homeassistant
user.Optionaly, you can also view the log with journalctl
.
+Log in as the pi
account and execute the following commands:
sudo journalctl -fu home-assistant@homeassistant.service
+
+Log in as the pi
account and execute the following commands:
sudo su -s /bin/bash homeassistant
+cd /home/homeassistant/.homeassistant
+nano configuration.yaml
+
+This will in order do the following:
+homeassistant
user.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 upgrade
+
+Press Y
to confirm that you would like to continue.
If you run into any issues, please see the troubleshooting page. It contains solutions to many of the more commonly encountered issues.
diff --git a/getting-started/updating/index.html b/getting-started/updating/index.html index d2c3870fb4..ffc6f4abd0 100644 --- a/getting-started/updating/index.html +++ b/getting-started/updating/index.html @@ -95,7 +95,7 @@ -Different installation methods as Raspberry Pi All-In-One Installer, Vagrant, or Virtualenv may have an alternative way for updating Home Assistant.
+Different installation methods as HASSbian, Raspberry Pi All-In-One Installer, Vagrant, or Virtualenv may have an alternative way for updating Home Assistant.
After updating, restart Home Assistant for the changes to take effect. This means that you have to restart hass
itself or the autostarting daemon if you use any.