asyncpioneer icon indicating copy to clipboard operation
asyncpioneer copied to clipboard

Integration can not be found

Open mk3l opened this issue 2 years ago • 6 comments

Hi @realthk ! I would really like to get this integration to work because of its possibility to select speaker A/B/A+B, but unfortunately I can't manage to get it to work.

I followed the installation steps multiple times:

  1. Download and copy media_player.py and init.py into config/custom_components/asyncpioneer directory.
  2. Add a reference to this inside your configuration.yaml.

After a restart there is no mediaplayer showing up and HASS keeps returning the following error:

homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Platform error media_player.asyncpioneer - Integration 'asyncpioneer' not found.

I hope you can help me. Maybe I am missing something when installing the integration.

mk3l avatar Dec 23 '22 21:12 mk3l

@mk3l I have the same issue as you, but it is affecting all the different Pioneer media player integrations I am trying, e.g. "pioneer", "pioneer_vsx529", and "asyncpioneer". I will keep looking into it and let you know if i can identify the issue.

benblasco avatar Mar 14 '23 23:03 benblasco

@mk3l I believe the issue may be with the format in which you have downloaded the files required. You need to click on the links to the media_player.py and init.py and then download the raw versions of those files, not the html page versions. Let us know how you go!

benblasco avatar Mar 16 '23 06:03 benblasco

Hi @benblasco, thanks for your reply! I had good hope, but unfortunately the same error keeps returning..

I would realy like to have the possibility to select speaker A/B/A+B, so I hope you or someone else has an idea what might be the cause of this error!

mk3l avatar Mar 25 '23 20:03 mk3l

@mk3l try using the latest dev branch. Clone this repo and checkout the dev branch. If you don't want to use git, then just download and unzip the contents of this file into your config/custom_components/asyncpioneer directory. You might be missing things like manifest.json that might be necessary now. All the files need to directly be in config/custom_components/asyncpioneer and not in any further subdirectories.

G-Two avatar Mar 25 '23 21:03 G-Two

Thank you @G-Two; after following your directions I finally got it to work. But unfortunately my euphoric mood did not stay for a long time.. after a few hours the integration stopped responding to power on/off, volume etc. I tried unplugging the amp (VSX-923) for several minutes -> sometimes solves the problem for a short amount of time, but not allways. Hopefully there is an easy solution for this issue but I am afraid that in the end I have to go back to the stock pioneer integration and have to miss the speaker select functionallity which I really like.

mk3l avatar Apr 24 '23 19:04 mk3l

@mk3l this integration should be stable. There might be a bug that is specific to your model. Can you provide logs with config/configuration.yaml set to debug on the integration?

logger:
  default: warning
  logs:
    custom_components.asyncpioneer: debug

G-Two avatar Apr 28 '23 22:04 G-Two