zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Cannot get the Node Descriptor of the Device: 0x00158d00028b6b2f

Open sander816 opened this issue 7 years ago • 19 comments

Bug report when adding a MCCGQ01LM mijia door sensor i get Cannot get the Node Descriptor of the Device: 0x00158d00028b6b2f

I have succesfully connected 2 MCCGQ01LM aqara sensors though

https://www.gearbest.com/smart-light-bulb/pp_257677.html?wid=1433363&currency=EUR&vip=2275151&gclid=Cj0KCQiAmuHhBRD0ARIsAFWyPwiJkmS8xakfysG3pIX6zJjxIPlvwuuvxFGACLu2s41geaEm3cmNnGwaAvB_EALw_wcB

sander816 avatar Jan 11 '19 12:01 sander816

same goes for the aqara cub: Cannot get the Node Descriptor of the Device: 0x00158d000278e797 (Error: Timed out after 10000 ms)

sander816 avatar Jan 11 '19 12:01 sander816

Get closer to the coordinator when pairing. Also if you have a muti meter check the device battery voltage it might be low.

subzero79 avatar Jan 11 '19 21:01 subzero79

Also see: https://koenkk.github.io/zigbee2mqtt/getting_started/pairing_devices.html#xiaomi

Koenkk avatar Jan 11 '19 21:01 Koenkk

i tried at 1 meter, no difference, battery voltage is 2.88v

when pairing and pressing the button every second:

 zigbee2mqtt:warn 1/11/2019, 11:17:21 PM Please see: https://koenkk.github.io/zigbee2mqtt/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 1/11/2019, 11:17:26 PM Device with modelID 'undefined' is not supported.
  zigbee2mqtt:warn 1/11/2019, 11:17:26 PM Please see: https://koenkk.github.io/zigbee2mqtt/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 1/11/2019, 11:17:31 PM Device with modelID 'undefined' is not supported.
  zigbee2mqtt:warn 1/11/2019, 11:17:31 PM Please see: https://koenkk.github.io/zigbee2mqtt/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 1/11/2019, 11:17:36 PM Device with modelID 'undefined' is not supported.
  zigbee2mqtt:warn 1/11/2019, 11:17:36 PM Please see: https://koenkk.github.io/zigbee2mqtt/how_tos/how_to_support_new_devices.html
 PM Cannot get the Node Descriptor of the Device: 0x00158d00028b6b2f (Error: Timed out after 10000 ms)
  zigbee2mqtt:warn 1/11/2019, 11:17:43 PM Device with modelID 'undefined' is not supported.
  zigbee2mqtt:warn 1/11/2019, 11:17:43 PM Please see: https://koenkk.github.io/zigbee2mqtt/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 1/11/2019, 11:17:47 PM Device with modelID 'undefined' is not supported.
  zigbee2mqtt:warn 1/11/2019, 11:17:47 PM Please see: https://koenkk.github.io/zigbee2mqtt/how_tos/how_to_support_new_devices.html
  zigbee2mqtt:warn 1/11/2019, 11:17:53 PM Device with modelID 'undefined' is not supported.
  zigbee2mqtt:warn 1/11/2019, 11:17:53 PM Please see: https://koenkk.github.io/zigbee2mqtt/how_tos/how_to_support_new_devices.html

sander816 avatar Jan 11 '19 22:01 sander816

  • Stop zigbee2mqtt
  • Remove all entries of 0x00158d00028b6b2f from database.db
  • Start zigbee2mqtt
  • Follow https://koenkk.github.io/zigbee2mqtt/getting_started/pairing_devices.html#xiaomi carefully

Koenkk avatar Jan 11 '19 22:01 Koenkk

did that, but still: zigbee2mqtt:error 1/11/2019, 11:32:32 PM Cannot get the Node Descriptor of the Device: 0x00158d00028b6b2f (Error: Timed out after 10000 ms)

Op vr 11 jan. 2019 om 23:28 schreef Koen Kanters [email protected]:

  • Stop zigbee2mqtt
  • Remove all entries of 0x00158d00028b6b2f from database.db
  • Start zigbee2mqtt
  • Follow https://koenkk.github.io/zigbee2mqtt/getting_started/pairing_devices.html#xiaomi carefully

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Koenkk/zigbee2mqtt/issues/837#issuecomment-453677260, or mute the thread https://github.com/notifications/unsubscribe-auth/Ahw1pbhX5KmOAoQ6myVwwQmGvk_QdLjeks5vCQ_5gaJpZM4Z7Ycd .

