|
1、环境:
硬件:树莓派3B+
z2m硬件
aqara温湿度传感器
aqara单键开关(单火版)
软件环境:
使用hassio一键脚本安装
2、出现问题:重启后,zigbee单火开关无法自动上线
在add-on store安装zigbee2mqtt后,长按设备进行配对成功,在"配置"-“设备”页面能够看到一个环境传感器(Device type:Enddevice)和一个开关(Device type:Router),点开关进去,在实体栏里能够操作按钮来控制灯的开关,但是在树莓派重启后,环境传感器能够主动连接上来,在zigbee2mqtt的log里能够看到环境传感器上传的数据,但是那个单火开关却无法通过页面进行控制,当操作页面开关按钮时,zigbee2mqtt的log如下:
Zigbee2MQTT:error 2021-01-13 16:21:14: Publish 'set' 'state' to '0x00158d000491019e' failed: 'Error: Command 0x00158d000491019e/2 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null}) failed (Data request failed with error: 'MAC transaction expired' (240))'Zigbee2MQTT:info 2021-01-13 16:21:14: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"Publish 'set' 'state' to '0x00158d000491019e' failed: 'Error: Command 0x00158d000491019e/2 genOnOff.on({}, {\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":false,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":null,\"transactionSequenceNumber\":null}) failed (Data request failed with error: 'MAC transaction expired' (240))'","meta":{"friendly_name":"0x00158d000491019e"},"type":"zigbee_publish_error"}'
|
|