Koenkk / zigbee2mqtt

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

Can not pair aqara window sensor #1452

Closed Ulli2k closed 5 years ago

Ulli2k commented 5 years ago

I tried to pair the aqara window contact sensor several times and do not get it paired. I get the following log entries `zigbee2mqtt:info 4/20/2019, 8:26:13 AM New device 'undefined' with address 0x00158d0002ecf09c connected!

zigbee2mqtt:info 4/20/2019, 8:26:13 AM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":"0x00158d0002ecf09c","meta":{}}'

zigbee2mqtt:warn 4/20/2019, 8:26:13 AM Device with modelID 'undefined' is not supported.

zigbee2mqtt:warn 4/20/2019, 8:26:13 AM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html

zigbee2mqtt:warn 4/20/2019, 8:26:13 AM Device with modelID 'undefined' is not supported.

zigbee2mqtt:warn 4/20/2019, 8:26:13 AM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html

zigbee2mqtt:warn 4/20/2019, 8:26:20 AM Device with modelID 'undefined' is not supported.

zigbee2mqtt:warn 4/20/2019, 8:26:20 AM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html

zigbee2mqtt:warn 4/20/2019, 8:26:20 AM Device with modelID 'undefined' is not supported.

zigbee2mqtt:warn 4/20/2019, 8:26:20 AM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html

zigbee2mqtt:warn 4/20/2019, 8:26:34 AM Message without device!

zigbee2mqtt:warn 4/20/2019, 8:26:51 AM Device with modelID 'undefined' is not supported.

zigbee2mqtt:warn 4/20/2019, 8:26:51 AM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html

zigbee2mqtt:warn 4/20/2019, 8:26:59 AM Device with modelID 'undefined' is not supported.

zigbee2mqtt:warn 4/20/2019, 8:26:59 AM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html`

I use the following firmware zigbee2mqtt:info 4/20/2019, 8:33:50 AM Starting zigbee2mqtt version 1.3.0 (commit #unknown)

zigbee2mqtt:info 4/20/2019, 8:33:50 AM Starting zigbee-shepherd

zigbee2mqtt:info 4/20/2019, 8:33:52 AM zigbee-shepherd started

zigbee2mqtt:info 4/20/2019, 8:33:52 AM Coordinator firmware version: '20181024'

Ulli2k commented 5 years ago

If I press the pairing button just one time I get ` zigbee2mqtt:info 4/20/2019, 8:36:26 AM MQTT publish: topic 'zigbee2mqtt/0x00158d000312220c', payload '{"contact":false,"linkquality":120}', zigbee2mqtt:info 4/20/2019, 8:36:26 AM MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.3.0","commit":"unknown","coordinator":20181024,"log_level":"info","permit_join":false}', zigbee2mqtt:info 4/20/2019, 8:36:32 AM Zigbee: disabling joining new devices., zigbee2mqtt:info 4/20/2019, 8:36:32 AM MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.3.0","commit":"unknown","coordinator":20181024,"log_level":"info","permit_join":false}', zigbee2mqtt:info 4/20/2019, 8:36:38 AM Zigbee: allowing new devices to join., zigbee2mqtt:info 4/20/2019, 8:36:38 AM MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.3.0","commit":"unknown","coordinator":20181024,"log_level":"info","permit_join":true}', zigbee2mqtt:info 4/20/2019, 8:37:37 AM Connecting with device..., zigbee2mqtt:info 4/20/2019, 8:37:37 AM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}', zigbee2mqtt:info 4/20/2019, 8:37:41 AM Connecting with device..., zigbee2mqtt:info 4/20/2019, 8:37:41 AM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}', zigbee2mqtt:info 4/20/2019, 8:37:44 AM Connecting with device..., zigbee2mqtt:info 4/20/2019, 8:37:44 AM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}', zigbee2mqtt:info 4/20/2019, 8:37:47 AM Connecting with device..., zigbee2mqtt:info 4/20/2019, 8:37:47 AM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}', zigbee2mqtt:info 4/20/2019, 8:37:50 AM Connecting with device..., zigbee2mqtt:info 4/20/2019, 8:37:50 AM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}', zigbee2mqtt:info 4/20/2019, 8:37:50 AM Device incoming..., zigbee2mqtt:info 4/20/2019, 8:37:50 AM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"device incoming"}', zigbee2mqtt:info 4/20/2019, 8:37:50 AM New device 'undefined' with address 0x00158d0002ecf09c connected!, zigbee2mqtt:info 4/20/2019, 8:37:50 AM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":"0x00158d0002ecf09c","meta":{}}', zigbee2mqtt:warn 4/20/2019, 8:37:50 AM Device with modelID 'undefined' is not supported., zigbee2mqtt:warn 4/20/2019, 8:37:50 AM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html, zigbee2mqtt:warn 4/20/2019, 8:37:50 AM Device with modelID 'undefined' is not supported., zigbee2mqtt:warn 4/20/2019, 8:37:50 AM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html, zigbee2mqtt:warn 4/20/2019, 8:38:28 AM Device with modelID 'undefined' is not supported., zigbee2mqtt:warn 4/20/2019, 8:38:28 AM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html, zigbee2mqtt:warn 4/20/2019, 8:38:28 AM Device with modelID 'undefined' is not supported., zigbee2mqtt:warn 4/20/2019, 8:38:28 AM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html, zigbee2mqtt:warn 4/20/2019, 8:39:12 AM Message without device!, zigbee2mqtt:info 4/20/2019, 8:40:08 AM Device incoming..., zigbee2mqtt:info 4/20/2019, 8:40:08 AM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"device incoming"}', zigbee2mqtt:warn 4/20/2019, 8:40:08 AM Device with modelID 'undefined' is not supported., zigbee2mqtt:warn 4/20/2019, 8:40:08 AM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html, zigbee2mqtt:warn 4/20/2019, 8:40:08 AM Device with modelID 'undefined' is not supported., zigbee2mqtt:warn 4/20/2019, 8:40:08 AM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html, zigbee2mqtt:info 4/20/2019, 8:41:06 AM MQTT publish: topic 'zigbee2mqtt/0x00158d0002e93c1e', payload '{"temperature":25.07,"linkquality":39,"humidity":31.25,"pressure":954,"battery":80,"voltage":2965}', zigbee2mqtt:info 4/20/2019, 8:41:06 AM MQTT publish: topic 'zigbee2mqtt/0x00158d0002e93c1e', payload '{"temperature":25.07,"linkquality":39,"humidity":28.86,"pressure":954,"battery":80,"voltage":2965}', zigbee2mqtt:info 4/20/2019, 8:41:06 AM MQTT publish: topic 'zigbee2mqtt/0x00158d0002e93c1e', payload '{"temperature":25.07,"linkquality":39,"humidity":28.86,"pressure":954,"battery":80,"voltage":2965}', Using '/app/data' as data directory, ,

zigbee2mqtt@1.3.0 start /app, node index.js, , zigbee2mqtt:info 4/20/2019, 8:42:41 AM Logging to directory: '/app/data/log/2019-04-20.08-42-41', zigbee2mqtt:info 4/20/2019, 8:42:41 AM Starting zigbee2mqtt version 1.3.0 (commit #unknown), zigbee2mqtt:info 4/20/2019, 8:42:41 AM Starting zigbee-shepherd, zigbee2mqtt:info 4/20/2019, 8:42:43 AM zigbee-shepherd started, zigbee2mqtt:info 4/20/2019, 8:42:43 AM Coordinator firmware version: '20181024', zigbee2mqtt:info 4/20/2019, 8:42:43 AM Currently 13 devices are joined:, zigbee2mqtt:info 4/20/2019, 8:42:43 AM 0x00158d0002e98f0b (0x00158d0002e98f0b): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice), zigbee2mqtt:info 4/20/2019, 8:42:43 AM 0x00158d0002e93c1e (0x00158d0002e93c1e): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice), zigbee2mqtt:info 4/20/2019, 8:42:43 AM 0x00124b001d10f506 (0x00124b001d10f506): GL-C-008 - Gledopto Zigbee LED controller RGB + CCT / RGBW / WWCW / Dimmer (Router), zigbee2mqtt:info 4/20/2019, 8:42:43 AM 0x00158d0002f9257b (0x00158d0002f9257b): MCCGQ11LM - Xiaomi Aqara door & window contact sensor (EndDevice), zigbee2mqtt:info 4/20/2019, 8:42:43 AM 0x00158d00027d9f53 (0x00158d00027d9f53): MFKZQ01LM - Xiaomi Mi/Aqara smart home cube (EndDevice), zigbee2mqtt:info 4/20/2019, 8:42:43 AM 0x00158d0002e2e0f5 (0x00158d0002e2e0f5): RTCGQ11LM - Xiaomi Aqara human body movement and illuminance sensor (EndDevice), zigbee2mqtt:info 4/20/2019, 8:42:43 AM 0x00158d00025eeb44 (0x00158d00025eeb44): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice), zigbee2mqtt:info 4/20/2019, 8:42:43 AM 0x00158d0002c12956 (0x00158d0002c12956): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice), zigbee2mqtt:info 4/20/2019, 8:42:43 AM 0x00158d0002c90429 (0x00158d0002c90429): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice), zigbee2mqtt:info 4/20/2019, 8:42:43 AM 0x00158d0002c1292b (0x00158d0002c1292b): WSDCGQ11LM - Xiaomi Aqara temperature, humidity and pressure sensor (EndDevice), zigbee2mqtt:info 4/20/2019, 8:42:43 AM 0x00158d000312220c (0x00158d000312220c): MCCGQ11LM - Xiaomi Aqara door & window contact sensor (EndDevice), zigbee2mqtt:info 4/20/2019, 8:42:43 AM unknown (0x00158d0002f9113a): unkown - undefined unknown (EndDevice), zigbee2mqtt:info 4/20/2019, 8:42:43 AM unknown (0x00158d0002ecf09c): unkown - undefined unknown (EndDevice), zigbee2mqtt:info 4/20/2019, 8:42:43 AM Zigbee: disabling joining new devices., zigbee2mqtt:info 4/20/2019, 8:42:43 AM Connecting to MQTT server at mqtt://fhem, zigbee2mqtt:info 4/20/2019, 8:42:43 AM zigbee-shepherd ready, zigbee2mqtt:info 4/20/2019, 8:42:43 AM Connected to MQTT server, zigbee2mqtt:info 4/20/2019, 8:42:43 AM MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online', zigbee2mqtt:info 4/20/2019, 8:42:43 AM MQTT publish: topic 'zigbee2mqtt/0x00158d0002e98f0b', payload '{"temperature":21.52,"linkquality":34,"humidity":44.82,"pressure":954.8,"battery":62,"voltage":2935}', zigbee2mqtt:info 4/20/2019, 8:42:43 AM MQTT publish: topic 'zigbee2mqtt/0x00158d0002e93c1e', payload '{"temperature":24.55,"linkquality":52,"humidity":31.25,"pressure":954,"battery":80,"voltage":2965}', zigbee2mqtt:info 4/20/2019, 8:42:43 AM MQTT publish: topic 'zigbee2mqtt/0x00124b001d10f506', payload '{"state":"OFF","color_temp":495,"color":{"x":0.422,"y":0.468},"linkquality":28,"brightness":175}', zigbee2mqtt:info 4/20/2019, 8:42:43 AM MQTT publish: topic 'zigbee2mqtt/0x00158d0002f9257b', payload '{"battery":91,"voltage":2985,"contact":true,"linkquality":31}', zigbee2mqtt:info 4/20/2019, 8:42:43 AM MQTT publish: topic 'zigbee2mqtt/0x00158d00027d9f53', payload '{"side":0,"linkquality":42,"angle":86.72,"from_side":2,"to_side":0,"battery":100,"voltage":3005}', zigbee2mqtt:info 4/20/2019, 8:42:43 AM MQTT publish: topic 'zigbee2mqtt/0x00158d0002e2e0f5', payload '{"illuminance":137,"linkquality":34,"occupancy":false,"battery":100,"voltage":3005}', zigbee2mqtt:info 4/20/2019, 8:42:43 AM MQTT publish: topic 'zigbee2mqtt/0x00158d00025eeb44', payload '{"temperature":21.99,"linkquality":70,"humidity":32.5,"pressure":954,"battery":91,"voltage":2985}', zigbee2mqtt:info 4/20/2019, 8:42:43 AM MQTT publish: topic 'zigbee2mqtt/0x00158d0002c12956', payload '{"temperature":14.95,"linkquality":15,"humidity":63.63,"pressure":955.5,"battery":91,"voltage":2985}', zigbee2mqtt:info 4/20/2019, 8:42:43 AM MQTT publish: topic 'zigbee2mqtt/0x00158d0002c90429', payload '{"temperature":19.75,"linkquality":55,"humidity":42.46,"pressure":955,"battery":86,"voltage":2975}', zigbee2mqtt:info 4/20/2019, 8:42:43 AM MQTT publish: topic 'zigbee2mqtt/0x00158d0002c1292b', payload '{"temperature":17.25,"linkquality":0,"humidity":55.67,"pressure":950.4,"battery":68,"voltage":2945}', zigbee2mqtt:info 4/20/2019, 8:42:43 AM MQTT publish: topic 'zigbee2mqtt/0x00158d000312220c', payload '{"contact":false,"linkquality":120}', zigbee2mqtt:info 4/20/2019, 8:42:43 AM MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.3.0","commit":"unknown","coordinator":20181024,"log_level":"info","permit_join":false}', zigbee2mqtt:info 4/20/2019, 8:43:14 AM Zigbee: allowing new devices to join., zigbee2mqtt:info 4/20/2019, 8:43:14 AM MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.3.0","commit":"unknown","coordinator":20181024,"log_level":"info","permit_join":true}', zigbee2mqtt:warn 4/20/2019, 8:43:34 AM Message without device!, zigbee2mqtt:info 4/20/2019, 8:44:16 AM Connecting with device..., zigbee2mqtt:info 4/20/2019, 8:44:17 AM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}', zigbee2mqtt:info 4/20/2019, 8:44:20 AM Connecting with device..., zigbee2mqtt:info 4/20/2019, 8:44:20 AM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}', zigbee2mqtt:info 4/20/2019, 8:44:23 AM Connecting with device..., zigbee2mqtt:info 4/20/2019, 8:44:23 AM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}', zigbee2mqtt:info 4/20/2019, 8:44:26 AM Connecting with device..., zigbee2mqtt:info 4/20/2019, 8:44:26 AM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}', zigbee2mqtt:info 4/20/2019, 8:44:29 AM Connecting with device..., zigbee2mqtt:info 4/20/2019, 8:44:29 AM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"connecting with device"}', zigbee2mqtt:info 4/20/2019, 8:44:29 AM Device incoming..., zigbee2mqtt:info 4/20/2019, 8:44:29 AM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"device incoming"}', zigbee2mqtt:info 4/20/2019, 8:44:29 AM New device 'undefined' with address 0x00158d0002ecf09c connected!, zigbee2mqtt:info 4/20/2019, 8:44:29 AM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":"0x00158d0002ecf09c","meta":{}}', zigbee2mqtt:warn 4/20/2019, 8:44:29 AM Device with modelID 'undefined' is not supported., zigbee2mqtt:warn 4/20/2019, 8:44:29 AM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html, zigbee2mqtt:warn 4/20/2019, 8:44:29 AM Device with modelID 'undefined' is not supported., zigbee2mqtt:warn 4/20/2019, 8:44:29 AM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html,`

Fabiancrg commented 5 years ago

I just tried to pair the same device and it worked (latest DEV branch update and FW 20190223). But after that I tried to pair an Aqara motion sensor and had exactly the same issue. What I had to do is remove the device, restart zigbee2mqtt and retried, had to do it two or three times to finally had the sensor working correctly.

Here is the log after the first pairing attempt:

Apr 20 22:01:56 NUC npm[1158]:   zigbee2mqtt:info 4/20/2019, 10:01:56 PM MQTT publish: topic 'zigbee2mqtt/Kitchen_Smoke', payload '{"battery":100,"voltage":3175,"linkquality":39}'
Apr 20 22:01:56 NUC npm[1158]:   zigbee2mqtt:info 4/20/2019, 10:01:56 PM MQTT publish: topic 'zigbee2mqtt/Stairwell_Light', payload '{"state":"OFF","brightness":200,"color_temp":155,"linkquality":39}'
Apr 20 22:02:22 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:22 PM No converter available for 'ZNLDP12LM' with cid 'msOccupancySensing', type 'devChange' and data '{"cid":"msOccupancySensing","data":{"occupancy":1}}'
Apr 20 22:02:22 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:22 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.
Apr 20 22:02:35 NUC npm[1158]:   zigbee2mqtt:info 4/20/2019, 10:02:35 PM New device 'undefined' with address 0x00158d00030aa20d connected!
Apr 20 22:02:35 NUC npm[1158]:   zigbee2mqtt:info 4/20/2019, 10:02:35 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":"0x00158d00030aa20d","meta":{}}'
Apr 20 22:02:35 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:35 PM Device with modelID 'undefined' is not supported.
Apr 20 22:02:35 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:35 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:02:35 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:35 PM Device with modelID 'undefined' is not supported.
Apr 20 22:02:35 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:35 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:02:41 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:41 PM Device with modelID 'undefined' is not supported.
Apr 20 22:02:41 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:41 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:02:42 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:42 PM Device with modelID 'undefined' is not supported.
Apr 20 22:02:42 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:42 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:02:47 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:47 PM Device with modelID 'undefined' is not supported.
Apr 20 22:02:47 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:47 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:02:47 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:47 PM Device with modelID 'undefined' is not supported.
Apr 20 22:02:47 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:47 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:02:53 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:53 PM Device with modelID 'undefined' is not supported.
Apr 20 22:02:53 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:53 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:02:53 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:53 PM Device with modelID 'undefined' is not supported.
Apr 20 22:02:53 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:53 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:02:59 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:59 PM Device with modelID 'undefined' is not supported.
Apr 20 22:02:59 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:02:59 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:01 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:01 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:01 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:01 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:01 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:01 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:01 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:01 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:08 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:08 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:08 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:08 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:10 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:10 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:10 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:10 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:12 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:12 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:12 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:12 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:14 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:14 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:14 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:14 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:16 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:16 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:16 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:16 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:18 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:18 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:18 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:18 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:20 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:20 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:20 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:20 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:22 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:22 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:22 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:22 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:24 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:24 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:24 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:24 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:24 NUC npm[1158]:   zigbee2mqtt:info 4/20/2019, 10:03:24 PM Switching log level to 'debug'
Apr 20 22:03:24 NUC npm[1158]:   zigbee2mqtt:info 4/20/2019, 10:03:24 PM MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.3.1","commit":"0eaf0ad","coordinator":20190223,"log_level":"debug","permit_join":true}'
Apr 20 22:03:26 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:03:26 PM Received zigbee message of type 'attReport' with data '{"cid":"msIlluminanceMeasurement","data":{"measuredValue":5}}' of device 'undefined' (0x00158d00030aa20d) of endpoint 1
Apr 20 22:03:26 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:26 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:26 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:26 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:28 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:03:28 PM Received zigbee message of type 'attReport' with data '{"cid":"msIlluminanceMeasurement","data":{"measuredValue":5}}' of device 'undefined' (0x00158d00030aa20d) of endpoint 1
Apr 20 22:03:28 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:28 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:28 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:28 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:30 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:03:30 PM Received zigbee message of type 'attReport' with data '{"cid":"msIlluminanceMeasurement","data":{"measuredValue":5}}' of device 'undefined' (0x00158d00030aa20d) of endpoint 1
Apr 20 22:03:30 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:30 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:30 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:30 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:31 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:03:31 PM Received zigbee message of type 'readRsp' with data '{"cid":"genBasic","data":{"zclVersion":1,"appVersion":5,"stackVersion":2,"hwVersion":1,"dateCode":"20170627","swBuildId":"3000-0001"}}' of device 'undefined' (0x00158d00030aa20d) of endpoint 1
Apr 20 22:03:31 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:31 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:31 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:31 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:33 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:03:33 PM Received zigbee message of type 'attReport' with data '{"cid":"msIlluminanceMeasurement","data":{"measuredValue":5}}' of device 'undefined' (0x00158d00030aa20d) of endpoint 1
Apr 20 22:03:33 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:33 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:33 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:33 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:34 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:03:34 PM Received zigbee message of type 'devInterview' with data '"0x00158d00030aa20d"'
Apr 20 22:03:35 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:03:35 PM Received zigbee message of type 'attReport' with data '{"cid":"msIlluminanceMeasurement","data":{"measuredValue":5}}' of device 'undefined' (0x00158d00030aa20d) of endpoint 1
Apr 20 22:03:35 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:35 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:35 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:35 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:36 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:03:36 PM Received zigbee message of type 'devInterview' with data '"0x00158d00030aa20d"'
Apr 20 22:03:37 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:03:37 PM Received zigbee message of type 'attReport' with data '{"cid":"msIlluminanceMeasurement","data":{"measuredValue":4}}' of device 'undefined' (0x00158d00030aa20d) of endpoint 1
Apr 20 22:03:37 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:37 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:37 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:37 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:38 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:03:38 PM Received zigbee message of type 'devInterview' with data '"0x00158d00030aa20d"'
Apr 20 22:03:40 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:03:40 PM Received zigbee message of type 'attReport' with data '{"cid":"msIlluminanceMeasurement","data":{"measuredValue":5}}' of device 'undefined' (0x00158d00030aa20d) of endpoint 1
Apr 20 22:03:40 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:40 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:40 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:40 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:41 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:03:41 PM Received zigbee message of type 'devInterview' with data '"0x00158d00030aa20d"'
Apr 20 22:03:42 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:03:42 PM Received zigbee message of type 'attReport' with data '{"cid":"msIlluminanceMeasurement","data":{"measuredValue":0}}' of device 'undefined' (0x00158d00030aa20d) of endpoint 1
Apr 20 22:03:42 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:42 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:42 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:42 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:42 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:03:42 PM Received zigbee message of type 'attReport' with data '{"cid":"msOccupancySensing","data":{"occupancy":1}}' of device 'undefined' (0x00158d00030aa20d) of endpoint 1
Apr 20 22:03:42 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:42 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:42 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:42 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:03:53 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:03:53 PM Received zigbee message of type 'endDeviceAnnce' with data '"0x00158d00030aa20d"' of device 'undefined' (0x00158d00030aa20d) of endpoint 1
Apr 20 22:03:53 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:53 PM Device with modelID 'undefined' is not supported.
Apr 20 22:03:53 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:03:53 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:04:11 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:04:11 PM Received zigbee message of type 'devInterview' with data '"0x00158d00030aa20d"'
Apr 20 22:04:27 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:04:27 PM Skipping re-transmitted Xiaomi message
Apr 20 22:04:29 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:04:29 PM Received zigbee message of type 'devInterview' with data '"0x00158d00030aa20d"'
Apr 20 22:04:47 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:04:47 PM Received zigbee message of type 'devInterview' with data '"0x00158d00030aa20d"'
Apr 20 22:05:05 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:05:05 PM Received zigbee message of type 'devInterview' with data '"0x00158d00030aa20d"'
Apr 20 22:05:05 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:05:05 PM Accept device incoming with ieeeAddr '0x00158d00030aa20d' permit join is 'true'
Apr 20 22:05:05 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:05:05 PM Allowing device '0x00158d00030aa20d' to join
Apr 20 22:05:05 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:05:05 PM Received zigbee message of type 'devIncoming' with data '"0x00158d00030aa20d"' of device 'undefined' (0x00158d00030aa20d) of endpoint 1
Apr 20 22:05:05 NUC npm[1158]:   zigbee2mqtt:info 4/20/2019, 10:05:05 PM Device incoming...
Apr 20 22:05:05 NUC npm[1158]:   zigbee2mqtt:info 4/20/2019, 10:05:05 PM MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"device incoming"}'
Apr 20 22:05:05 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:05:05 PM Device with modelID 'undefined' is not supported.
Apr 20 22:05:05 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:05:05 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html
Apr 20 22:05:05 NUC npm[1158]:   zigbee2mqtt:debug 4/20/2019, 10:05:05 PM Received zigbee message of type 'devStatus' with data '"online"' of device 'undefined' (0x00158d00030aa20d) of endpoint 1
Apr 20 22:05:05 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:05:05 PM Device with modelID 'undefined' is not supported.
Apr 20 22:05:05 NUC npm[1158]:   zigbee2mqtt:warn 4/20/2019, 10:05:05 PM Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html