sander816 avatar Jan 11 '19 22:01 sander816

same error when pressin the button: zigbee2mqtt:warn 1/11/2019, 11:35:29 PM Device with modelID 'undefined' is not supported. zigbee2mqtt:warn 1/11/2019, 11:35:29 PM Please see: https://koenkk.github.io/zigbee2mqtt/how_tos/how_to_support_new_devices.html zigbee2mqtt:warn 1/11/2019, 11:35:35 PM Device with modelID 'undefined' is not supported. zigbee2mqtt:warn 1/11/2019, 11:35:35 PM Please see: https://koenkk.github.io/zigbee2mqtt/how_tos/how_to_support_new_devices.html zigbee2mqtt:warn 1/11/2019, 11:35:36 PM Message without device!

sensor works fine in mihome

sander816 avatar Jan 11 '19 22:01 sander816

hmm, after some time it recognized the sensor:

{"id":5,"type":"EndDevice","ieeeAddr":"0x00158d00028b6b2f","nwkAddr":14432,"manufId":4151,"modelId":"lumi.sensor_magnet","epList":[1],"status":"online","joinTime":15472461$
{"id":5,"type":"EndDevice","ieeeAddr":"0x00158d00028b6b2f","nwkAddr":14432,"manufId":4151,"modelId":"lumi.sensor_magnet","epList":[1],"status":"online","joinTime":15472461$

 zigbee2mqtt:info 1/11/2019, 11:40:52 PM MQTT publish: topic 'zigbee2mqtt/0x00158d00028b6b2f', payload '{"contact":true,"linkquality":70}'
  zigbee2mqtt:info 1/11/2019, 11:40:52 PM MQTT publish: topic 'zigbee2mqtt/0x00158d00028b6b2f', payload '{"contact":false,"linkquality":73}'
  zigbee2mqtt:info 1/11/2019, 11:40:53 PM MQTT publish: topic 'zigbee2mqtt/0x00158d00028b6b2f', payload '{"contact":true,"linkquality":70}'
  zigbee2mqtt:info 1/11/2019, 11:40:54 PM MQTT publish: topic 'zigbee2mqtt/0x00158d00028b6b2f', payload '{"contact":false,"linkquality":76}'
  zigbee2mqtt:info 1/11/2019, 11:42:26 PM MQTT publish: topic 'zigbee2mqtt/0x00158d00028b6b2f', payload '{"contact":true,"linkquality":70}'
  zigbee2mqtt:info 1/11/2019, 11:42:27 PM MQTT publish: topic 'zigbee2mqtt/0x00158d00028b6b2f', payload '{"contact":false,"linkquality":70}'
  zigbee2mqtt:info 1/11/2019, 11:42:27 PM MQTT publish: topic 'zigbee2mqtt/0x00158d00028b6b2f', payload '{"contact":true,"linkquality":68}'


sander816 avatar Jan 11 '19 22:01 sander816

Great!

Koenkk avatar Jan 12 '19 07:01 Koenkk

This issue should be fixed, this still happens.

sonuyos avatar Jun 01 '19 19:06 sonuyos

Hello, i have the same issue, how can i solve the problem? i'm trying to add the Xiaomi DJT11LM sensor but i can't (zigbee2mqtt:error 8/5/2019, 9:59:48 AM Cannot get the Node Descriptor of the Device: 0x00158d0002af97b2 (Error: Timed out after 10000 ms)) i don't have any string of this device in the database. i have also 2 ikea tradfri smart switch (plug) that i think work like a router. The fw of my coordinator is the latest 3.0 Thanks a lot for all your help.

wes1993 avatar Aug 05 '19 08:08 wes1993

Same issue here. I successfully paired a Xiaomi Cube but all of my three Xiaomi Aqara Buttons failed when pairing. This is quite strange because everything worked fine with my former ioBroker-Installation. Now that I'm back to FHEM and installed zigbee2mqtt by hand it doesn't.

petjek avatar Aug 20 '19 09:08 petjek

Same. zigbee2mqtt:error 8/26/2019, 7:43:40 PM Cannot get the Node Descriptor of the Device: 0x00158d000313116c (Error: Timed out after 10000 ms)

This device is a Aqara vibration sensor. I'm running on the latest firmware on the coordinator: 20190608 And on the latest software revision: 1.5.1.2

Nihvel avatar Aug 26 '19 18:08 Nihvel

I tried to follow this: https://github.com/Koenkk/zigbee2mqtt/issues/1779#issuecomment-515774316

But I got this:

  zigbee2mqtt:info 8/26/2019, 8:09:33 PM New device 'lumi.vibration.aq1' with address 0x00158d000313116c connected!
/zigbee2mqtt-1.5.1/node_modules/js-yaml/lib/js-yaml/dumper.js:756
      throw new YAMLException('unacceptable kind of an object to dump ' + type);
      ^
YAMLException: unacceptable kind of an object to dump [object Undefined]
    at writeNode (/zigbee2mqtt-1.5.1/node_modules/js-yaml/lib/js-yaml/dumper.js:756:13)
    at dump (/zigbee2mqtt-1.5.1/node_modules/js-yaml/lib/js-yaml/dumper.js:817:7)
    at Object.safeDump (/zigbee2mqtt-1.5.1/node_modules/js-yaml/lib/js-yaml/dumper.js:823:10)
    at Object.writeYaml (/zigbee2mqtt-1.5.1/lib/util/fs.js:13:33)
    at write (/zigbee2mqtt-1.5.1/lib/util/settings.js:139:12)
    at writeRead (/zigbee2mqtt-1.5.1/lib/util/settings.js:122:5)
    at addDevice (/zigbee2mqtt-1.5.1/lib/util/settings.js:206:5)
    at Object.addDevice (/zigbee2mqtt-1.5.1/lib/util/settings.js:390:30)
    at DeviceReceive.onZigbeeMessage (/zigbee2mqtt-1.5.1/lib/extension/deviceReceive.js:68:22)
    at extensions.filter.forEach (/zigbee2mqtt-1.5.1/lib/controller.js:143:31)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node index.js`
npm 
ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

And the application restarts due to this crash. This is the second time this happen.

At the 4th try, it worked:

zigbee2mqtt:info 8/26/2019, 8:12:58 PM MQTT publish: topic 'homeassistant/sensor/0x00158d000313116c/linkquality/config', payload '{"unit_of_measurement":"-","value_template":"{{ value_json.linkquality }}","state_topic":"zigbee2mqtt/0x00158d000313116c","json_attributes_topic":"zigbee2mqtt/0x00158d000313116c","name":"0x00158d000313116c_linkquality","unique_id":"0x00158d000313116c_linkquality_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x00158d000313116c"],"name":"0x00158d000313116c","sw_version":"Zigbee2mqtt 1.5.1","model":"Aqara vibration sensor (DJT11LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'
zigbee2mqtt:info 8/26/2019, 8:13:02 PM MQTT publish: topic 'zigbee2mqtt/0x00158d000313116c', payload '{"action":"tilt","angle":19,"linkquality":110}'
zigbee2mqtt:info 8/26/2019, 8:13:02 PM MQTT publish: topic 'zigbee2mqtt/0x00158d000313116c', payload '{"angle":19,"linkquality":110,"action":""}'

So don't lose your hopes, keep trying ;)

Nihvel avatar Aug 26 '19 18:08 Nihvel

Just in case somebody finds this and is still struggling, please make sure you read the device page carefully. When I read it I read "release and start pressing the button" while it's actually "release and start pressing the reset button"... (facepalm)

I managed to connect one switch without problems but was then struggling with two other switches and trying 10+ times unsuccessfully... Until I randomly tried this method. Worked first time for both switches. Then I wanted to share my findings, re-read the device page and only then noticed the "reset" bit. Oh well. :wink:

piit79 avatar Oct 12 '19 14:10 piit79

What is the difference between the button and the facepalm reset button? Is not the same one?

CASATAJO avatar Oct 20 '19 21:10 CASATAJO

@CASATAJO Not sure if serious... But in case you are: the (facepalm) was a kind of "text emoji" - I kept pressing the actual button instead of the reset button.

Picard facepalm

piit79 avatar Oct 20 '19 21:10 piit79

Thanks. I was. English is not my regular language. So was not sure what you mean

CASATAJO avatar Oct 20 '19 21:10 CASATAJO

Had the same error for door sensor Xiaomi MCCGQ01LM.

Cannot get the Node Descriptor of the Device: 0x00158d00039c7d4a (Error: Timed out after 10000 ms)

This helped: https://github.com/Koenkk/zigbee2mqtt/issues/1779#issuecomment-515774316

I suggest to change the pairing guide here: https://www.zigbee2mqtt.io/devices/MCCGQ01LM.html

JohnAnderton avatar Dec 06 '19 23:12 JohnAnderton