-
Notifications
You must be signed in to change notification settings - Fork 41
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
zeroconf error when protocol version not defined #17
Comments
Yes, you are absolutely right. The spec allows to omit the pv key, if the version is 1.0. I commit the following:
This should fix it as well and display information about pv in all cases. See bef34f2 A new release of this package will be released to pypi soon. Which kind of device do you try to access? |
Wow, thanks for the super quick fix! |
Can we close this? |
I don't see it merged into master and pushed to pypi? |
Sorry, forgot to push to github. Pypi will follow... |
Command:
python3 -m homekit.discover
Results:
I added the top print to show the entire contents of
info.properties
, funny enough all the other devices that show up list a PV.A simple
if b'pv' in info.properties:
wrap around that print line solved that particular issue for me.The text was updated successfully, but these errors were encountered: