-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[hdpowerview] Improve Gen 1/2 discovery label #16865
Conversation
Signed-off-by: Jacob Laursen <[email protected]>
@jlaur thank you for this. But.. An extra HTTP GET request is not required to make the distinction between Gen 1 and 2 hubs. The SDDP and MDNS response telegrams already contain distinguishing markers..
|
Thanks, I will adapt and test this. Since we don't know what Gen 1 Hub provides, I guess we can consider "v2"/"2.0" as Gen 2 and everything else as Gen 1. |
I can confirm that |
Ah. The v2 hub also responds on '_hap._tcp.local' and this is where it reports an 'md' property. But, (not having a v1 hub), I don't know if that one also answers on '_hap._tcp.local'.. |
Signed-off-by: Jacob Laursen <[email protected]>
3fd3c9f
to
e8ddd15
Compare
Signed-off-by: Jacob Laursen <[email protected]>
bfca0f1
to
27e2004
Compare
Thanks, that worked better for finding the Assuming that Gen 1 doesn't respond on |
^ |
So it's ready for review. 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, LGTM
* Improve Gen 1/2 discovery label Signed-off-by: Jacob Laursen <[email protected]>
* Improve Gen 1/2 discovery label Signed-off-by: Jacob Laursen <[email protected]> Signed-off-by: Patrik Gfeller <[email protected]>
* Improve Gen 1/2 discovery label Signed-off-by: Jacob Laursen <[email protected]>
* Improve Gen 1/2 discovery label Signed-off-by: Jacob Laursen <[email protected]>
* Improve Gen 1/2 discovery label Signed-off-by: Jacob Laursen <[email protected]> Signed-off-by: Ciprian Pascu <[email protected]>
This is a minor improvement to show the specific Hub discovered, e.g. "PowerView Gen 2 Hub" rather than "PowerView Gen 1/2 Hub" (introduced with #13355).
For reference: