General cleanup of new merged pull requests (#1458)
* Update sensor.synologydsm.markdown Changes to spelling and formatting. * Update sensor.command_line.markdown Fix spelling, grammar and rewrote some instructions. * Update hdmi_cec.markdown Fix spelling and formatting.
This commit is contained in:
parent
2641693202
commit
231814be86
3 changed files with 32 additions and 25 deletions
|
@ -33,20 +33,28 @@ Create a symlink to the `cec` installation.
|
|||
$ ln -s /usr/local/lib/python3.4/dist-packages/cec /path/to/your/venv/lib/python3.4/site-packages
|
||||
```
|
||||
|
||||
For the default virtual environment of a [Raspberry Pi AIO](/getting-started/installation-raspberry-pi-all-in-one/) the command would be as follows.
|
||||
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
|
||||
```
|
||||
|
||||
<p class='note'>If after symlinking and adding `hdmi_cec:` to your configuration you are getting the following error in your logs,
|
||||
`* failed to open vchiq instance` you will also need to add the user account Home Asssistant runs under, to the `video` group. To add the Home Assisitant's user account to the `video` group, run the following command. `$ usermod -a -G video <hass_user_account>`
|
||||
`* failed to open vchiq instance` you will also need to add the user account Home Asssistant runs under, to the `video` group. To add the Home Assistant user account to the `video` group, run the following command. `$ usermod -a -G video <hass_user_account>`
|
||||
</p>
|
||||
|
||||
## {% linkable_title Testing your installation %}
|
||||
|
||||
* Login to Raspberry Pi `ssh pi@your_raspberry_pi_ip`
|
||||
* at the command line type: `echo scan | cec-client -s -d 1`
|
||||
* Login to Raspberry Pi
|
||||
|
||||
```bash
|
||||
ssh pi@your_raspberry_pi_ip
|
||||
```
|
||||
* at the command line type:
|
||||
|
||||
```bash
|
||||
echo scan | cec-client -s -d 1
|
||||
```
|
||||
* This will give you the list of devices that are on the bus
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue