-
Notifications
You must be signed in to change notification settings - Fork 179
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
How to create a composed device in a bridge device? (CON-1380) #1121
Comments
You can create multiple endpoints representing multiple device types on the bridged node. You have to use set_parent_endpoint to set the bridged node as a parent of your other endpoints.
It's up to you, matter supports Latching, Momentary and Action (Development is in progress) switch. |
I think I'm stupid, I could not create it because Apple home doesn't show what I want correctly. Is there an example that can help me? |
We don’t have a bridge example that has composite bridged devices. We have showcased composite devices in a refrigerator example. |
You are not. No one is :-) Please check the refrigerator example and see if it helps. Let us know in case of any questions/issues |
@dhrishi Thanks. Back to the point, the composite switch still cannot be displayed in Apple home, but I can use chip-tool to access this endpoint. My code for creating switch:
|
Arbitrary composed devices do not work in Google Home, Apple Home or Amazon. You can certainly create the devices, but none of the big controller apps will support them. (I built my own composed devices and tested on all of the controllers). None of the big controllers support the bridge Actions cluster either. This is not a problem with the spec or the device, Apple/Google/Amazon simply have not written the necessary code to support composed devices. Anyway, multi-button switch should not be a composed device. Each of the switches should be exposed as separate endpoints then add a FixedLabel to identify them. |
How to set label value for endpoint? Is there a fixed format?
The next key is marked as "orientation/02", the format is: orientation/ |
Matter 1.3 adds a TAGLIST on the descriptor cluster to disambiguate multiple identical endpoints. You can still used Fixed Label which is free-form. The new scheme via TAGLIST is well defined. I haven't tried making arbitrary composed bridge devices on Google/Apple/Amazon in the last six months. Maybe this works now, but I doubt it. Back when I tested I also coded up the Actions cluster with the endpoints list, none of Google/Apple/Amazon did anything with that either. |
It would be great if there was an example. I'm having trouble creating a bridge node for Multi-button switch. |
It is not required to make it a bridge composed device, start with independent bridged devices which is much easier. |
I submitted another issue #1144 |
Please close the issue, if your original issue is solved. |
As shown in Figure 47 in the Matter-1.3-Core-Specification file, the endpoint 24, 25, and 26 are combined into a composed device. Now I want to create a multi-button switch as a bridge device according to this topology. How can I create it and what type of switch should it be?

The text was updated successfully, but these errors were encountered: