Enabling HDMI CEC in configuration.yaml makes HA hang on start

Hi. First post!

I’m running hassio on a raspberry pi 3 b+. When I enable hdmi cec and reboot, I’m unable to get hassio to serve me the Web UI.

Here’s the hassio info:

core-ssh:/config# hassio info
arch: aarch64
channel: stable
hassos: "2.10"
homeassistant: 0.91.3
hostname: hassio
logging: info
machine: raspberrypi3-64
supervisor: "158"
supported_arch:
- aarch64
- armv7
- armhf

This is what I add to my configuration.yaml:

hdmi_cec:
  devices:
    0: TV

(I’ve also tried with the TV: 0.0.0.0 format)

After this, I reboot. The HA web UI never comes up. When I SSH into the box and get the HA logs via hassio ha logs --log-level=DEBUG, this is what I see:

2019-04-12 01:24:01 WARNING (ThreadPoolExecutor-1_0) [pycec] Not initialized. Waiting for init.
2019-04-12 01:24:01 INFO (Dummy-7) [openzwave] Driver ready using library Static Controller version Z-Wave 4.54
2019-04-12 01:24:01 INFO (Dummy-7) [openzwave] home_id 0xd09aa339, controller node id is 1
2019-04-12 01:24:01 INFO (ThreadPoolExecutor-0_0) [pycec.cec] found a CEC adapter:
2019-04-12 01:24:01 INFO (ThreadPoolExecutor-0_0) [pycec.cec] port:     RPI
2019-04-12 01:24:01 INFO (ThreadPoolExecutor-0_0) [pycec.cec] vendor:   0x2708
2019-04-12 01:24:01 INFO (ThreadPoolExecutor-0_0) [pycec.cec] product:  0x1001

(Pretty sure the openzwave stuff is unrelated.)

(Also of note is that I don’t see any DEBUG messages in the logs. Did the --log-level flag bit rot?)

I don’t see any errors in the logs, but I suspect something in cec is timing out. I don’t know how to get more detailed logs on what pycec is doing.

Any help is appreciated!

bump. if there’s a better category this post should be please let me know!

Same problem here when migrating from 0.90.2 to 0.91.x. If you really need CEC go back to
0.90.2, else disable CEC add-on and remove CEC config and it starts on 0.91.x

1 Like

Thanks! Will try with 0.90.2.

Can confirm, HDMI CEC works as expected in 0.90.2.

Filed https://github.com/home-assistant/home-assistant/issues/23317 .