I installed cec-utils and libcec but Home Assistant is still not working.
I can’t find the _cec.so file in the python*/dist-packages folder so I guess I miss something.
I tried to install libcec-dev because I think there could be the python bindings there, but it won’t install because of:
he following packages have unmet dependencies:
libcec-dev : Depends: libcec4 (= 4.0.1+dfsg1-1+rpi1) but 4.0.2.3~stretch is to be installed
E: Unable to correct problems, you have held broken packages.
I can’t find the instructions to build from source and I read that it doesn’t always work on Raspbian
edit, managed to build from source (link), now the devices are listed but they don’t respond to the commands
if I run the CEC commands from commandline they work just fine
also, Home Assistant returns the on/off status correctly
I’m having similar issues so far, and di dnot find a way to overcome them yet I had to compile from source as well since the versions in the repos where conflicting.
I also have Kodi installed on the same raspberry pi as HA, so I’m currently wondering whether the two of them are not conflicting
I managed to get it to work (at least from command line) but never got it working on HA, I ended up creating some custom HA scripts that called the command manually…