HDMI_CEC not working properly

Hi Friends,

I’ve reinstalled my Raspbian and my Hassbian, trying to solve some problems I had on the first installation. This seems to be the only unsolved problem.

I have 3 devices connected thru HDMI: Panasonic TV, Sony Receiver and Fire TV Stick. The show up on my HA as switches but this switches don’t work. They don’t turn on/off my devices, they only detect if the devices are on or off but, if I go to services and call services (HDMI_cec.power_on or hdmi_cec.standby), it works.

I’m on version 0.66.1…

Everytime I try to switch my tv on, for example, it throws 2 events:

[homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1976570032-49>
[homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1976570032-48>

If I ask it to power on thru services, then, a different result on logs:

[homeassistant.core] Bus:Handling <Event call_service[L]: service_call_id=1976570032-50, service=power_on, domain=hdmi_cec, service_data=device=0.0.0.0>
[homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1976570032-50>
[homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state switch.hdmi_0=off; friendly_name=Panasonic , type_id=0, vendor_name=Panasonic, icon=mdi:television, type=TV, physical_address=0.0.0.0, vendor_id=32837 @ 2018-04-05T07:17:27.119720-03:00>, new_state=<state switch.hdmi_0=on; friendly_name=Panasonic , type_id=0, vendor_name=Panasonic, icon=mdi:television, type=TV, physical_address=0.0.0.0, vendor_id=32837 @ 2018-04-05T08:35:51.605041-03:00>, entity_id=switch.hdmi_0>
[homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=<state group.hdmi=off; order=14, entity_id=(‘switch.hdmi_0’, ‘switch.hdmi_5’, ‘switch.hdmi_8’), friendly_name=HDMI @ 2018-04-05T07:17:27.142058-03:00>, new_state=<state group.hdmi=on; order=14, entity_id=(‘switch.hdmi_0’, ‘switch.hdmi_5’, ‘switch.hdmi_8’), friendly_name=HDMI @ 2018-04-05T08:35:51.630009-03:00>, entity_id=group.hdmi>

Does anyone has any ideas which could point me to a solution? Just turn on and off thru the switches would make me happy!

Thanks

I have the same problem also.

CEC switches don’t work but the power status is correctly shown.

This has not worked since a number of HA updates.

Same issue here with 0.67 and default raspbian stretch. any update on this issue ?