![]() ![]() Symlinking into virtual environmentĬreate a symlink to the cec installation including the _cec.so file. 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. libcec installs Python 3 bindings by default as a system Python module. Follow the installation instructions for your environment, provided at the link. Libcec must be installed for this integration to work. This section only applies to users of Home Assistant Core in a Python virtual environment. Note that all Raspberry Pi models support CEC natively. You can purchase a USB CEC adapter to add support if necessary. The computer running Home Assistant must support CEC, and of course be connected via HDMI to a device also supporting CEC. If it does not, use cec-client (part of the libcec package) to listen to traffic on the CEC bus and discover the correct numbers. Ideally the HDMI port number on your device will map correctly the CEC physical address. Any connected device can be listed, regardless of whether it supports CEC. Devices are listed from the perspective of the CEC-enabled Home Assistant device. Connected devices that provide further HDMI ports, such as sound-bars and AVRs are also supported. Devices are defined in the configuration file by associating HDMI port number and a device name. The hdmi_cec integration provides services that allow selecting the active device, powering on all devices, setting all devices to standby and creates switch entities for HDMI devices. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |