I am looking to either build a custom module for HA, or get pointed to one that already exists.
I have two matrix devices, one HDMI and one audio, with multiple inputs and outputs.
I would like to be able to:
a) control the matrix (through IR or RS232)
b) track the state of the matrix outputs
Tracking the state is important as I would like to be able to do things based on the state.
Use case example: I have a Roku, a Chromecast, a Fire TV and a Apple TV all connected to the matrix. My thought here is making a trigger on Alexa to pause media player. The trigger would look up the state from the matrix to determine which media player to send the pause command to.
This could also be extended to track TV HDMI inputs, etc (i.e. create a virtual 1 output matrix for the TV to track input state).