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
This commit is contained in:
Sjors Spoorendonk 2017-03-24 21:22:58 +01:00 committed by Fabian Affolter
parent 44656dd2f0
commit cbe09f0c26

View File

@ -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.
<p class='note note'>
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`</p>
<div class='note note'>
**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.
</div>
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
<p class='note note'>
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/`
</p>
<div class='note note'>
**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
</div>
<p class='note warning'>
Don't check the USB box regardless of using a USB based device.