Skip to content

Commit cbe09f0

Browse files
Sjors Spoorendonkfabaff
Sjors Spoorendonk
authored andcommitted
Update raspberry-pi-all-in-one.markdown (home-assistant#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
1 parent 44656dd commit cbe09f0

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

source/_docs/installation/raspberry-pi-all-in-one.markdown

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,14 @@ To upgrade the All-In-One setup manually:
6363
* Update HA `pip3 install --upgrade homeassistant`
6464
* Type `exit` to logout the hass user and return to the `pi` user.
6565

66-
<p class='note note'>
67-
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>
68-
66+
<div class='note note'>
67+
**If you deployed Home Assistant via the AiO installer prior to December 2016**
68+
* Login to Raspberry Pi `ssh pi@your_raspberry_pi_ip`
69+
* Change to homeassistant user `sudo su -s /bin/bash hass`
70+
* Change to virtual enviroment `source /srv/hass/hass_venv/bin/activate`
71+
* Update HA `pip3 install --upgrade homeassistant`
72+
* Type `exit` to logout the hass user and return to the `pi` user.
73+
</div>
6974

7075
To upgrade with fabric:
7176

@@ -96,9 +101,15 @@ To launch the OZWCP web application:
96101
* Open a web browser to `http://your_pi_ip:8888`
97102
* Specify your zwave controller, for example `/dev/ttyACM0` and hit initialize
98103

99-
<p class='note note'>
100-
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/`
101-
</p>
104+
<div class='note note'>
105+
**If you deployed Home Assistant via the AiO installer prior to December 2016**
106+
* Make sure Home Assistant is not running! So stop that first
107+
* Login to Raspberry Pi `ssh pi@your_raspberry_pi_ip`
108+
* Change to the ozwcp directory `cd /srv/hass/src/open-zwave-control-panel/`
109+
* Launch the control panel `sudo ./ozwcp -p 8888`
110+
* Open a web browser to `http://your_pi_ip:8888`
111+
* Specify your zwave controller, for example `/dev/ttyACM0` and hit initialize
112+
</div>
102113

103114
<p class='note warning'>
104115
Don't check the USB box regardless of using a USB based device.

0 commit comments

Comments
 (0)