mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 18:36:51 +00:00
Update hdmi_cec.markdown (#612)
This commit is contained in:
parent
b40dd958c3
commit
b2a4d97223
@ -25,6 +25,10 @@ The computer running Home Assistant must support CEC, and of course be connected
|
||||
|
||||
[libcec](https://github.com/Pulse-Eight/libcec) must be installed for this component to work. Follow the installation instructions for your environment, provided at the link. `libcec` installs Python 3 bindings, by default as a system Python module. If you are running Home Assistant in a Python virtual environment, make sure it can access the system module, by either symlinking it or using the `--system-site-packages` flag.
|
||||
|
||||
#### {% linkable_title Symlinking into virtual environment %}
|
||||
|
||||
`ln -s /usr/local/lib/python3.4/dist-packages/cec <your venv>/lib/python3.4/site-packages`
|
||||
|
||||
## {% linkable_title Configuration Example %}
|
||||
|
||||
In the following example, a Pi Zero running Home Assistant is on a TV's HDMI port 1. HDMI port 2 is attached to a AV receiver. Three devices are attached to the AV receiver on HDMI ports 1 through 3.
|
||||
|
Loading…
x
Reference in New Issue
Block a user