So Ive been struggling to get this component to work. Im updated to .37.
I then followed the instructions found at the bottom of this post:
sudo apt-get install libcec3
sudo ln -s /usr/local/lib/python3.4/dist-packages/cec /srv/hass/hass_venv/lib/python3.4/site-packages
sudo apt-get install cmake liblockdev1-dev libudev-dev libxrandr-dev python-dev swig
cd
git clone https://github.com/Pulse-Eight/platform.git
mkdir platform/build
cd platform/build
cmake ..
make
sudo make install
cd
git clone https://github.com/Pulse-Eight/libcec.git
mkdir libcec/build
cd libcec/build
cmake -DRPI_INCLUDE_DIR=/opt/vc/include -DRPI_LIB_DIR=/opt/vc/lib ..
make -j4
sudo make install
sudo ldconfig
I then got an error on the front end stating the component wasnt set up properly (I cant remember the exact error). In gitter, someone told me to try the following:
sudo rm /srv/hass/hass_venv/lib/python3.4/site-packages
sudo -s/usr/local/lib/python3.4/site-packages/cec//srv/hass_venv/lib/python3.4/site-packages/cec
Now Im getting this error:
WARNING (Thread-16) [pycec] Not initialized. Waiting for init.
And then it wont boot. And this is where I’m stuck.
In case its helpful, here is the full log from the install.
Any ideas?