@tannaroo wrote:
Hi all,
I have a HDCVT 4x4 HDMI Matrix which I am trying to control through HA. I have all of the hex commands but right now I just want to turn it on/off.Below is an extract of the Hex commands from my user manual:
Power on/off command package length is 13byte:[0xa5+0x5b+0x08+0x0B+ Power onoff(0x0f:ON; 0xf0:OFF) +0x00+0x00+0x00+0x00+0x00+0x00+0x00+ checksum ]
Power on/off query package is 13byte:
This is a query command which mean you must send query package and then receive an answer.
For example:
Send package: A5 5B 08 0C 00 00 00 00 00 00 00 00 checksum
Receive package: A5 5B 08 0C F0 00 00 00 00 00 00 00 checksum
The blue F0 mean Power off, if 0F mean Power on.
I have tried to following in my yaml file (which has no errors and put in the real IP address) but when in my overview when I select it - nothing happs to my HDMI matrix. Can someone kindly help?
switch: - platform: command_line switches: hdmi_matrix: command_on: ech -e "\A5\5B\08\0C\0F\00\00\00\00\00\00\00\DE" | nc 192.168.1.xxx command_off: ech -e "\A5\5B\08\0C\F0\00\00\00\00\00\00\00\FD" | nc 192.168.1.xxx friendly_name: HDMI Matrix
Posts: 1
Participants: 1