kevin,
thank you for the quick response. I have not yet filed a bug but will do so.
I'm sorry if my description was not complete enough. I will try again:
the problem hast two parts:
isBridged & uniqueIdentifiersForBridgedAccessories not set
all endpoints appearing on all devices
both are released accessing devices primarily through the HomeKit api and then accessing addition information by matterNodeID from there.
Just to clarify, what do you mean by "bridged matter devices"? The standard usage is that a bridge acts as the go between between matter (or HAP) and some other protocol as, for example, a ZigBee to matter bridge, so I'm not sure how you mean "bridged matter accessory".
what I mean is the following
matter bridge: device that exposes other devices that not necessarily use matter to the mater eco system.
bridged matter device: device that is exposed via a matter bridge to the mater eco system but itself using some other protocol.
Note that what's actually happening here:
the respective bridge device has an empty uniqueIdentifiersForBridgedAccessories list.
...is that, under the hood, there is in fact ONLY one accessory that HomeKit/Matter actually interact with, which is "the bridge". The other "accessories" HomeKit presents do NOT actually exists, they're actually "invented" by taking the various endpoints the bridge declares and presenting those endpoint as new "accessories" within the API.
that is not what I have seen and not what I'm expecting. each HomeKit device has its own unique matterNodeID. regardless of it being the bridge or a bridged device.
...is that, under the hood, there is in fact ONLY one accessory that HomeKit/Matter actually interact with, which is "the bridge". The other "accessories" HomeKit presents do NOT actually exists, they're actually "invented" by taking the various endpoints the bridge declares and presenting those endpoint as new "accessories" within the API.
they might be 'invented' but that is not how they are exposed by the HomeKit api. they appear as 'normal' accessories that are controllable.
for 1.:
I'm seeing this on accessories from matterbridge (https://github.com/Luligu/matterbridge).
i have just now also added a bosch smart home bridge via matter to HomeKit and there the problem is absent. so maybe there is something else causing the problems with matterbridge.
i will recheck a few things and come back to this.
for 2.:
when adding a matter bridge via HomeKit the devices that are visible with the HomeKit api are:
a bridge device and 0-n bridged devices. all of them having a matterNodeID that allows drilling deeper into the matter side of things.
the matter bridge will have endpoints for itself and via the aggregator device type and additional endpoints for the bridged devices using 0x0039 bridged device basic information clusters.
the bridged devices in HomeKit also have a matterNodeID and drilling deeper there will result in exactly the same endpoints that you get for the bridge device.
a bridge device with a contact sensor and a thermostat will have endpoints for itself, the list of bridged devices (contact sensor and thermostat) and for each bridged device (contact sensor a thermostat).
the contact sensor will have exactly the same. it will include the endpoints for the bridge and for the thermostat. the thermostat will have the endpoints for the bridge and the contact sensor.
I think the bridge should have all endpoints and the bridged devices should have only the endpoints for themselves not for the bridge and everything else.
Topic:
App & System Services
SubTopic:
Core OS
Tags: