matterbridge-shelly
Version:
Matterbridge shelly plugin
69 lines (43 loc) • 2.74 kB
Markdown
All components for all devices are exposed to Matter, but it is possible to exclude certain components globally or on a per-device basis.
New setups only:
- these components are blacklisted (with entityBlackList) by default: "Lux", "Illuminance", "Vibration", "Button". This allows to create simplified devices for the controllers that don't manage correctly composed devices (i.e. Alexa and SmartThings).
- all switches are exposed like outlet (matter compliant).
- shellyplusi4, shellyi4g3, shellyix3 and shellybutton1 are automatically added to inputMomentaryList when discovered.
- expertMode is disabled (the config shows only username, password, whitelist and blackList).
## 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" />
To blacklist all Input components of this device, use the component name as shown below:
```json
"deviceEntityBlackList": { "shellyplusrgbwpm-ECC9FF4CEAF0": ["Input"] }
```
To blacklist only the third (input:2) and fourth (input:3) Input components of this device, use the component IDs as follows:
```json
"deviceEntityBlackList": { "shellyplusrgbwpm-ECC9FF4CEAF0": ["input:2", "input:3"] }
```
To expose only the motion component while blacklisting all secondary components, use the component names as shown below:
```json
"deviceEntityBlackList": { "7c:c6:b6:65:2d:99": ["Illuminance", "Button"] }
```
To expose only the contact component while blacklisting all secondary components, use the component names as shown below:
```json
"deviceEntityBlackList": { "0c:ef:f6:f1:d7:7b": ["Illuminance"] }
```
To expose only the temperature and humidity components while blacklisting all secondary components, use the component names as shown below:
```json
"deviceEntityBlackList": { "7c:c6:b6:65:2d:87": ["Button"] }
```
```json
"entityBlackList": ["PowerMeter"]
```
```json
"deviceEntityBlackList": { "shellyplusrgbwpm-ECC9FF4CEAF0": ["PowerMeter"] }
```