I successfully paired an Xiaomi Aqara vibration sensor (DJT11LM) using zigbee2mqtt. I have it stuck on a magnet on the front of my washer and an automation that alerts me if a timer triggered by vibration detected by the sensor expires. Unfortunately the sensor barely triggers and I am trying to increase the sensitivity following this link. However when I send
zigbee2mqtt/0x00158d0003135593/set
with a payload of
{ "sensitivity": "high"}
I get the following error in the log:
zigbee2mqtt:info 10/16/2019, 11:06:18 AM MQTT publish: topic 'zigbee2mqtt/0x00158d0003135593', payload '{"angle":18,"linkquality":86,"angle_x":1,"angle_y":0,"angle_z":89,"angle_x_absolute":89,"angle_y_absolute":90,"battery":100,"voltage":3015}'
zigbee2mqtt:info 10/16/2019, 11:06:22 AM Zigbee publish to device '0x00158d0003135593', genBasic - write - [{"attrId":65293,"dataType":32,"attrData":1}] - {"manufSpec":1,"disDefaultRsp":1,"manufCode":4447} - 1
zigbee2mqtt:error 10/16/2019, 11:06:28 AM Zigbee publish to device '0x00158d0003135593', genBasic - write - [{"attrId":65293,"dataType":32,"attrData":1}] - {"manufSpec":1,"disDefaultRsp":1,"manufCode":4447} - null failed with error Error: AF data request fails, status code: 240. MAC transaction expired.
zigbee2mqtt:info 10/16/2019, 11:06:28 AM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"zigbee_publish_error","message":"Error: AF data request fails, status code: 240. MAC transaction expired.","meta":{"entity":{"ID":"0x00158d0003135593","type":"device","friendlyName":"0x00158d0003135593"},"message":"{ \"sensitivity\": \"high\"}"}}'
I do wake up the sensor by pressing the button before publishing.
Can anyone tell me what I am doing wrong?
Thanks