After, I restarted z2m and could see the device in the list as unknown:

Apr 20 22:11:15 NUC npm[4752]:   zigbee2mqtt:info 4/20/2019, 10:11:15 PM 0x00158d00030aa20d (0x00158d00030aa20d): unkown - undefined unknown (EndDevice)

Tried to delete it and restarted the pairing but had another issue, device was recognized but I got a message logged every two or three seconds with the same status. So I deleted it again, retried, same thing, finally I restarted again z2m and it's currently working normally... all this is very unusual but it seems I am having issues with paring since the upgrade to 1.3.x. I had that with a Bosch motion sensor, impossible to pair, the next day when I retried it worked.

I have also a Heiman Smart remote controller, used to worked very well and suddenly stopped working (probably when the upgrade was done but cannot confirm), so I retried the pairing, it's seen as unknown sometimes, sometimes it's recofnized but I cannot get any status when I press the button. Will open another issue for this one.

Koenkk commented 5 years ago

The pairing of Xiaomi sensor will be greatly improved in the next release (1.4) (see #1401).

This has already been implemented in the dev branch (http://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html). Once a Xiaomi sensor is not properly recognized (undefinedmodelid` blablabla) it can easily be fixed by pressing the reset button once.

Note that there is also a critical pairing bug in zigbee2mqtt 1.3.0, this has been fixed in zigbee2mqtt 1.3.1.