zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Neo NAS-AB02B2 duration not published

Open schrej-zz opened this issue 4 years ago • 7 comments

What happened?

The parameter "duration" should be published based on documentation of Neo NAS-AB02B2 and also based on M2Z documentation. But the parameter is missing in the JSON payload. Haven't yet tested, if I can set the durartion. UPDATE: Setting duration with "set" command is successful

What did you expect to happen?

Parameter "duration" in payload

How to reproduce it (minimal and precise)

Let device join. Wait for JSON Payload

Zigbee2MQTT version

1.25.1 commit: 3f6a1378

Adapter firmware version

20220219

Adapter

Sonoff USB Dongle Plus

Debug log

Info 2022-05-14 10:52:14MQTT publish: topic 'Z2M/ZB_Sirene_01', payload '{"alarm":false,"battpercentage":100,"last_seen":"2022-05-14T10:52:14+02:00","linkquality":105,"melody":9,"volume":"high"}'

schrej-zz avatar May 14 '22 08:05 schrej-zz

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jun 14 '22 00:06 github-actions[bot]

Bump

schrej-zz avatar Jun 14 '22 05:06 schrej-zz

If the device does not report duration, it can't be in payload. Duration will start appearing in payload a) after device reports duration from itself b) after duration is set by yourself (and device confirms duration by reporting it after you set it (same as a) )

AlexKay88 avatar Jun 21 '22 16:06 AlexKay88

Sorry, but the device does not report duration in any case. It is just missing in the json, even when I set duration.

It is reported in the Z2M status tab, but never in the transferred json message

Z2M status tab: { "alarm": false, "battpercentage": 100, "last_seen": "2022-07-07T18:59:03+02:00", "linkquality": 91, "melody": 11, "volume": "high", "duration": 30 } MQTT message: {"alarm":false,"battpercentage":100,"duration":30,"last_seen":"2022-07-07T18:56:48+02:00","linkquality":94,"melody":11,"volume":"high"}

schrej-zz avatar Jul 07 '22 16:07 schrej-zz

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Aug 07 '22 00:08 github-actions[bot]

Ping

schrej-zz avatar Aug 07 '22 05:08 schrej-zz

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Sep 08 '22 00:09 github-actions[bot]