python-anthemav icon indicating copy to clipboard operation
python-anthemav copied to clipboard

Retrieve current audio mode

Open mtandrup opened this issue 2 years ago • 3 comments

I'm using this in Home Assistant.

It would be nice, if I could retrieve the current audio mode through this integration.

image

mtandrup avatar Oct 20 '23 21:10 mtandrup

Hi,

Have a look at this custom integration, I added the sound mode. It isn't part of the official HA integration yet.

https://github.com/Hyralex/hass-anthemav

Hyralex avatar Oct 20 '23 22:10 Hyralex

Hi

Pretty cool. Testet it and it seems to work as intended.

Although the audio mode gives me a number, so I guess I will have to make a template to translate the number to the mode defined by Anthem?

mtandrup avatar Oct 21 '23 13:10 mtandrup

Made a template sensor that translates the numbers to the corresponding audio mode. Works perfectly.

Do you know if this custom integration has any improvements in regards to the connection to the amplifier? I have the MRX 540 by the way.

With the official integration, I have to reload the integration every 5 minutes or so, or the sensors (volume fx) will stop updating. Also in regards to the "app_name" sensor (which shows the video and audio format), I have to always reload the integration for the sensor to update its data. This applies to both the official and custom variant of the integration.

mtandrup avatar Oct 21 '23 18:10 mtandrup