nugget / python-anthemav

Python asyncio module to interface with Anthem AVM and MRX receivers
MIT License
15 stars 24 forks source link

Retrieve current audio mode #44

Open mtandrup opened 8 months ago

mtandrup commented 8 months ago

I'm using this in Home Assistant.

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

image

Hyralex commented 8 months ago

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

mtandrup commented 8 months ago

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 commented 8 months ago

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.