Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin attempts to set volume when AVR is off #10

Closed
pantherale0 opened this issue Aug 22, 2022 · 2 comments
Closed

Plugin attempts to set volume when AVR is off #10

pantherale0 opened this issue Aug 22, 2022 · 2 comments

Comments

@pantherale0
Copy link
Contributor

Seem to be seeing a few of these errors in my HA logs at the moment:

Logger: aiopioneer.pioneer_avr
Source: custom_components/pioneer_async/media_player.py:412
Integration: Pioneer AVR ([documentation](https://github.com/crowbarz/ha-pioneer_async))
First occurred: 16 August 2022 at 22:32:33 (8 occurrences)
Last logged: 21 August 2022 at 20:37:53

AVR command 073VL returned error: E02

It appears that this happens when the AVR is switched off which according to the docs that I have:

E02<CR+LF> NOT AVAILABLE NOW Detected the Command line which could not work now.  

Perhaps a check needs to be added to ensure that the AVR is powered on?

@crowbarz
Copy link
Owner

Yes, this is expected behaviour, though the HA UI guards against being able to send volume up/down/set service calls to media players when they are off. HA does not however prevent service calls from being directly made to a media player that is off, for any media player. So it would be useful to understand what else was happening on your system (eg. scripts, automations, external events) immediately before the volume set command.

As far as I can see in the code, volume set is only ever sent to the AVR if requested via a service call.

@pantherale0
Copy link
Contributor Author

My apologies, was tired when I posted this... indeed it is an automation lol.

Thank you for having a look :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants