Merge branch 'current' into next

This commit is contained in:
Paulus Schoutsen 2017-02-04 20:49:32 -08:00
commit d3627d6af7
54 changed files with 1111 additions and 372 deletions

View file

@ -27,16 +27,23 @@ The computer running Home Assistant must support CEC, and of course be connected
#### {% linkable_title Symlinking into virtual environment %}
Create a symlink to the `cec` installation.
Create a symlink to the `cec` installation. Keep in mind different installation methods will result in different locations of cec.
```bash
$ ln -s /usr/local/lib/python3.4/dist-packages/cec /path/to/your/venv/lib/python3.4/site-packages
$ ln -s /path/to/your/installation/of/cec /path/to/your/venv/lib/python3.4/site-packages
```
##### {% linkable_title Symlinking examples: %}
For the default virtual environment of a [HASSbian Image for Raspberry Pi](/getting-started/installation-raspberry-pi-image/) the command would be as follows.
```bash
$ ln -s /usr/local/lib/python3.4/dist-packages/cec /srv/homeassistant/lib/python3.4/site-packages
```
For the default virtual environment of a [Raspberry Pi All-In-One installation](/getting-started/installation-raspberry-pi-all-in-one/) the command would be as follows.
```bash
$ ln -s /usr/local/lib/python3.4/dist-packages/cec /srv/hass/hass_venv/lib/python3.4/site-packages
$ ln -s /usr/local/lib/python3.4/site-packages/cec /srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages
```
For the default virtual environment of a [Manual installation](/getting-started/installation-raspberry-pi/) the command would be as follows.