Comments (1)
As an initial point, Zap lets you do a lot of stuff that doesn't strictly conform with the Matter specs (at least it didn't in earlier versions - I haven't checked lately). So Zap permitting it doesn't make it conforming.
Section 9.2 ("Endpoint Composition") of the Matter Specification Version 1.2 addresses the type of combination you are attempting. This is the statement:
Sensors are simple endpoints in the Matter data model, and since none of the sensor types you are combining have all the clusters of the other types (i.e., none of the types is a superset of the others), you should not combining them on the same endpoint. Each should be its own Endpoint with its specific application device type.
The ability to combine multiple types on one endpoint is likely to be rare. An example that comes to mind is for Color Dimmer Switch, Dimmer Switch, and On/Off Switch. If Color Dimmer Switch is the Primary, you can put "Dimmer Switch" or "On/Off Switch" as secondary. This is allowed since Color Dimmer Switch contains all the clusters of Dimmer Switch and On/Off Switch. Similarly, if you put "Dimmer Switch" as Primary, then "On/Off Switch" is permitted as the secondary since Dimmer contains all its clusters, but Color Dimmer Switch would not since Dimmer is missing the color control cluster. I'd say never do such combining if you can avoid it - setting up discrete endpoints is comparatively easy.
from connectedhomeip.
Related Issues (20)
- Dependabot fails with `there was not enough disk space available`
- [TC-RR-1.1] INFO Step 14: Setting group key map on fabric 6 Error . HOT 5
- Few follow ups on top of #32516
- [BUG] RVC app missing in SDK Docker image
- Basic Info cluster: add DeviceLocation attribute
- Do not set up subscription for remote controllers when delegate is set
- [Documentation] Linux dishwasher-app example README wrongly refers to lighting app
- [Documentation] Linux refrigerator-app example README wrongly refers to lighting app
- Add HomeLoc struct to chip-types.xml
- Add a location attribute to the Basic Information cluster
- [BUG] [Python] Read returns ReadResponse when subscription setup did not complete
- Address followup comments from https://github.com/project-chip/connectedhomeip/pull/33559
- [Feature] Add a metric when a ReadClient resubscribe is triggered.
- [Test Failed] TestAccessControlCluster.yaml is expecting wrong error on "too many subjects/targets" HOT 1
- [Documentation] Matter Linux Microwave Oven Example refers to Lighting app
- operate a light 32-bit.
- RVC Mode clusters: Remove Idle constraints.
- Write the test plan for Direct Mode Change feature HOT 1
- [Feature] Add Fabric RPC service to Fabric Admin
- [Feature] Add Fabric Bridge RPC service to Fabric Bridge
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connectedhomeip.