zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Don't pairing new device

Open AlexBoosh opened this issue 7 years ago β€’ 7 comments

Hello. I 'm newby. I have CC2531, I was succesfully download firmware via Wemos D1, install Hass.io add-on. Add-on was succesfully start, connect to MQTT. I have Aqara door sensor MCCGQ11LM model. After that I don't can pairind devices.( On Aqara sensor I push button, take it 3-4 seconds, after that LEd is flashing. And I release button... But nothing doing. Devices at a distance of 1 meter from each other. That can be wrong?

Add-on config:

{
  "data_path": "/share/zigbee2mqtt",
  "homeassistant": false,
  "permit_join": true,
  "mqtt_base_topic": "zigbee2mqtt",
  "mqtt_server": "mqtt://192.168.1.67:1883",
  "serial_port": "/dev/ttyACM0",
  "log_level": "debug",
  "mqtt_user": "aaa",
  "mqtt_pass": "bbb",
  "include_device_information": true
}

zigbee2mqtt log:

[Info] Configuration file found. Will overwrite configurable               fields with values from add-on configuration
[Info] Configuration written to /share/zigbee2mqtt/configuration.yaml
2018-12-31T18:07:30: PM2 log: Launching in no daemon mode
2018-12-31T18:07:30: PM2 log: App [npm:0] starting in -fork mode-
2018-12-31T18:07:30: PM2 log: App [npm:0] online
> [email protected] start /zigbee2mqtt-1.0.1
> node index.js
  zigbee2mqtt:info 2018-12-31 18:07:34 Logging to directory: '/share/zigbee2mqtt/log/2018-12-31.18-07-34'
  zigbee2mqtt:debug 2018-12-31 18:07:34 Removing old log directory '/share/zigbee2mqtt/log/2018-12-31.16-16-01'
  zigbee2mqtt:debug 2018-12-31 18:07:35 Using zigbee-shepherd with settings: '{"net":{"panId":6754,"channelList":[11]},"dbPath":"/share/zigbee2mqtt/database.db","sp":{"baudRate":115200,"rtscts":true}}'
  zigbee2mqtt:debug 2018-12-31 18:07:36 Loaded state from file /share/zigbee2mqtt/state.json
  zigbee2mqtt:info 2018-12-31 18:07:36 Starting zigbee2mqtt version 1.0.1 (commit #unknown)
  zigbee2mqtt:info 2018-12-31 18:07:36 Starting zigbee-shepherd
  zigbee2mqtt:info 2018-12-31 18:07:41 zigbee-shepherd started
  zigbee2mqtt:info 2018-12-31 18:07:41 Coordinator firmware version: 'undefined'
  zigbee2mqtt:debug 2018-12-31 18:07:41 zigbee-shepherd info: {"enabled":true,"net":{"state":"Coordinator","channel":11,"panId":"0x1a62","extPanId":"0xdddddddddddddddd","ieeeAddr":"0x00124b0018e1a9c8","nwkAddr":0},"firmware":{"error":"Unable to get firmware version"},"startTime":1546261661,"joinTimeLeft":0}
  zigbee2mqtt:info 2018-12-31 18:07:41 Currently 0 devices are joined:
  zigbee2mqtt:warn 2018-12-31 18:07:41 `permit_join` set to  `true` in configuration.yaml.
  zigbee2mqtt:warn 2018-12-31 18:07:41 Allowing new devices to join.
  zigbee2mqtt:warn 2018-12-31 18:07:41 Set `permit_join` to `false` once you joined all devices.
  zigbee2mqtt:info 2018-12-31 18:07:41 Zigbee: allowing new devices to join.
  zigbee2mqtt:info 2018-12-31 18:07:41 Connecting to MQTT server at mqtt://192.168.1.67:1883
  zigbee2mqtt:info 2018-12-31 18:07:41 zigbee-shepherd ready
  zigbee2mqtt:info 2018-12-31 18:07:41 Connected to MQTT server
  zigbee2mqtt:info 2018-12-31 18:07:41 MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
  zigbee2mqtt:debug 2018-12-31 18:07:42 Mounted the cieApp (epId {epId})
  zigbee2mqtt:debug 2018-12-31 18:12:36 Saving state to file /share/zigbee2mqtt/state.json

AlexBoosh avatar Dec 31 '18 13:12 AlexBoosh

Hi please share your /share/zigbee2mqtt/database.db, it’s a txt file

khzd avatar Dec 31 '18 14:12 khzd

{"id":1,"type":"Coordinator","ieeeAddr":"0x00124b0018e1a9c8","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6,11],"status":"online","joinTime":1546261661,"endpoints":{"1":{"profId":260,"epId":1,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"2":{"profId":257,"epId":2,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"3":{"profId":261,"epId":3,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"4":{"profId":263,"epId":4,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"5":{"profId":264,"epId":5,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"6":{"profId":265,"epId":6,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"11":{"profId":260,"epId":11,"devId":1024,"inClusterList":[0,1281,3],"outClusterList":[1280,1282,3],"clusters":{"genBasic":{"dir":{"value":1},"acls":{"zclVersion":"R","hwVersion":"R","manufacturerName":"R","modelId":"R","dateCode":"R","powerSource":"R","locationDesc":"RW","physicalEnv":"RW","deviceEnabled":"RW"},"attrs":{"zclVersion":1,"hwVersion":1,"manufacturerName":"sivann inc.","modelId":"hiver0001","dateCode":"20170407","powerSource":1,"locationDesc":"    ","physicalEnv":0,"deviceEnabled":1}},"ssIasAce":{"dir":{"value":1}},"ssIasZone":{"dir":{"value":2},"cmdRsps":{"enrollReq":{"exec":"_exec_"},"statusChangeNotification":{"exec":"_exec_"}}},"ssIasWd":{"dir":{"value":2}},"genIdentify":{"dir":{"value":3},"acls":{"identifyTime":"RW"},"attrs":{"identifyTime":0}}}}},"_id":"HJYOpRtqE6EuiGED"}
{"$$indexCreated":{"fieldName":"id","unique":true,"sparse":false}}
{"id":1,"type":"Coordinator","ieeeAddr":"0x00124b0018e1a9c8","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6],"status":"online","joinTime":1546329791,"endpoints":{"1":{"profId":260,"epId":1,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"2":{"profId":257,"epId":2,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"3":{"profId":261,"epId":3,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"4":{"profId":263,"epId":4,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"5":{"profId":264,"epId":5,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"6":{"profId":265,"epId":6,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}}},"_id":"HJYOpRtqE6EuiGED"}
{"id":1,"type":"Coordinator","ieeeAddr":"0x00124b0018e1a9c8","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6,11],"status":"online","joinTime":1546329791,"endpoints":{"1":{"profId":260,"epId":1,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"2":{"profId":257,"epId":2,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"3":{"profId":261,"epId":3,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"4":{"profId":263,"epId":4,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"5":{"profId":264,"epId":5,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"6":{"profId":265,"epId":6,"devId":5,"inClusterList":[],"outClusterList":[],"clusters":{}},"11":{"profId":260,"epId":11,"devId":1024,"inClusterList":[0,1281,3],"outClusterList":[1280,1282,3],"clusters":{"genBasic":{"dir":{"value":1},"acls":{"zclVersion":"R","hwVersion":"R","manufacturerName":"R","modelId":"R","dateCode":"R","powerSource":"R","locationDesc":"RW","physicalEnv":"RW","deviceEnabled":"RW"},"attrs":{"zclVersion":1,"hwVersion":1,"manufacturerName":"sivann inc.","modelId":"hiver0001","dateCode":"20170407","powerSource":1,"locationDesc":"    ","physicalEnv":0,"deviceEnabled":1}},"ssIasAce":{"dir":{"value":1}},"ssIasZone":{"dir":{"value":2},"cmdRsps":{"enrollReq":{"exec":"_exec_"},"statusChangeNotification":{"exec":"_exec_"}}},"ssIasWd":{"dir":{"value":2}},"genIdentify":{"dir":{"value":3},"acls":{"identifyTime":"RW"},"attrs":{"identifyTime":0}}}}},"_id":"HJYOpRtqE6EuiGED"}

AlexBoosh avatar Jan 01 '19 09:01 AlexBoosh

You need to activate pairing and then continue to push the button every second or so I have found for those ones to pair correctly

danpowell88 avatar Jan 01 '19 10:01 danpowell88

You need to activate pairing and then continue to push the button every second or so I have found for those ones to pair correctly

I do it - but no result.

I hold button for 3-4 sec, after that LED blink quickly. I release button - LED is ON on 1 sec and OFF. And after 5 sec LED is blink once. If I push button between "release" and "after 5 sec..." - nothing happens. If I push button after that - LED is blink sometimes..

AlexBoosh avatar Jan 01 '19 10:01 AlexBoosh

hi you need to be very close to the device to paire, and retry again and again to pair. I have a dozen of them and a paire of them is long to pair, I don't know why :( just be patient, some time it took me more than 5 min to paire one tip is to open the device and take off the battery and replace it back and retry the process, can help

khzd avatar Jan 01 '19 17:01 khzd

Hello. I try be very close, retry for 2-3 minutes - and repeat this 10-15 times... Nothing (.

AlexBoosh avatar Jan 02 '19 16:01 AlexBoosh

I solved this problem. https://github.com/Koenkk/zigbee2mqtt/issues/699#issuecomment-451106523

AlexBoosh avatar Jan 03 '19 11:01 AlexBoosh