zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Xiaomi JY-GZ-01AQ smoke detector missing exposes property "Linkage alarm state" in all message payloads

Open SteveBrackenbury opened this issue 1 year ago • 0 comments

What happened?

Z2M supported device Xiaomi JY-GZ-01AQ smoke detector is missing attribute/property "Linkage alarm state" in all message payloads, even though Z2M device documentation (https://www.zigbee2mqtt.io/devices/JY-GZ-01AQ.html) includes this attribute/property.

From the Z2M frontend Devices -> Xiaomi JY-GZ-01AQ smoke detector instance:

Device -> Exposes tab shows "Linkage alarm state" value as "N/A"

Device -> State is missing the linkage_alarm_state attribute/property: { "battery": 100, "buzzer_manual_alarm": false, "buzzer_manual_mute": false, "heartbeat_indicator": false, "last_seen": "2024-01-02T15:19:50-05:00", "linkage_alarm": "true", "linkquality": 127, "power_outage_count": 13, "smoke": false, "smoke_density": 0, "smoke_density_dbm": 0, "test": false, "voltage": 3043 }

What did you expect to happen?

Device -> Exposes tab should show "Linkage alarm state" with a default value of "false"

Device -> State should include the linkage_alarm_state attribute/property with a default value of "false": { "battery": 100, "buzzer_manual_alarm": false, "buzzer_manual_mute": false, "heartbeat_indicator": false, "last_seen": "2024-01-02T15:19:50-05:00", "linkage_alarm": "true", "linkage_alarm_state": "false", "linkquality": 127, "power_outage_count": 13, "smoke": false, "smoke_density": 0, "smoke_density_dbm": 0, "test": false, "voltage": 3043 }

How to reproduce it (minimal and precise)

Should be able to recreate by verifying Device Exposes and Device State in Z2M frontend for Aqara JY-GZ-01AQ Device.

Here are my platform, OS USB coordinator adapter, Zigbee device and associated software/firmware version details:

Hardware Platform: Raspberry Pi 3 Model B Plus Rev 1.3

OS Version: 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux

Adapter/Coordinator details: Adapter Type: CC2652 By-id: /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_a095bb8111c4ec119af079480af30733-if00-port0 (https://www.amazon.com/dp/B0C7GMVQKR) Coordinator Type: zStack3x0 Coordinator firmware revision: 20221226

Device Model details:

Manufacturer: Aqara Model: JY-GZ-01AQ Zigbee Model: lumi.sensor_smoke.acn03 Firmware version: 2019www.

Zigbee2MQTT version

1.35.0 commit: 3d8f0fc3

Adapter firmware version

20221226

Adapter

Adapter Type: CC2652 USB Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller(https://www.amazon.com/dp/B0C7GMVQKR)

Debug log

Debug 2024-01-02 12:48:53Received Zigbee message from 'smoke-detector-bsmnt-new-workshop', type 'attributeReport', cluster 'aqaraOpple', data '{"247":{"data":[1,33,225,11,3,40,25,4,33,168,67,5,33,14,0,6,36,1,0,0,0,0,8,33,17,1,10,33,0,0,12,32,1,102,32,3,103,32,1,104,33,168,0,160,33,0,0,161,32,0,162,32,0,163,32,0,164,32,0,165,32,1],"type":"Buffer"}}' from endpoint 1 with groupID 0 Debug 2024-01-02 12:48:53JY-GZ-01AQ: Processed buffer into data {"1":3041,"3":25,"4":17320,"5":14,"6":1,"8":273,"10":0,"12":1,"102":3,"103":1,"104":168,"160":0,"161":0,"162":0,"163":0,"164":0,"165":1} Debug 2024-01-02 12:48:53JY-GZ-01AQ: unknown key 6 with value 1 Debug 2024-01-02 12:48:53JY-GZ-01AQ: unknown key 104 with value 168 Debug 2024-01-02 12:48:53JY-GZ-01AQ: Processed data into payload {"voltage":3041,"battery":100,"power_outage_count":13,"smoke":false,"smoke_density":0,"smoke_density_dbm":0,"test":false,"buzzer_manual_mute":false,"heartbeat_indicator":false,"linkage_alarm":true} Debug 2024-01-02 12:48:53JY-GZ-01AQ: Processed data into payload {"voltage":3041,"battery":100,"power_outage_count":13,"smoke":false,"smoke_density":0,"smoke_density_dbm":0,"test":false,"buzzer_manual_mute":false,"heartbeat_indicator":false,"linkage_alarm":true} Info 2024-01-02 12:48:53MQTT publish: topic 'zigbee2mqtt/smoke-detector-bsmnt-new-workshop', payload '{"battery":100,"buzzer_manual_alarm":false,"buzzer_manual_mute":false,"heartbeat_indicator":false,"last_seen":"2024-01-02T12:48:5305:00","linkage_alarm":true,"linkquality":105,"power_outage_count":13,"smoke":false,"smoke_density":0,"smoke_density_dbm":0,"test":false,"voltage":3041}'

SteveBrackenbury avatar Jan 02 '24 22:01 SteveBrackenbury