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

Missing Device ID #217

Closed
ckeehan opened this issue Oct 18, 2019 · 7 comments
Closed

Missing Device ID #217

ckeehan opened this issue Oct 18, 2019 · 7 comments
Labels

Comments

@ckeehan
Copy link
Contributor

ckeehan commented Oct 18, 2019

Describe the bug
When using atvremote scan, the device name, address, services, and protocols all are returned correctly but the device ID says Id: None
When using atvremote --address <IP> --debug --protocol mrp pair, the following error is returned:
pyatv.exceptions.DeviceIdMissingError: missing device id for <IP>

To Reproduce
Unknown

Expected behavior
The device ID is returned successfully

System Setup (please complete the following information):

  • OS: Debian
  • Python: 3.5.3
  • pyatv: 0.4.0a1

Additional context
I have successfully connected to this Apple TV before but was recently unable to find it using atvremote scan on the latest release version. The latest dev version from Git is able to find it but the device ID is still missing.

@ckeehan ckeehan added the bug label Oct 18, 2019
@sehyxn
Copy link

sehyxn commented Oct 18, 2019

I've noticed this issue recently. I was somehow able to work around the issue by running getmac --ip <addr>, which resolves the device ID, before running atvremote scan.

@postlund
Copy link
Owner

Issue #219 will deal with this.

@postlund
Copy link
Owner

I have made some progress now and hopefully this should work better on master. Just do atvremote scan, pick one of the identifiers for the device of interest and run:

$ atvremote -i <identifier> pair

@postlund
Copy link
Owner

Added some example output in #222 as well.

@postlund
Copy link
Owner

I have merged #224 now and people seem to have better luck with that. Perhaps you could try again @ckeehan and @SeisHan? Would love to know if it works better for you as well.

@ckeehan
Copy link
Contributor Author

ckeehan commented Nov 1, 2019

Works excellent now. Thank you!

@ckeehan ckeehan closed this as completed Nov 1, 2019
@postlund
Copy link
Owner

postlund commented Nov 1, 2019

Awesome! Thanks for reporting back! 👍

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

No branches or pull requests

3 participants