-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Apparently missing some dependency, bunch of errors #126
Comments
Oh and this is the output from pip list:
|
Could you try if the git master branch works? #121 is the one that should fix this, if that works, I'll prepare a new release asap. |
I don't know, I think so. I did do a git init so there is ~.git/. I am not by any means a git expert. This code is the first I ever used pip for to be honest, I've generally just cloned. But ya know everything in HAOS is, well the HAOS way of doing things. |
Anyway, I'm not sure the receiver I am trying to get to work is going to work anyway, it's a Sony STR-ZA3100ES which is not on the support list, and doesn't show up as a uPNP device. It does however have a full web GUI to change just about any setting on it, including a virtual remote, so would obviously be controllable with a web scraper, but that's way beyond my skill level. My interest is in changing volume and inputs, I have so many easier devices everywhere to act as media servers that that functionality really doesn't buy me anything. The Pioneer and Sony STR-ZA810ESs I have work just fine in that regard, it's only the 3100, the most capable one, that doesn't work with HA. |
Ah, it could very well be that it is using another protocol (if it's even controllable using some official app?), but here are instructions on how you can test the git version:
|
Apparently poetry is not installed by default, so I installed it. Ran the poetry install and it did stuff, ran songpal again (just checking) and did get the same errors, although running
Which looks encouraging, maybe. |
So the device is answer to the query, but the description file for the device does not contain this You could try If you can find the URL, you can try to define it manually using |
Output of
|
Here's the XML in a more readable format:
Which seems to be a device description file for homeassistant. Huh, I didn't even know they would advertise using UPnP... @d3xt3r2909 could you try accessing http://192.168.1.181:40000/device.xml manually to see if it's showing the same XML? |
Hey, I saw msg later, I downgrade my python and it works as charm |
Closing as solved then, thanks! |
This release brings support for versioned method calls which are required by newer hardware, like TA-AN1000, thanks to @allistermaguire! [Full Changelog](release/0.15.2...0.16) **Implemented enhancements:** - Add defining source-address for discover [\#133](#133) (@rytilahti) - Add support for versioned methods used by newer devices [\#132](#132) (@allistermaguire) **Closed issues:** - Support for TA-AN1000 [\#130](#130) - Support for SRS-XB23? [\#127](#127) - Apparently missing some dependency, bunch of errors [\#126](#126) - App doesn't work on latest python 3.11.1 [\#125](#125) - can't find the device [\#116](#116) **Merged pull requests:** - Use ruff for linting and formatting [\#139](#139) (@rytilahti) - Configure to use CI as trusted publisher [\#137](#137) (@rytilahti) - Drop importlib\_metadata dependency [\#136](#136) (@rytilahti) - Drop Python 3.7 support [\#135](#135) (@rytilahti) - Add updated devinfo with version info for HT-XT3 [\#134](#134) (@rytilahti) - Add devinfo for STR-AZ5000ES receiver [\#129](#129) (@ohmantics)
This release brings support for versioned method calls which are required by newer hardware, like TA-AN1000, thanks to @allistermaguire! [Full Changelog](release/0.15.2...0.16) **Implemented enhancements:** - Add defining source-address for discover [\#133](#133) (@rytilahti) - Add support for versioned methods used by newer devices [\#132](#132) (@allistermaguire) **Closed issues:** - Support for TA-AN1000 [\#130](#130) - Support for SRS-XB23? [\#127](#127) - Apparently missing some dependency, bunch of errors [\#126](#126) - App doesn't work on latest python 3.11.1 [\#125](#125) - can't find the device [\#116](#116) **Merged pull requests:** - Use ruff for linting and formatting [\#139](#139) (@rytilahti) - Configure to use CI as trusted publisher [\#137](#137) (@rytilahti) - Drop importlib\_metadata dependency [\#136](#136) (@rytilahti) - Drop Python 3.7 support [\#135](#135) (@rytilahti) - Add updated devinfo with version info for HT-XT3 [\#134](#134) (@rytilahti) - Add devinfo for STR-AZ5000ES receiver [\#129](#129) (@ohmantics)
So ran the pip install bit all seemed to go without a hitch. Running songpal with no args gives the expected Usage: info, however anything beyond that fails. Example:
This is on a relatively clean, recent HAOS installation. Looks like I am missing a library or something, are there dependencies for this to work?
The text was updated successfully, but these errors were encountered: