CEC Scanner Issue

Hello everyone, HA newbie here :slight_smile:

I Installed HA using the default hass.io method on RPi 3B+
My RPi is connected to my TV via HDMI
I would like to configure the CEC plugin

When tryting to run the CEC Scanner I get the following error:

[08:08:02] INFO: Starting CEC client scan...
opening a connection to the CEC adapter...
ERROR:   [              55]	RegisterLogicalAddress - CEC is being used by another application. Run "tvservice --off" and try again.
ERROR:   [              55]	Open - vc_cec could not be initialised
ERROR:   [              55]	could not open a connection (try 1)
ERROR:   [            1056]	RegisterLogicalAddress - CEC is being used by another application. Run "tvservice --off" and try again.
ERROR:   [            1056]	Open - vc_cec could not be initialised
ERROR:   [            1056]	could not open a connection (try 2)
ERROR:   [            2057]	RegisterLogicalAddress - CEC is being used by another application. Run "tvservice --off" and try again.
ERROR:   [            2057]	Open - vc_cec could not be initialised
ERROR:   [            2057]	could not open a connection (try 3)
ERROR:   [            3057]	RegisterLogicalAddress - CEC is being used by another application. Run "tvservice --off" and try again.
ERROR:   [            3057]	Open - vc_cec could not be initialised
ERROR:   [            3057]	could not open a connection (try 4)
ERROR:   [            4064]	RegisterLogicalAddress - CEC is being used by another application. Run "tvservice --off" and try again.
ERROR:   [            4064]	Open - vc_cec could not be initialised
ERROR:   [            4064]	could not open a connection (try 5)
ERROR:   [            5064]	RegisterLogicalAddress - CEC is being used by another application. Run "tvservice --off" and try again.
ERROR:   [            5064]	Open - vc_cec could not be initialised
ERROR:   [            5064]	could not open a connection (try 6)
ERROR:   [            6065]	RegisterLogicalAddress - CEC is being used by another application. Run "tvservice --off" and try again.
ERROR:   [            6065]	Open - vc_cec could not be initialised
ERROR:   [            6065]	could not open a connection (try 7)
ERROR:   [            7066]	RegisterLogicalAddress - CEC is being used by another application. Run "tvservice --off" and try again.
ERROR:   [            7066]	Open - vc_cec could not be initialised
ERROR:   [            7066]	could not open a connection (try 8)
ERROR:   [            8069]	RegisterLogicalAddress - CEC is being used by another application. Run "tvservice --off" and try again.
ERROR:   [            8069]	Open - vc_cec could not be initialised
ERROR:   [            8070]	could not open a connection (try 9)

Searching for a solution led me to this link but it didn’t provide much info on how to troubleshoot
I tried to ssh into the hass system using the SSH addon but I wasn’t able to find or install the tvservice utility.

What is the proper way to address this issue? I’m a bit familiar with linux but when I ssh I can’t find any installed tools or ways to install tools (apt / yum / etc.)

Thanks
Omer

1 Like

Same issue here. Haven’t found an answer either …

Got it working! Here’s what I did:
Enabled HDMI CEC (anynet+ in my case --> Samsung)
Kept TV on
REBOOTED my Home Assistant. Server restarts didn’t work, but the REBOOT is what did it for me!
Reboot is under Supervisor --> System --> Host system

I have the same setup as you so this might work for you. Just make sure the TV is connected before you do the reboot.

1 Like