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

Bridged device basic information #361

Merged

Conversation

kennylevinsen
Copy link
Contributor

@kennylevinsen kennylevinsen commented Dec 29, 2024

Plumb through the actual bridged device details. Google Home only seems to pick up the product name, but "Technical Information" seems to always give the bridge details which is a bit borked but just seems like a Google Home bug - the matter.js shell shows the details correctly. Google Home also does not seem to reload the details after a device has been added.

Z2M seems to not fill out the extended details properly (model_id for example), and so tends to create rather long strings which are cut to length with "..." at the end. These should be improved on the Z2M side. EDIT: Koenkk/zigbee2mqtt#25389 Merged

This will allow us to retrieve information about the device of an entity
later, such as product names and versions. This could also be useful for
automatic grouping of entities.
We may have product information available in the device registry - use
it where possible instead of hardcoded or hashed values.
@kennylevinsen kennylevinsen force-pushed the bridged-device-basic-information branch from 0216df5 to 4c7153d Compare January 6, 2025 12:52
@kennylevinsen
Copy link
Contributor Author

I have undone the changes to vendorName and serialNumber for now, and instead added comments as to why they're "sensitive". Then maybe we can revisit them later.

@t0bst4r t0bst4r merged commit d33c6e8 into t0bst4r:main Jan 6, 2025
1 check passed
@kennylevinsen kennylevinsen deleted the bridged-device-basic-information branch January 6, 2025 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants