From cbe09f0c26af0484f3194477ca0b0e05b94dc1e9 Mon Sep 17 00:00:00 2001 From: Sjors Spoorendonk Date: Fri, 24 Mar 2017 21:22:58 +0100 Subject: [PATCH] Update raspberry-pi-all-in-one.markdown (#2206) * Update raspberry-pi-all-in-one.markdown Changed the way it showed what to do if you installed prior to december 2016. The replace with text made it unnecessary complicated. * Update raspberry-pi-all-in-one.markdown Changed code to Markdown --- .../raspberry-pi-all-in-one.markdown | 23 ++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/source/_docs/installation/raspberry-pi-all-in-one.markdown b/source/_docs/installation/raspberry-pi-all-in-one.markdown index 06e03d6c336..686297e48a5 100644 --- a/source/_docs/installation/raspberry-pi-all-in-one.markdown +++ b/source/_docs/installation/raspberry-pi-all-in-one.markdown @@ -63,9 +63,14 @@ To upgrade the All-In-One setup manually: * Update HA `pip3 install --upgrade homeassistant` * Type `exit` to logout the hass user and return to the `pi` user. -

-If you deployed Home Assistant via the AiO installer prior to December 2016, replace `sudo su -s /bin/bash homeassistant` with `sudo su -s /bin/bash hass` and `source /srv/homeassistant/homeassistant_venv/bin/activate` with `source /srv/hass/hass_venv/bin/activate`

- +
+**If you deployed Home Assistant via the AiO installer prior to December 2016** +* Login to Raspberry Pi `ssh pi@your_raspberry_pi_ip` +* Change to homeassistant user `sudo su -s /bin/bash hass` +* Change to virtual enviroment `source /srv/hass/hass_venv/bin/activate` +* Update HA `pip3 install --upgrade homeassistant` +* Type `exit` to logout the hass user and return to the `pi` user. +
To upgrade with fabric: @@ -96,9 +101,15 @@ To launch the OZWCP web application: * Open a web browser to `http://your_pi_ip:8888` * Specify your zwave controller, for example `/dev/ttyACM0` and hit initialize -

-If you deployed Home Assistant via the AiO installer prior to December 2016, replace `cd /srv/homeassistant/src/open-zwave-control-panel/` with `cd /srv/hass/src/open-zwave-control-panel/` -

+
+**If you deployed Home Assistant via the AiO installer prior to December 2016** +* Make sure Home Assistant is not running! So stop that first +* Login to Raspberry Pi `ssh pi@your_raspberry_pi_ip` +* Change to the ozwcp directory `cd /srv/hass/src/open-zwave-control-panel/` +* Launch the control panel `sudo ./ozwcp -p 8888` +* Open a web browser to `http://your_pi_ip:8888` +* Specify your zwave controller, for example `/dev/ttyACM0` and hit initialize +

Don't check the USB box regardless of using a USB based device.