-
Notifications
You must be signed in to change notification settings - Fork 58
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
UniqueID should probably not be a mandatory attribute #173
Comments
Agreed, we cannot rely on this attribute to be present. Also, even if its mandatory, it does not guarantee to remain static across factory reset, from the standard:
Maybe using Node ID or something which derives from it (e.g. Operational Instance Name) as unique ID? The Operational Instance Name would be nice since this is used as DNS‐SD instance name. |
Yeah, based on what I'm reading in the core spec, it looks like Node ID fits the bill. I guess Operational Instance Name would fit the bill too, since it consists of both Fabric ID and Node ID. Update: I have implemented a dirty fix (Node ID returned from |
Is there a way to dirty fix this for the eve devices in the matter addon/integration? |
Unique ID was mandatory in a pre-v1 stage but is now optional and it looks like most implementations abandoned it. |
Oh, that explains it! Thanks! |
Fix is PR-ed for HA core. We'll remove the property within the lib later as we have a small refactor of the node class scheduled. |
Want to open with saying that I'm completely new to matter, so I might be misunderstanding the spec 😅 But hopefully I'm on the right track here!
I have encountered an issue when commissioning my ESP32 C3 running the light example from esp-matter (on recent commit, CHIP v1.0.0.2). Commissioning using the latest HASS results in the following stacktrace:
It seems that others are affected by it as well:
While reading the spec (22-22349-001_Matter-1.0-Core-Specification.pdf, section 11.1.6.3), I have noticed that the Unique ID attribute within Basic Information is not mandatory, but optional, which does not seem to align with the getter here:
python-matter-server/matter_server/common/models/node.py
Lines 210 to 218 in 510c2d5
Could it be that a misassumption has been made here about this attribute?
The text was updated successfully, but these errors were encountered: