-
-
Notifications
You must be signed in to change notification settings - Fork 29.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HDMI Cec not working #15406
Comments
64bit ? |
@pvizeli Thanks for your message. Could you kindly elaborate? Not sure what you mean by that. |
What kind of host system do you use? ResinOS/HassOS/raspbian ? |
Hass.io which I understand should be HassOs? As per hdmi_cec component: If you are using Hass.io then just move forward to the configuration as all requirements are already fulfilled. |
I'm experiencing issues with hdmi_cec component as well. It doesn't detect the hdmi devices connected. Made a clean install with the 0.73.1 Hass.io image based on HassOS (64bit) on a new Raspberry PI 3B+, and copied my configuration from my previous instalment. I'm getting the I have tried to set the log level to debug and pulled out these logs:
|
I’m having the same problem. I’m using hassio running on Resin OS 2.3.0+rev1 on a raspberry pi 3 |
My error has evolved into:
Which is consistent with the reports on #15514. |
this is my error
|
I attempted to move to HassOS to see if it changed anything, but unfortunately I'm having the same issues. configuration.yaml:
error message:
I don't know if it would be useful or not, but here's the output from the CEC Scanner add-on:
|
Updating to 0.74.1 fixed it for me |
Still happens for me on 0.74.2.
I feel this error, while being the original error, it is different than the "No module named cec" which seems fixed. Under current situation, hdmi_cec services appear. However, no devices are detected. When trying to run a command, say power on, this is the error generated:
This means self._adapter is None. self._adapter seems to be defined on line 84 of cec.py when init method is called. Although it could be initiated in other parts on derived classes. If we re-read the original error, it says we are "waiting for init", which might be waiting for it to be called? The waiting for init message is logged by the network.py code. Any thoughts? |
Here is how I make it worked, it is not the right way, but it has resolved my issue.
|
Did a fresh install of HassOS today, running version 0.75.2 |
Thanks for posting this @nitobuendia, I came across the exact same thing you are experiencing and was about to log an issue. Sadly no fix to contribute yet. Constantly having to reboot home assistant in order to see if any changes fixes the issue make it really cumbersome to test.
Turning on the chromecast works using the mediaplayer platform. |
Maybe this issue needs to be moved to the hassio project instead of home-assistant? |
I'd recommend against this as the issue is apparent in both the Docker image and HASSIO. |
I have hass.io + docker installation (HA ver 0.87.1). And I see the same issue with HDMI CEC but HA sees my TV and even it's actual status - on or off (with a delay ~5 sec). So I can use it as trigger in automation. But commands still don't work... |
frkos' response triggered me to post this reply, sorry for not posting sooner. 😉 I do get the status delay that he's describing but switching on/off does work for me (several months ago).
|
Hi @nbeernink
|
Sure!
|
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
Home Assistant release with the issue:
0.73.1
Last working Home Assistant release (if known):
Not known or never workign.
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io 0.73.1 on Raspberry Pi
Component/platform:
hdmi_cec
Description of problem:
Hass.io does not seem to detect any HDMI devices.
Services like
hdmi_cec.power_on
are added to services in Hass.io. Calling them will have no effect.HDMI Set up:
Raspberry Pi (Hass.io) connected to HDMI port2 of TV.
Kinivo device connected to HDMI port1 of TV. This provides 5 ports. Port 1 is occupied by Chromecast TV and port 2 by PS4.
Both Chromecast (+Assistant) and PS4 are able to use HDMI Cec to switch on and off the TV.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):devices/hdmi_cec.yaml
Also tried, devices/hdmi_cec.yaml
Traceback (if applicable):
(and many more like this one...)
The text was updated successfully, but these errors were encountered: