HDMI CEC in MXNet Mentor

HDMI CEC in MXNet Mentor

In order to send an HDMI CEC command from Mentor, we need to know the values for the following; SOURCE, DESTINATION, OPCODE.  Then depending on the Opcode being used, you may also need some additional parameters under the DATA field. 

SOURCE:
This will be a single Hex digit (0-F) that represents the type of device sending the command. (e.g., 1 = Recording device, 4 = Playback device, 5 = Audio System, etc.).

DESTINATION: 
Again, a single Hex digit (0-F) to represent the device we're looking to control.  In most instances it will be the TV that we're wanting to control, so we can either use 0, which is the CEC standard code for TV, or F which is a broadcast code.  Using a broadcast means that any devices in the HDMI chain should respond to the command.

OPCODE:
A two digit Hex code which represents the command you wish to send.  Some examples include;

04 = Image View On (used for TV on command)
36 = System Standby
82 = Active Source (Used to switch to a specific input)

DATA
In the case of OPCODES 04, and 36 above, no additional data is required.  This field can be left blank.  
For OPCODE 82, we need to specify the Physical Address for the input we wish to switch to.  This would usually be formatted as 1.0.0.0 for HDMI 1, 2.0.0.0 for HDMI 2, etc.


HDMI CEC is not a perfect standard, and different vendors will implement it in different ways, so there will inevitably be some trial and error involved in finding the correct commands for the specific devices you wish to control.  The attached spreadsheet shows common commands for turning on and off devices, which may be helpful for finding something that works with your particular device. 

The example below shows how we might turn devices on and off from a control group in Command Central.



This next example shows how we might switch from HDMI 1 to HDMI 2 on a TV


    • Related Articles

    • How to set up an Araknis 310 Switch to use with AVProEdge MXNet

      We always recommend using the AVProEdge switch range when installing an MXNet system. These switches are very high end and come with a 10 year warranty and are pre configured out of the box to work with MXNet. However, if budget is a concern and you ...
    • USB KVM Not Working with MXNet 1G V2

      If you are finding the USB KVM feature is not working with MXNet 1G V2 it may be because the USB mode on the encoders is different to the USB Mode on the decoders so they are not compatible. This can be fixed by doing the following. You will need to ...
    • How do I setup audio return paths in MXNet 1G V2

      A decoder can only be routed to one encoder at a time. You can't have one decoder sending an Audio Return Signal to multiple encoders, for example. A lot of sites utilize CEC for volume adjustment/control of source and sink devices, this ...
    • How to setup MXNet switches to be accessible on the LAN and via Switch Management on Mentor

      The MXNet switch has an RJ45 port labelled Mgmt which is the management port. You can access the management port by connecting a patch lead to the management port and connecting the other end to your computer. By default the IP address of the ...
    • How To: Using the MXNet USB Control Tool

      Powerpoint and software for the USB Control Tool used when configuring Point To Point, Multicast Settings, and Control Routing. Extra information. To manually set the channel to 0000 via command line astparam s ch_select 0000;astparam save;sleep ...