Onkyo Component Broken (0.64) | onkyo-eiscp

Since roughly version 0.42 my Onkyo Component is not working anymore.

2017-06-06 20:41:18 ERROR (Thread-1) [homeassistant.util.package] Unable to install package onkyo-eiscp==1.1: Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-8a78bqos/netifaces/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-b2dueny1-record/install-record.txt --single-version-externally-managed --compile --home=/tmp/tmp4u32qgq1" failed with error code 1 in /tmp/pip-build-8a78bqos/netifaces/ 

2017-06-06 20:41:18 ERROR (MainThread) [homeassistant.setup] Not initializing media_player.onkyo because could not install dependency onkyo-eiscp==1.1 

2017-06-06 20:41:18 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform media_player.onkyo: Could not install all requirements.

Why did this dependency break and how can I establish the connection again?

Do I need to reinstall manually like described here? https://github.com/miracle2k/onkyo-eiscp --> will home assistant know where to find it?

Thanks

OS: TurnKey GNU/Linux 14.0 / Debian 8.5 Jessie

I haven’t used my Onkyo for a while but I noticed in the log I have the same issue!

Hope someone can give some advice cause I have other priorities so solve first. WIll update if I get the time to solve it.

I would like to add that I have the same problem. Home Assistant version 0.48.1.

Jul 11 19:32:01 centbox scl[19884]: 2017-07-11 19:32:01 INFO (MainThread) [homeassistant.loader] Loaded media_player.onkyo from homeassistant.components.media_player.onkyo
Jul 11 19:32:01 centbox scl[19884]: 2017-07-11 19:32:01 INFO (Thread-5) [homeassistant.util.package] Attempting install of onkyo-eiscp==1.1
Jul 11 19:32:06 centbox scl[19884]: 2017-07-11 19:32:06 ERROR (Thread-5) [homeassistant.util.package] Unable to install package onkyo-eiscp==1.1: Command "/opt/homeassistant/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-j6qdk9z8/netifaces/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-0tg2j2kr-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/homeassistant/include/site/python3.5/netifaces --home=/tmp/tmpveiq660z" failed with error code 1 in /tmp/pip-build-j6qdk9z8/netifaces
Jul 11 19:32:06 centbox scl[19884]: 2017-07-11 19:32:06 ERROR (MainThread) [homeassistant.setup] Not initializing media_player.onkyo because could not install dependency onkyo-eiscp==1.1
Jul 11 19:32:06 centbox scl[19884]: 2017-07-11 19:32:06 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform media_player.onkyo: Could not install all requirements.

I got it working. Probably through dumb luck. I manually installed the onkyo-eiscp==1.1 package when inside the virtualenv. Maybe that did it?

pip3 install onkyo-eiscp==1.1 --target /opt/homeassistant/deps --upgrade

That was the command I ran, I think, that did it. I’ve installed to /opt/ so adjust that as needed.

1 Like

thank you for your testing and the solution! FInally the Onkyo is back!

I had to install these two packages before I could successfully install via pip3:

apt-get install gcc

From https://serverfault.com/questions/528884/unable-to-execute-gcc-no-such-file-or-directory

apt-get install python3-dev

From https://stackoverflow.com/questions/21530577/fatal-error-python-h-no-such-file-or-directory

pip3 install onkyo-eiscp==1.1 --target ~/.homeassistant/deps --upgrade

From https://community.home-assistant.io/t/onkyo-component-broken-0-64-onkyo-eiscp/19344/4

2 Likes

Is the Onkyo integration still working?

Stopped working for me sometime in the last couple of months…

It just stopped working for my in the last week. Tried power cycling my receiver to see if that would fix it but no go.

Still working for me, fwiw

What version are you using? I know it was working for me a few versions ago.

HA version? 2021.5.5
I have a “stable” (read no firmware updates since a while) TX-NR636 though.

Maybe Onkyo broke the api in an update?

Thanks, I just went back to Home Assistant 2021.5.0 and the integration is working fine in that version. I have the TX-NR696.

1 Like

Cool.
I still have the issue that the onkyo stops responding once in a while, and that I have to “cold boot” it for the integration to work again, but that’s certainly an onkyo firmware issue.