mirror of https://github.com/arendst/Tasmota.git
ZigbeeStatus output >> ZigbeeState
parent
a47920d157
commit
2fd3249fa7
|
@ -9,7 +9,7 @@ Note: Zigbee will automatically boot the CC2530 device, configure it and wait fo
|
|||
You can inspect the log output to determine whether Z2T started correctly. Z2T sends several [`ZigbeeStatus`](Commands#zigbeestatus) messages to inform the MQTT host about initialization.
|
||||
|
||||
|
||||
Ex: ```{"ZigbeeStatus":{"Status":1,"Message":"CC2530 booted","RestartReason":"Watchdog","MajorRel":2,"MinorRel":6}}```
|
||||
Ex: ```{"ZigbeeState":{"Status":1,"Message":"CC2530 booted","RestartReason":"Watchdog","MajorRel":2,"MinorRel":6}}```
|
||||
- `Status` contains a numeric code about the status message
|
||||
- `0`: initialization complete, **Z2T is running normally**
|
||||
- `1`: booting
|
||||
|
@ -52,7 +52,7 @@ This sensor monitors humidity, temperature, and air pressure. Its Zigbee model
|
|||
1. Put Z2T into pairing mode using the `ZigbeePermitJoin` command as described above
|
||||
2. Press the Xiaomi Aqara sensor's button for 5 seconds to pair the devices. You will see a message as follows:
|
||||
```
|
||||
MQT: tele/<topic>/RESULT = {"ZigbeeStatus":{"Status":30,"IEEEAddr":"00158D00036B50AE","ShortAddr":"0x8F20","PowerSource":false,"ReceiveWhenIdle":false,"Security":false}}
|
||||
MQT: tele/<topic>/RESULT = {"ZigbeeState":{"Status":30,"IEEEAddr":"00158D00036B50AE","ShortAddr":"0x8F20","PowerSource":false,"ReceiveWhenIdle":false,"Security":false}}
|
||||
```
|
||||
|
||||
|Field name|Value|
|
||||
|
@ -92,13 +92,13 @@ You can dump the internal information gathered about connected Zigbee devices wi
|
|||
|
||||
List all connected devices with `ZigbeeStatus`
|
||||
```yaml
|
||||
{"ZigbeeStatus-99":[{"ShortAddr":"0x6B58"},{"ShortAddr":"0xE9C3"},{"ShortAddr":"0x3D82"}]}
|
||||
{"ZigbeeState-99":[{"ShortAddr":"0x6B58"},{"ShortAddr":"0xE9C3"},{"ShortAddr":"0x3D82"}]}
|
||||
```
|
||||
|
||||
_(JSON pretty-printed for readability)_
|
||||
```yaml
|
||||
{
|
||||
"ZigbeeStatus-99": [
|
||||
"ZigbeeState-99": [
|
||||
{
|
||||
"ShortAddr":"0x6B58"
|
||||
},
|
||||
|
@ -114,13 +114,13 @@ _(JSON pretty-printed for readability)_
|
|||
|
||||
Get detailed information for each device, including long address, model and manufacturer with `ZigbeeStatus 1`:
|
||||
```yaml
|
||||
{"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"}]}
|
||||
{"ZigbeeState1":[{"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"}]}
|
||||
```
|
||||
|
||||
_(JSON pretty-printed for readability)_
|
||||
```yaml
|
||||
{
|
||||
"ZigbeeStatus1": [
|
||||
"ZigbeeState1": [
|
||||
{
|
||||
"ShortAddr": "0x6B58",
|
||||
"IEEEAddr": "7CB03EAA0A0292DD",
|
||||
|
@ -145,13 +145,13 @@ _(JSON pretty-printed for readability)_
|
|||
|
||||
Get information about endpoints and ZCL clusters supported with `ZigbeeStatus 2`:
|
||||
```yaml
|
||||
{"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"," ...
|
||||
{"ZigbeeState2":[{"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"," ...
|
||||
```
|
||||
|
||||
_(JSON pretty-printed for readability)_
|
||||
```yaml
|
||||
{
|
||||
"ZigbeeStatus2": [
|
||||
"ZigbeeState2": [
|
||||
{
|
||||
"ShortAddr": "0x6B58",
|
||||
"Endpoints": {
|
||||
|
|
Loading…
Reference in New Issue