07-16-2019 01:27 PM
Hi all,
I'm trying to switch on or off a Philips TV by sending a CEC command through a Room Kit :
xcommand Video CEC Output KeyClick LogicalAddress: 0 ConnectorId: 3 Key: 36
I read on CEC-O-Matic that the code 36 corresponds to off command or standby. But this command doesn't work. CEC mode is active :
*c xConfiguration Video Output Connector 1 CEC Mode: On *c xConfiguration Video Output Connector 1 MonitorRole: PresentationOnly *c xConfiguration Video Output Connector 1 Resolution: Auto *c xConfiguration Video Output Connector 2 CEC Mode: On *c xConfiguration Video Output Connector 2 MonitorRole: First *c xConfiguration Video Output Connector 2 Resolution: Auto *c xConfiguration Video Output Connector 3 CEC Mode: On *c xConfiguration Video Output Connector 3 MonitorRole: First *c xConfiguration Video Output Connector 3 Resolution: Auto
EasyLink (this is Philips name for CEC) is active.
In a 2 two screen configuration, when only sharing screen and not in meeting, how can I deactivate one of the two screen ?
Regards
Solved! Go to Solution.
04-11-2020 02:38 AM - edited 04-11-2020 02:38 AM
Hello!
The CEC opcode is defined as hex digits, but the XAPI command key is written as a decimal integer (0-255). Therefore when you use key 36 (decimal), in reality you are using code 0x24 which is undefined in CEC. The correct code for Standby is 0x36, which translates to key 54 in XAPI.
Now, to turn on the TV you have to use CEC code 0x04, which is key 4 in XAPI.
Regards,
Joe
04-11-2020 02:38 AM - edited 04-11-2020 02:38 AM
Hello!
The CEC opcode is defined as hex digits, but the XAPI command key is written as a decimal integer (0-255). Therefore when you use key 36 (decimal), in reality you are using code 0x24 which is undefined in CEC. The correct code for Standby is 0x36, which translates to key 54 in XAPI.
Now, to turn on the TV you have to use CEC code 0x04, which is key 4 in XAPI.
Regards,
Joe
04-11-2020 03:37 AM
Hi,
Thank you for your answer. I'll give it a try after lockdown.
Have a nice day, take care of you and your family.
Valéry
10-27-2020 01:14 PM
I was able to successfully control a Panasonic Viera via these commands:
To Turn the monitor off:
xCommand Video CEC Output KeyClick ConnectorId: 1 Key: 108 LogicalAddress: 0
xCommand Video CEC Output SendInactiveSourceRequest
To Turn the Monitor on:
xCommand Video CEC Output SendActiveSourceRequest
A pretty neat list of CEC commands are here:
https://support.crestron.com/app/answers/detail/a_id/5633/kw/5633
09-12-2023 11:38 AM
This is exactly what I was looking for. Thank you, kind sir.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide