-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from Luligu/dev
Add COMPONENTS.md
- Loading branch information
Showing
2 changed files
with
74 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Shelly Components Configuration | ||
|
||
All components for all devices are exposed to Matter, but it is possible to exclude certain components globally or on a per-device basis. | ||
|
||
|
||
## Example 1: How to Blacklist a Component on a shellyplusrgbwpm Device | ||
|
||
Given the components of a shellyplusrgbwpm device (as shown in the logs from the console or frontend): | ||
|
||
<img width="709" alt="image" src="https://github.com/user-attachments/assets/6602087b-cc51-43c1-a93d-98d351054cf9" /> | ||
|
||
### Using the Component Name | ||
|
||
To blacklist all Input components of this device, use the component name as shown below: | ||
|
||
``` | ||
"deviceEntityBlackList": { "shellyplusrgbwpm-ECC9FF4CEAF0": ["Input"] } | ||
``` | ||
|
||
### Using the Component IDs | ||
|
||
To blacklist only the third (input:2) and fourth (input:3) Input components of this device, use the component IDs as follows: | ||
|
||
``` | ||
"deviceEntityBlackList": { "shellyplusrgbwpm-ECC9FF4CEAF0": ["input:2", "input:3"] } | ||
``` | ||
|
||
|
||
## Example 2: How to Blacklist all secondary components on a BLU Motion Device with address 7c:c6:b6:65:2d:99 | ||
|
||
To expose only the motion component while blacklisting all secondary components, use the component names as shown below: | ||
|
||
``` | ||
"deviceEntityBlackList": { "7c:c6:b6:65:2d:99": ["Illuminance", "Button"] } | ||
``` | ||
|
||
|
||
## Example 3: How to Blacklist all secondary components on a BLU DoorWindow with address 0c:ef:f6:f1:d7:7b | ||
|
||
To expose only the contact component while blacklisting all secondary components, use the component names as shown below: | ||
|
||
``` | ||
"deviceEntityBlackList": { "0c:ef:f6:f1:d7:7b": ["Illuminance"] } | ||
``` | ||
|
||
|
||
## Example 4: How to Blacklist all secondary components on a BLU HT 7c:c6:b6:65:2d:87 with address 7c:c6:b6:65:2d:87 | ||
|
||
To expose only the temperature and humidity components while blacklisting all secondary components, use the component names as shown below: | ||
|
||
``` | ||
"deviceEntityBlackList": { "7c:c6:b6:65:2d:87": ["Button"] } | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters