Zigbee Commands
Zigbee commands
Это заметки по "умному дому" и командам
commands
command
Команда | Описание | Пример использования |
---|---|---|
|
As <device> in following commands you can use interchangeably: <shortaddr> = short address of the Zigbee device on the network, example: 0x1234 <longaddr> = permanent IEEE address of the Zigbee device (64 bits), example: 0x00158D00041160C5 <index> = number of the device in the internal list (starts at 1), ideal for enumerating devices, example: 3 for third device in the list <name> = friendly name. Only when previously set with ZbName |
|
command
Команда | Описание | Пример использования |
---|---|---|
|
Asks the device for its internal binding states
или
|
16:20:52.118 CMD: ZbBindState 1 16:20:52.121 SRC: WebConsole from 192.168.22.108 16:20:52.122 CMD: Grp 0, Cmd 'ZBBINDSTATE', Idx 1, Len 1, Pld 1, Data '1' 16:20:52.126 ZIG: ZbZNPSent 25336AFD00 16:20:52.133 MQT: stat/tasmota_3281FC/RESULT = {"ZbBindState":"Done"} 16:20:52.159 ZIG: {"ZbZNPReceived":"653300"} 16:20:52.195 ZIG: {"ZbZNPReceived":"45B36AFD00020002F9ED9A5B3B38C1A4010600037884B626004B120001F9ED9A5B3B38C1A401040B037884B626004B120001"} 16:20:52.202 MQT: tele/tasmota_3281FC/RESULT = {"ZbBindState":{"Device":"0xFD6A","Status":0,"StatusMessage":"SUCCESS","Total":2,"Start":1,"Bindings":[{"Cluster":"0x0006","Endpoint":1,"ToDevice":"0x00124B0026B68478","ToEndpoint":1},{"Cluster":"0x0B04","Endpoint":1,"ToDevice":"0x00124B0026B68478","ToEndpoint":1}]}}
16:26:39.630 CMD: zbBindState 0xFD6A 16:26:39.632 SRC: WebConsole from 192.168.22.108 16:26:39.635 CMD: Grp 0, Cmd 'ZBBINDSTATE', Idx 1, Len 6, Pld 64874, Data '0xFD6A' 16:26:39.638 ZIG: ZbZNPSent 25336AFD00 16:26:39.644 MQT: stat/tasmota_3281FC/RESULT = {"ZbBindState":"Done"} 16:26:39.678 ZIG: {"ZbZNPReceived":"653300"} 16:26:39.724 ZIG: {"ZbZNPReceived":"45C46AFD00"} 16:26:39.775 ZIG: {"ZbZNPReceived":"45B36AFD00020002F9ED9A5B3B38C1A4010600037884B626004B120001F9ED9A5B3B38C1A401040B037884B626004B120001"} 16:26:39.783 MQT: tele/tasmota_3281FC/RESULT = {"ZbBindState":{"Device":"0xFD6A","Status":0,"StatusMessage":"SUCCESS","Total":2,"Start":1,"Bindings":[{"Cluster":"0x0006","Endpoint":1,"ToDevice":"0x00124B0026B68478","ToEndpoint":1},{"Cluster":"0x0B04","Endpoint":1,"ToDevice":"0x00124B0026B68478","ToEndpoint":1}]}} |
command
Команда | Описание | Пример использования |
---|---|---|
|
Текст ячейки |
ZbCIE Configure on the ZigBee device the CIE address using the IEEE address of the ZigBee Bridge. The ZigBee Bridge will act as the CIE device for the ZigBee Network. See IAS Cluster in the ZigBee specification for more information. Usage: ZbCIE <device>,<endpoint> <device> is the ZigBee device to configure <endpoint> is the endpoint in the ZigBee device where the IAS Cluster is. Example: ZbCIE 1,44 |
command
Команда | Описание | Пример использования |
---|---|---|
|
Текст ячейки |
ZbEnroll Enroll the the ZigBee device to the ZigBee Bridge for reporting security sensors data, panels, etc. The ZigBee Bridge will act as the CIE device for the ZigBee Network. Usage: ZbEnroll <device>,<endpoint> <device> is the ZigBee device to configure <endpoint> is the endpoint in the ZigBee device where the IAS Cluster is. Example: ZbEnroll 1,44 |
command
Команда | Описание | Пример использования |
---|---|---|
|
Текст ячейки |
ZbConfig display the current Zigbee configuration Example or result: {"ZbConfig":{"Channel":11,"PanID":"0x1A63","ExtPanID":"0xCCCCCCCCCCCCCCCC","KeyL":"0x0F0D0B0907050301","KeyH":"0x0D0C0A0806040200"}} |
command
Команда | Описание | Пример использования |
---|---|---|
|
Текст ячейки |
ZbConfig <json> change the configuration and restart if any change was applied. Warning: change in configuration causes a reset of the CC2530/ZBBridge and requires devices to be re-paired. "Channel":<channel>: Zigbee radio channel (11-26) "PanID":<panid>: identifier of the Zigbee Network "ExtPanID":<extpanid>: unique identifier of the Zigbee Network (ExtPanID features are not supported in Z2T but this parameter needs to be set) "KeyL":<key_l>,"KeyH":<key_h>: 128 bits encryption key, split into 2 64 bits values (Low and High) "TXRadio":<txradio>: radio power in dBm (1-20) only for ZBBridge All parameters are optional and only the ones specified are changed. The command always displays the complete configuration after the change Example of command: ZbConfig {"Channel":22,"PanID":"0x1A69","ExtPanID":"0xDDCCCCCCCCCCCCCC","KeyL":"0xFF0D0B0907050301","KeyH":"0xED0C0A0806040200"} The following command creates a highly secure Network key based on a hardware random generator: ZbConfig {"KeyL":"","KeyH":""} |
command
Команда | Описание | Пример использования | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Текст ячейки |
ZbDeviceTopic SetOption89 Configure MQTT topic for Zigbee devices (also see SensorRetain) 0 = single tele/%topic%/SENSOR topic (default) 1 = unique device topic based on Zigbee device ShortAddr Example: tele/Zigbee/5ADF/SENSOR = {"ZbReceived":{"0x5ADF":{"Dimmer":254,"Endpoint":1,"LinkQuality":70}}}
command
|