More ZigbeeStatus commands

s-hadinger 2019-10-10 22:28:45 +02:00
parent 140756ef80
commit a40ddecb6d
1 changed files with 42 additions and 1 deletions

@ -408,6 +408,39 @@ Supported values:
You can dump the internal information gathered about connected Zigbee devices with the command `ZigbeeStatus`.
List all connected devices with `ZigbeeStatus`
```json
07:55:36 CMD: ZigbeeStatus
07:55:36 MQT: stat/sonoff/Zigbee_home/RESULT = {"ZigbeeStatus-99":[{"ShortAddr":"0x6B58"},{"ShortAddr":"0xE9C3"},{"ShortAddr":"0x3D82"}]}
```
`ZigbeeStatus` command example:
_(JSON pretty-printed for readability)_
```yaml
{
"ZigbeeStatus-99": [
{
"ShortAddr":"0x6B58"
},
{
"ShortAddr":"0xE9C3"
},
{
"ShortAddr":"0x3D82"
}
]
}
```
Get detailed information for each device, including long address, model and manufacturer with `ZigbeeStatus 1`:
```json
07:55:49 CMD: ZigbeeStatus 1
07:55:49 MQT: stat/sonoff/Zigbee_home/RESULT = {"ZigbeeStatus1":[{"ShortAddr":"0x6B58","IEEEAddr":"7CB03EAA0A0292DD","ModelId":"Plug 01","Manufacturer":"OSRAM"},{"ShortAddr":"0xE9C3","IEEEAddr":"00158D00036B50AE","ModelId":"lumi.weather","Manufacturer":"LUMI"},{"ShortAddr":"0x3D82","IEEEAddr":"0017880102FE1DBD","ModelId":"LWB010","Manufacturer":"Philips"}]}
```
`ZigbeeStatus 1` command example:
_(JSON pretty-printed for readability)_
@ -434,7 +467,15 @@ _(JSON pretty-printed for readability)_
]
```
Example: Philips Hue Zigbee bulb (after pairing)
Get information about endpoints and ZCL clusters supported with `ZigbeeStatus 2`:
```json
07:56:32 CMD: ZigbeeStatus 2
07:56:32 MQT: stat/sonoff/Zigbee_home/RESULT = {"ZigbeeStatus2":[{"ShortAddr":"0x6B58","Endpoints":{"0x03":{"ProfileId":"0xC05E","ProfileIdName":"ZigBee Light Link","ClustersIn":["0x1000","0x0000","0x0003","0x0004","0x0005","0x0006","0x0B04","0xFC0F"],"ClustersOut":["0x0019"]}}},{"ShortAddr":"0xE9C3","Endpoints":{"0x01":{"ProfileId":"0x0104","ClustersIn":["0x0000","0x0003","0xFFFF","0x0402","0x0403","0x0405"],"ClustersOut":["0x0000","0x0004","0xFFFF"]}}},{"ShortAddr":"0x3D82","Endpoints":{"0x0B":{"ProfileId":"0xC05E"," ...
```
Example: ZigbeeStatus 2 for Philips Hue Zigbee bulb (after pairing)
_(JSON pretty-printed for readability)_
```yaml
"ZigbeeStatus":