Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.77k stars 1.64k forks source link

Legrand shutter 067776 systematically crashing z2m at pairing #19675

Closed lnamer77 closed 3 months ago

lnamer77 commented 10 months ago

What happened?

Each time I try to pair a new shutter switch 067776, pairing starts, then suddenly zigbee2mqtt crashes and I cannot finalise the pairing. This is a recent issue as I have paired quite a few before upgrading to version 1.33. now it is impossible

Last lines of code from the log are the following, every time I pair these are the 3 last lines before crash.

Debug <small>2023-11-11 13:55:56</small>Received Zigbee message from '0x00047400008d292f', type 'readResponse', cluster 'genBasic', data '{"modelId":" Shutter switch with neutral\u0000\u0000\u0000"}' from endpoint 1 with groupID 0 Debug <small>2023-11-11 13:55:56</small>Skipping message, definition is undefined and still interviewing Info <small>2023-11-11 13:55:56</small>MQTT publish: topic 'zigbee2mqtt/0x00047400008d292f', payload '{"device":{"friendlyName":"0x00047400008d292f","ieeeAddr":"0x00047400008d292f","manufacturerID":4129,"model":"unknown","networkAddress":38754,"type":"Router"},"last_seen":"2023-11-11T12:55:57.149Z","linkquality":128}'``

What did you expect to happen?

Normal pairing

How to reproduce it (minimal and precise)

Reset and pair the shutter

Zigbee2MQTT version

1.33.2

Adapter firmware version

6.10.3.0 build 297

Adapter

EZSP v8

Debug log

Info 2023-11-11 17:07:48Device '0x00047400008d292f' joined
Info 2023-11-11 17:07:48MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00047400008d292f","ieee_address":"0x00047400008d292f"},"type":"device_joined"}'
Info 2023-11-11 17:07:48MQTT publish: topic 'zigbee2mqtt/0x00047400008d292f', payload '{"device":{"friendlyName":"0x00047400008d292f","ieeeAddr":"0x00047400008d292f","model":"unknown","networkAddress":53897,"type":"Unknown"},"last_seen":"2023-11-11T16:07:48.610Z"}'
Info 2023-11-11 17:07:48Starting interview of '0x00047400008d292f'
Info 2023-11-11 17:07:49MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00047400008d292f","ieee_address":"0x00047400008d292f","status":"started"},"type":"device_interview"}'
Debug 2023-11-11 17:07:50Received Zigbee message from 'Capteur Humidité - Salon gauche', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[2],"type":"Buffer"},"datatype":4,"dp":14}],"seq":23552}' from endpoint 1 with groupID 0
Info 2023-11-11 17:07:50MQTT publish: topic 'zigbee2mqtt/Capteur Humidité - Salon gauche', payload `'{"battery":80,"battery_state":"high","device":{"applicationVersion":72,"dateCode":"","friendlyName":"Capteur` Humidité - Salon gauche","hardwareVersion":1,"ieeeAddr":"0xa4c1383690b907e9","manufacturerID":4417,"manufacturerName":"_TZE200_myd45weu","model":"TS0601_soil","networkAddress":63908,"powerSource":"Battery","stackVersion":0,"type":"EndDevice","zclVersion":3},"last_seen":"2023-11-11T16:07:48.823Z","linkquality":132,"soil_moisture":75,"temperature":13}'
Info 2023-11-11 17:07:50MQTT publish: topic 'zigbee2mqtt/0x00047400008d292f', payload '{"device":{"friendlyName":"0x00047400008d292f","ieeeAddr":"0x00047400008d292f","model":"unknown","networkAddress":53897,"type":"Unknown"},"last_seen":"2023-11-11T16:07:48.828Z"}'
Debug 2023-11-11 17:07:50Received Zigbee message from '0x00047400008d292f', type 'readResponse', cluster 'genBasic', data '{"modelId":" Shutter switch with neutral\u0000\u0000\u0000"}' from endpoint 1 with groupID 0
Debug 2023-11-11 17:07:50Skipping message, definition is undefined and still interviewing
Info 2023-11-11 17:07:50MQTT publish: topic 'zigbee2mqtt/0x00047400008d292f', payload '{"device":{"friendlyName":"0x00047400008d292f","ieeeAddr":"0x00047400008d292f","manufacturerID":4129,"model":"unknown","networkAddress":53897,"type":"Router"},"last_seen":"2023-11-11T16:07:49.624Z","linkquality":132}'
github-actions[bot] commented 4 months ago

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