Pulse-Eight / libcec

USB CEC Adapter communication Library http://libcec.pulse-eight.com/
Other
714 stars 287 forks source link

Detect HDMI source which is not CEC enabled #549

Closed Alfiegerner closed 3 years ago

Alfiegerner commented 3 years ago

Hi,

I have a HDMI source with CEC disabled (as it's shared between 2 TVs and causes chaos if it's left enabled) - and I can switch to that source using

 "tx 10:82:20:00" 

I'm now setting up some automations at home, and would like to be able to query the TV for what source is active.

I've tried tx 10:85 but am only getting the TV power status.

Does anyone know if there's any other command that can query the hdmi input in use from the TV?

Thanks!

Alfiegerner commented 3 years ago

In case anyone comes to this, you can listen to messages like:

0f:80:20:00:30:00

0f from TV to all 80 indicating routing change 20:00 old source 30:00 new source