Hi - I have a multi-room entertainment setup which had an old HDMI matrix which is broken on the back of an old entertainment system software (which has gone broke). I wanted to bring the entertainment system into Home Assistant and want to avoid buying another HDMI matrix.
Therefore, I am quite interested in HDMI CEC through Home Assistant. I understand you can control the source devices using Home Assistant so is it possible if I have a Home Assistant server with CEC component with all of my source inputs attached (e.g. dvd player, zgemma box) in one room and then be able to play those in other rooms (i.e. effectively replace a hardware HDMI matrix?)
If so, will it be possible to have two rooms using 1 source input at the same time?
Apologies for the bump in thread. I have finally got my matrix but realised it is not CEC. However, the matrix has a TCP/IP connection which I can see its IP address - is there any way, I can control the HDMI matrix by connecting to its IP address?
I’m sorry - I’m a newbie. I’ve looked at the documentation but am really lost. I’ve managed to install Hass.io on a Pi3 (which is working fine). The HDMI matrix is 4x4 (4 sources inputs to 4 outputs) in different rooms. Therefore, I’m hoping I can use HA to “control” the HDMI matrix so that when I am in 1 room, I can select a source input (as the HDMI matrix is in another room, so the IR remote will not work).
My first step was for Hassio to recognise the matrix but it hasn’t. However, i’ve seen (using Angry IP scanner), that the matrix has an IP address (as its connected to my home network). So wanted to know if my plan to control the HDMI matrix remotely will work with Hassio and how to go about it?
Well that depends on the machine. To get it to work like a media player in Home Assistant you would probably have to write a custom component or a lot of scripts. Whats the brand of the device?
I managed to get a HDMI Matrix and control it through buttons on Home Assistant via IP Address. HDMI matrix I used is: https://www.ebay.co.uk/itm/153059147706
You said the device had a TCP/IP (ethernet???) connection. What does the documentation say you can do with that connection??? Please provide the make and model of the device so someone can at least have a look otherwise everyone is just guessing.
The user manual only says the TCP/IP port “is the link for TCP/IP control and connects to an active Ethernet link by an RJ-45 cable”.
It also says elsewhere that “any source is accessible at all times by any display by selecting it via …the TCP/IP”.
As I mentioned, I have connected the TCP/IP by ethernet to my home network and can see it (with an IP address), so I just need to configure it somehow into HA.
I think you will need to find out more about your device.
If you can access it via telnet or ssh, there may be things you can use to test.
I use the following to test if a TV connected to a RPi is on. echo 'pow 0' | cec-client -t p -p 1 -d 1 -s | tail -n1 | grep 'power' | awk '{print $3}'
And the following to turn it off. echo "standby 0" | cec-client -s
You will need to find out how to connect to your device and what it expects.
If there is nothing in the documentation, a call or email to the reseller or manufacturer might help. Without any hints on how to control this over IP you have nothing.
Hi Zarthan
I got a response from manufacturer stating that they "standard TCP/IP protocol 8000 so you just use the matrix ip address to control the matrix. So when i type the ip address into a web browser, i am able to control the inputs/outputs.
They also sent a document with all of the Hex commands list of the matrix.
Is this going to help?
If you can control it through the web interface you may be able to craft curl strings to do the same. You are likely going to be on your own unless someone else here has the same device. I would do some serious Googling for your device and how to control it. Someone has used it before and has some understanding of how it works. Once you know how to control it, making it work with HA should be relatively easy.