Updated Zigbee (markdown)

Michael Ingraham 2019-10-10 17:30:33 -04:00
parent a40ddecb6d
commit 954454d807
1 changed files with 65 additions and 42 deletions

@ -405,18 +405,13 @@ Supported values:
|`ModelId`|Model name of the Zigbee device (string)<BR>Ex: `lumi.weather`| |`ModelId`|Model name of the Zigbee device (string)<BR>Ex: `lumi.weather`|
### Other commands ### Other commands
You can dump the internal information gathered about connected Zigbee devices with the command `ZigbeeStatus`. You can dump the internal information gathered about connected Zigbee devices with the command `ZigbeeStatus`.
List all connected devices with `ZigbeeStatus` List all connected devices with `ZigbeeStatus`
```yaml
```json {"ZigbeeStatus-99":[{"ShortAddr":"0x6B58"},{"ShortAddr":"0xE9C3"},{"ShortAddr":"0x3D82"}]}
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)_ _(JSON pretty-printed for readability)_
```yaml ```yaml
{ {
@ -435,16 +430,13 @@ _(JSON pretty-printed for readability)_
``` ```
Get detailed information for each device, including long address, model and manufacturer with `ZigbeeStatus 1`: Get detailed information for each device, including long address, model and manufacturer with `ZigbeeStatus 1`:
```yaml
```json {"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"}]}
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)_ _(JSON pretty-printed for readability)_
```yaml ```yaml
{
"ZigbeeStatus1": [ "ZigbeeStatus1": [
{ {
"ShortAddr": "0x6B58", "ShortAddr": "0x6B58",
@ -465,41 +457,72 @@ _(JSON pretty-printed for readability)_
"Manufacturer": "Philips" "Manufacturer": "Philips"
} }
] ]
}
``` ```
Get information about endpoints and ZCL clusters supported with `ZigbeeStatus 2`: Get information about endpoints and ZCL clusters supported with `ZigbeeStatus 2`:
```yaml
```json {"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"," ...
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)_ _(JSON pretty-printed for readability)_
```yaml ```yaml
"ZigbeeStatus": {
"ZigbeeStatus2": [
{ {
"ZigbeeDevices": "ShortAddr": "0x6B58",
"Endpoints": {
"0x03": {
"ProfileId": "0xC05E",
"ProfileIdName": "ZigBee Light Link",
"ClustersIn": [
"0x1000",
"0x0000",
"0x0003",
"0x0004",
"0x0005",
"0x0006",
"0x0B04",
"0xFC0F"
],
"ClustersOut": [
"0x0019"
]
}
}
},
{ {
"0x3D82": "ShortAddr": "0xE9C3",
"Endpoints": {
"0x01": {
"ProfileId": "0x0104",
"ClustersIn": [
"0x0000",
"0x0003",
"0xFFFF",
"0x0402",
"0x0403",
"0x0405"
],
"ClustersOut": [
"0x0000",
"0x0004",
"0xFFFF"
]
}
}
},
{ {
"ShortAddr": "0x3D82", "ShortAddr": "0x3D82",
"IEEEAddr": "0017880102FE1DBD", "Endpoints": {
"Endpoints": ["0x0B","0xF2"], "0x0B": {
"Clusters_in": "ProfileId": "0xC05E",
{ " ...
"0x0B":["0x0000","0x0003","0x0004","0x0005","0x0006","0x0008","0x1000"],
"0xF2":["0x0021"]
},
"Clusters_out":
{
"0x0B":["0x0019"],
"0xF2":["0x0021"]
}
} }
} }
} }
]
}
``` ```
## Why another Zigbee project? ## Why another Zigbee project?