Hallo @KaiS,
kleines Problem, wenn ich ein Gerät neu anlege und die Geräteinformationen abrufe, erscheint in z2m folgende Fehlermeldung:
Blockzitat
Error Error: Cannot read property 'name' of undefined
Im Debug ist nichts zu sehen:
TXT: 01.03.2022, 08:41:11 | symconExtensionCommand Topic | symcon/zigbee2mqtt/getDevice
TXT: 01.03.2022, 08:41:11 | symconExtensionCommand Payload | Flur/Beleuchtung/Wandtaster/unten
TXT: 01.03.2022, 08:41:11 | MQTT Topic | symcon/zigbee2mqtt/Flur/Beleuchtung/Wandtaster/unten/deviceInfo
TXT: 01.03.2022, 08:41:11 | MQTT Payload | {"zh":{"_events":{},"_eventsCount":0,"ID":158,"_type":"EndDevice","_ieeeAddr":"0xa4c13897981cd445","_networkAddress":59613,"_manufacturerID":4417,"_endpoints":[{"_events":{},"_eventsCount":0,"ID":1,"profileID":260,"deviceID":0,"inputClusters":[1,6,57344,0],"outputClusters":[25,10],"deviceNetworkAddress":59613,"deviceIeeeAddress":"0xa4c13897981cd445","clusters":{"genBasic":{"attributes":{"modelId":"TS0043","manufacturerName":"_TZ3000_kkahwiyu","powerSource":3,"zclVersion":3,"appVersion":67,"stackVersion":0,"hwVersion":1,"dateCode":""}},"genPowerCfg":{"attributes":{"batteryPercentageRemaining":200}}},"_binds":[{"cluster":1,"type":"endpoint","deviceIeeeAddress":"0x00124b0021cc4bd3","endpointID":1}],"_configuredReportings":[{"cluster":1,"attrId":33,"minRepIntval":3600,"maxRepIntval":62000,"repChange":0}],"meta":{},"pendingRequests":[]},{"_events":{},"_eventsCount":0,"ID":2,"profileID":260,"deviceID":0,"inputClusters":[6,1,6],"outputClusters":[],"deviceNetworkAddress":59613,"deviceIeeeAddress":"0xa4c13897981cd445","clusters":{},"_binds":[],"_configuredReportings":[],"meta":{},"pendingRequests":[]},{"_events":{},"_eventsCount":0,"ID":3,"profileID":260,"deviceID":0,"inputClusters":[6,1,6],"outputClusters":[],"deviceNetworkAddress":59613,"deviceIeeeAddress":"0xa4c13897981cd445","clusters":{},"_binds":[],"_configuredReportings":[],"meta":{},"pendingRequests":[]},{"_events":{},"_eventsCount":0,"ID":4,"profileID":260,"deviceID":0,"inputClusters":[6,1,6],"outputClusters":[],"deviceNetworkAddress":59613,"deviceIeeeAddress":"0xa4c13897981cd445","clusters":{},"_binds":[],"_configuredReportings":[],"meta":{},"pendingRequests":[]}],"_manufacturerName":"_TZ3000_kkahwiyu","_powerSource":"Battery","_modelID":"TS0043","_applicationVersion":67,"_stackVersion":0,"_zclVersion":3,"_hardwareVersion":1,"_dateCode":"","_interviewCompleted":true,"_interviewing":false,"_skipDefaultResponse":false,"_skipTimeResponse":false,"meta":{"configured":-1217940983},"_lastSeen":1646117497566,"_defaultSendRequestWhen":"immediate","_linkquality":129},"_definition":{"zigbeeModel":["TS0043"],"model":"TS0043","vendor":"TuYa","description":"Wireless switch with 3 buttons","whiteLabel":[{"vendor":"Smart9","model":"S9TSZGB"},{"vendor":"Lonsonho","model":"TS0043"},{"vendor":"LoraTap","model":"SS600ZB"}],"exposes":[{"type":"numeric","name":"battery","property":"battery","access":1,"unit":"%","description":"Remaining battery in %","value_min":0,"value_max":100},{"type":"enum","name":"action","property":"action","access":1,"values":["1_single","1_double","1_hold","2_single","2_double","2_hold","3_single","3_double","3_hold"],"description":"Triggered action (e.g. a button click)"},{"type":"numeric","name":"linkquality","property":"linkquality","access":1,"unit":"lqi","description":"Link quality (signal strength)","value_min":0,"value_max":255}],"fromZigbee":[{"cluster":"genOnOff","type":"raw"},{"cluster":"genPowerCfg","type":["attributeReport","readResponse"]}],"toZigbee":[{"key":["scene_store"]},{"key":["scene_recall"]},{"key":["scene_add"]},{"key":["scene_remove"]},{"key":["scene_remove_all"]},{"key":["read"]},{"key":["write"]},{"key":["command"]}],"options":[]},"_definitionModelID":"TS0043"}
TXT: 01.03.2022, 08:41:11 | mapExposesToVariables:: All Exposes | [{"type":"numeric","name":"battery","property":"battery","access":1,"unit":"%","description":"Remaining battery in %","value_min":0,"value_max":100},{"type":"enum","name":"action","property":"action","access":1,"values":["1_single","1_double","1_hold","2_single","2_double","2_hold","3_single","3_double","3_hold"],"description":"Triggered action (e.g. a button click)"},{"type":"numeric","name":"linkquality","property":"linkquality","access":1,"unit":"lqi","description":"Link quality (signal strength)","value_min":0,"value_max":255}]
TXT: 01.03.2022, 08:41:11 | mapExposesToVariables:: Missed Exposes | {"light":[],"switch":[]}
Kann es sein, dass Koenkk irgendwas geändert hat, was Einfluss auf Deine Extension hat?
Hierbei handelte es sich im Speziellen um den Taster:
Zigbee Schalter Tuya Smart Kostenloser Verdrahtung Kostenloser Einfügen Szene Taste Fernbedienung Schalter App Smart Switch Smart Leben 1/2/3 Gang| | - AliExpress
Funktionseinschränkungen sind aber keine zu erkennen.
Gruß
Burkhard