Koenkk / zigbee2mqtt

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

aqara cube not working #498

Closed tarbax closed 5 years ago

tarbax commented 6 years ago

i just paired the cube and i get this error:

 zigbee2mqtt:info 2018-10-18 16:25:14 New device with address 0x00158d00027d8f95 connected!
 zigbee2mqtt:info 2018-10-18 16:25:14 MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"device_connected","message":"0x00158d00027d8f95"}'
 zigbee2mqtt:warn 2018-10-18 16:25:14 Device with modelID '0x656275635f726f736e65732e696d756c' is not supported.
 zigbee2mqtt:warn 2018-10-18 16:25:14 Please see: https://github.com/Koenkk/zigbee2mqtt/wiki/How-to-support-new-devices

is this another version ?? i confirmed on the inside that it the MFKZQ01LM model

Koenkk commented 6 years ago

Could you provide your startup log?

tarbax commented 6 years ago
[Info] Configuration file found. Will overwrite configurable               fields with values from add-on configuration
[Info] Configuration written to /share/zigbee2mqtt/configuration.yaml
[2018-10-21T18:17:23.016Z] PM2 log: Launching in no daemon mode
[2018-10-21T18:17:23.106Z] PM2 log: Starting execution sequence in -fork mode- for app name:npm id:0
[2018-10-21T18:17:23.114Z] PM2 log: App name:npm id:0 online
> zigbee2mqtt@0.1.6 start /zigbee2mqtt-0.1.6
> node index.js
  zigbee2mqtt:info 2018-10-21 18:17:23 Logging to directory: '/share/zigbee2mqtt/log/2018-10-21.18-17-23'
  zigbee2mqtt:info 2018-10-21 18:17:24 Starting zigbee2mqtt version 0.1.6 (commit #unknown)
  zigbee2mqtt:info 2018-10-21 18:17:24 Starting zigbee-shepherd
  zigbee2mqtt:info 2018-10-21 18:17:24 zigbee-shepherd started
  zigbee2mqtt:info 2018-10-21 18:17:24 Coordinator firmware version: '20180815'
  zigbee2mqtt:info 2018-10-21 18:17:24 Currently 8 devices are joined:
  zigbee2mqtt:info 2018-10-21 18:17:24 0x00158d0002386762 (0x00158d0002386762): MCCGQ11LM - Xiaomi Aqara door & window contact sensor (EndDevice)
  zigbee2mqtt:info 2018-10-21 18:17:24 0x00158d00023284b5 (0x00158d00023284b5): MCCGQ11LM - Xiaomi Aqara door & window contact sensor (EndDevice)
  zigbee2mqtt:info 2018-10-21 18:17:24 0x00158d0002340205 (0x00158d0002340205): SJCGQ11LM - Xiaomi Aqara water leak sensor (EndDevice)
  zigbee2mqtt:info 2018-10-21 18:17:24 0x001788010302ca10 (0x001788010302ca10): 8718696548738 - Philips Hue white ambiance E27 (Router)
  zigbee2mqtt:info 2018-10-21 18:17:24 0x0017880103cbae9b (0x0017880103cbae9b): 324131092621 - Philips Hue dimmer switch (EndDevice)
  zigbee2mqtt:info 2018-10-21 18:17:24 0x00158d00024e50e0 (0x00158d00024e50e0): MCCGQ11LM - Xiaomi Aqara door & window contact sensor (EndDevice)
  zigbee2mqtt:info 2018-10-21 18:17:24 0x00158d000252acea (0x00158d000252acea): MCCGQ11LM - Xiaomi Aqara door & window contact sensor (EndDevice)
  zigbee2mqtt:info 2018-10-21 18:17:24 0x00158d00027d8f95 (0x00158d00027d8f95): unkown - undefined unknown (EndDevice)
  zigbee2mqtt:info 2018-10-21 18:17:24 Connecting to MQTT server at mqtt://homeassistant
  zigbee2mqtt:info 2018-10-21 18:17:24 zigbee-shepherd ready
  zigbee2mqtt:info 2018-10-21 18:17:24 Connected to MQTT server
groovepack commented 6 years ago

I also got these days my MFKZQ01LM and it does not work - maybe my logs helps I'm running latest-dev inside docker.

Log while connecting

2018-10-21 16:24:10 - info: Connecting with device...
2018-10-21 16:24:10 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"connecting with device"}'
2018-10-21 16:24:11 - info: Connecting with device...
2018-10-21 16:24:11 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"connecting with device"}'
2018-10-21 16:24:12 - info: Connecting with device...
2018-10-21 16:24:12 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"connecting with device"}'
2018-10-21 16:24:12 - info: Connecting with device...
2018-10-21 16:24:12 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"connecting with device"}'
2018-10-21 16:24:13 - info: Connecting with device...
2018-10-21 16:24:13 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"connecting with device"}'
2018-10-21 16:24:14 - info: Connecting with device...
2018-10-21 16:24:14 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"connecting with device"}'
2018-10-21 16:24:15 - info: Connecting with device...
2018-10-21 16:24:15 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"connecting with device"}'
2018-10-21 16:24:15 - info: Connecting with device...
2018-10-21 16:24:15 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"connecting with device"}'
2018-10-21 16:24:16 - info: Connecting with device...
2018-10-21 16:24:16 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"connecting with device"}'
2018-10-21 16:24:17 - info: Connecting with device...
2018-10-21 16:24:17 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"connecting with device"}'
2018-10-21 16:24:18 - info: Connecting with device...
2018-10-21 16:24:18 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"connecting with device"}'
2018-10-21 16:24:18 - info: Connecting with device...
2018-10-21 16:24:18 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"connecting with device"}'
2018-10-21 16:24:19 - info: Connecting with device...
2018-10-21 16:24:19 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"connecting with device"}'
2018-10-21 16:24:19 - info: Connecting with device...
2018-10-21 16:24:19 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"connecting with device"}'
2018-10-21 16:24:19 - info: Device incoming...
2018-10-21 16:24:19 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"pairing","message":"device incoming"}'
2018-10-21 16:24:19 - info: New device with address 0x00158d000275cc0e connected!
2018-10-21 16:24:19 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/log', payload: '{"type":"device_connected","message":"0x00158d000275cc0e"}'

config

homeassistant: false
permit_join: true
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://10.10.11.55:1883'
serial:
  port: >-
    /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___........-if00
devices:
  '0x90fd9ffffe3e4b7b':
    friendly_name: Lamp1
    retain: false
  '0x00158d0002136919':
    friendly_name: Switch1
    retain: false
  '0x00158d0001ef612e':
    friendly_name: Switch2
    retain: false
  '0x00158d00029c09df':
    friendly_name: Motion1
    retain: false
    occupancy_timeout: 90
  '0x00158d00020b50c5':
    friendly_name: BadSensor
    retain: false
  '0x00158d0002090a8d':
    friendly_name: WohnzimmerSensor
    retain: false
  '0x00158d000275cc0e':
    friendly_name: '0x00158d000275cc0e'
    retain: false

*startup log**

2018-10-21 16:39:15 - info: Logging to directory: '/app/data/log/2018-10-21.16-39-15'
2018-10-21 16:39:15 - info: Starting zigbee2mqtt version 0.1.7 (commit #0aab565)
2018-10-21 16:39:15 - info: Starting zigbee-shepherd
2018-10-21 16:39:16 - info: zigbee-shepherd started
2018-10-21 16:39:16 - info: Coordinator firmware version: '20180815'
2018-10-21 16:39:16 - info: Currently 6 devices are joined:
2018-10-21 16:39:16 - info: Lamp1 (0x90fd9ffffe3e4b7b): LED1624G9 - IKEA TRADFRI LED bulb E27 600 lumen, dimmable, color, opal white (Router)
2018-10-21 16:39:16 - info: Switch1 (0x00158d0002136919): WXKG11LM - Xiaomi Aqara wireless switch (EndDevice)
2018-10-21 16:39:16 - info: Switch2 (0x00158d0001ef612e): WXKG11LM - Xiaomi Aqara wireless switch (EndDevice)
2018-10-21 16:39:16 - info: Motion1 (0x00158d00029c09df): RTCGQ11LM - Xiaomi Aqara human body movement and illuminance sensor (EndDevice)
2018-10-21 16:39:16 - info: BadSensor (0x00158d00020b50c5): WSDCGQ01LM - Xiaomi MiJia temperature & humidity sensor  (EndDevice)
2018-10-21 16:39:16 - info: WohnzimmerSensor (0x00158d0002090a8d): WSDCGQ01LM - Xiaomi MiJia temperature & humidity sensor  (EndDevice)
2018-10-21 16:39:16 - warn: `permit_join` set to  `true` in configuration.yaml.
2018-10-21 16:39:16 - warn: Allowing new devices to join.
2018-10-21 16:39:16 - warn: Set `permit_join` to `false` once you joined all devices.
2018-10-21 16:39:16 - info: Zigbee: allowing new devices to join.
2018-10-21 16:39:16 - info: Connecting to MQTT server at mqtt://10.10.11.55:1883
2018-10-21 16:39:16 - info: zigbee-shepherd ready
2018-10-21 16:39:16 - info: Connected to MQTT server
2018-10-21 16:39:16 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/state', payload: 'online'
2018-10-21 16:39:16 - info: MQTT publish, topic: 'zigbee2mqtt/Lamp1', payload: '{"state":"ON","brightness":215,"color":{"x":0.701,"y":0.299}}'
2018-10-21 16:39:16 - info: MQTT publish, topic: 'zigbee2mqtt/Switch1', payload: '{"battery":"100.00","voltage":3105,"linkquality":28}'
2018-10-21 16:39:16 - info: MQTT publish, topic: 'zigbee2mqtt/Switch2', payload: '{"battery":"100.00","voltage":3075,"linkquality":49}'
2018-10-21 16:39:16 - info: MQTT publish, topic: 'zigbee2mqtt/Motion1', payload: '{"battery":"100.00","voltage":3165,"linkquality":84,"illuminance":126,"occupancy":false}'
2018-10-21 16:39:16 - info: MQTT publish, topic: 'zigbee2mqtt/BadSensor', payload: '{"humidity":60.73,"linkquality":39,"temperature":22.49,"battery":"42.00","voltage":2985}'
2018-10-21 16:39:16 - info: MQTT publish, topic: 'zigbee2mqtt/WohnzimmerSensor', payload: '{"temperature":24.48,"humidity":46.07,"linkquality":23,"battery":"42.00","voltage":2985}'
Koenkk commented 6 years ago

@groovepack after connecting, does it still not appear in the connected devices list on startup?

groovepack commented 6 years ago

The Logs and copies are done in that order. After connecting it appeared as device but no action are received. Then on restart it does not appear in the connected devices list.

Koenkk commented 6 years ago

Can you post your database.db?

groovepack commented 6 years ago

upload did not work ... here the content

I can start from scratch if needed as i am currently in evaluation/experimenting with zigbee and some xiaomi devices ....

{"id":1,"type":"Coordinator","ieeeAddr":"0x00124b0014d9d881","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6],"status":"online","joinTime":1540138890,"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":"4FKzv7WWYQHzaCCU"}
{"id":7,"type":"EndDevice","ieeeAddr":"0x00158d0002090a8d","nwkAddr":17154,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sens","epList":[1,2,3],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,18,25,65535],"outClusterList":[0,3,4,5,18,25,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":24322,"inClusterList":[3,18],"outClusterList":[3,4,5,18],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}}}},"3":{"profId":260,"epId":3,"devId":24323,"inClusterList":[3,12],"outClusterList":[3,4,5,12],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genAnalogInput":{"dir":{"value":3},"attrs":{}}}}},"_id":"DZFm34dsWWS9RXpt"}
{"id":4,"type":"EndDevice","ieeeAddr":"0x00158d0001ef612e","nwkAddr":7995,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.remote.b1acn01\u0000\u0000\u0000\u0000\u0000\u0000","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":259,"inClusterList":[0,3,18],"outClusterList":[0],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genMultistateInput":{"dir":{"value":1},"attrs":{}}}}},"_id":"Fh23t3klmdS3xxKI"}
{"id":3,"type":"EndDevice","ieeeAddr":"0x00158d0002136919","nwkAddr":58845,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.remote.b1acn01\u0000\u0000\u0000\u0000\u0000\u0000","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":259,"inClusterList":[0,3,18],"outClusterList":[0],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genMultistateInput":{"dir":{"value":1},"attrs":{}}}}},"_id":"J6uwLebYmZds4IG8"}
{"id":5,"type":"EndDevice","ieeeAddr":"0x00158d00029c09df","nwkAddr":14197,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_motion.aq2","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":263,"inClusterList":[0,1,3,1024,1030,1280,65535],"outClusterList":[0,25],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genPowerCfg":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genOta":{"dir":{"value":2},"attrs":{}},"msIlluminanceMeasurement":{"dir":{"value":1},"attrs":{}},"msOccupancySensing":{"dir":{"value":1},"attrs":{}},"ssIasZone":{"dir":{"value":1},"attrs":{}},"manuSpecificCluster":{"dir":{"value":1},"attrs":{}}}}},"_id":"JdwYyADf5RPRBwuu"}
{"id":6,"type":"EndDevice","ieeeAddr":"0x00158d00020b50c5","nwkAddr":31211,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sens","epList":[1,2,3],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,18,25,65535],"outClusterList":[0,3,4,5,18,25,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":24322,"inClusterList":[3,18],"outClusterList":[3,4,5,18],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}}}},"3":{"profId":260,"epId":3,"devId":24323,"inClusterList":[3,12],"outClusterList":[3,4,5,12],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genAnalogInput":{"dir":{"value":3},"attrs":{}}}}},"_id":"cYxMzUdEDRco1zgK"}
{"id":2,"type":"Router","ieeeAddr":"0x90fd9ffffe3e4b7b","nwkAddr":25007,"manufId":4476,"manufName":"IKEA of Sweden","powerSource":"Mains (single phase)","modelId":"TRADFRI bulb E27 CWS opal 600lm","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":49246,"epId":1,"devId":512,"inClusterList":[0,3,4,5,6,8,768,2821,4096],"outClusterList":[5,25,32,4096],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{"65533":1,"identifyTime":0}},"genGroups":{"dir":{"value":1},"attrs":{"65533":1,"nameSupport":0}},"genScenes":{"dir":{"value":3},"attrs":{"65533":1,"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":0}},"genOnOff":{"dir":{"value":1},"attrs":{"16387":1,"65533":1,"onOff":1,"globalSceneCtrl":1,"onTime":0,"offWaitTime":0}},"genLevelCtrl":{"dir":{"value":1},"attrs":{"15":0,"16384":254,"65533":1,"currentLevel":215,"remainingTime":0,"onOffTransitionTime":5,"onLevel":255}},"genOta":{"dir":{"value":2},"attrs":{}},"genPollCtrl":{"dir":{"value":2},"attrs":{}},"lightingColorCtrl":{"dir":{"value":1},"attrs":{"15":0,"16397":0,"16398":0,"65533":1,"remainingTime":0,"currentX":30015,"currentY":26870,"colorMode":2,"numPrimaries":0,"enhancedColorMode":1,"colorCapabilities":8,"colorTempPhysicalMin":250,"colorTempPhysicalMax":454}},"haDiagnostic":{"dir":{"value":1},"attrs":{"65533":1,"numberOfResets":0,"macRxBcast":0,"macTxBcast":0,"aPSRxBcast":0,"aPSTxBcast":0,"nwkFcFailure":0,"packetBufferAllocateFailures":0,"averageMacRetryPerApsMessageSent":2,"lastMessageLqi":56,"lastMessageRssi":-86}},"lightLink":{"dir":{"value":3},"attrs":{"65533":1}}}}},"_id":"qgbbRrrO9alzCaaW"}
{"$$indexCreated":{"fieldName":"id","unique":true,"sparse":false}}
{"id":1,"type":"Coordinator","ieeeAddr":"0x00124b0014d9d881","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6],"status":"online","joinTime":1540139956,"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":"4FKzv7WWYQHzaCCU"}
{"id":7,"type":"EndDevice","ieeeAddr":"0x00158d0002090a8d","nwkAddr":17154,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sens","epList":[1,2,3],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,18,25,65535],"outClusterList":[0,3,4,5,18,25,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":24322,"inClusterList":[3,18],"outClusterList":[3,4,5,18],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}}}},"3":{"profId":260,"epId":3,"devId":24323,"inClusterList":[3,12],"outClusterList":[3,4,5,12],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genAnalogInput":{"dir":{"value":3},"attrs":{}}}}},"_id":"DZFm34dsWWS9RXpt"}
{"id":4,"type":"EndDevice","ieeeAddr":"0x00158d0001ef612e","nwkAddr":7995,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.remote.b1acn01\u0000\u0000\u0000\u0000\u0000\u0000","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":259,"inClusterList":[0,3,18],"outClusterList":[0],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genMultistateInput":{"dir":{"value":1},"attrs":{}}}}},"_id":"Fh23t3klmdS3xxKI"}
{"id":3,"type":"EndDevice","ieeeAddr":"0x00158d0002136919","nwkAddr":58845,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.remote.b1acn01\u0000\u0000\u0000\u0000\u0000\u0000","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":259,"inClusterList":[0,3,18],"outClusterList":[0],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genMultistateInput":{"dir":{"value":1},"attrs":{}}}}},"_id":"J6uwLebYmZds4IG8"}
{"id":5,"type":"EndDevice","ieeeAddr":"0x00158d00029c09df","nwkAddr":14197,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_motion.aq2","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":263,"inClusterList":[0,1,3,1024,1030,1280,65535],"outClusterList":[0,25],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genPowerCfg":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genOta":{"dir":{"value":2},"attrs":{}},"msIlluminanceMeasurement":{"dir":{"value":1},"attrs":{}},"msOccupancySensing":{"dir":{"value":1},"attrs":{}},"ssIasZone":{"dir":{"value":1},"attrs":{}},"manuSpecificCluster":{"dir":{"value":1},"attrs":{}}}}},"_id":"JdwYyADf5RPRBwuu"}
{"id":6,"type":"EndDevice","ieeeAddr":"0x00158d00020b50c5","nwkAddr":31211,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sens","epList":[1,2,3],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,18,25,65535],"outClusterList":[0,3,4,5,18,25,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":24322,"inClusterList":[3,18],"outClusterList":[3,4,5,18],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}}}},"3":{"profId":260,"epId":3,"devId":24323,"inClusterList":[3,12],"outClusterList":[3,4,5,12],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genAnalogInput":{"dir":{"value":3},"attrs":{}}}}},"_id":"cYxMzUdEDRco1zgK"}
{"id":2,"type":"Router","ieeeAddr":"0x90fd9ffffe3e4b7b","nwkAddr":25007,"manufId":4476,"manufName":"IKEA of Sweden","powerSource":"Mains (single phase)","modelId":"TRADFRI bulb E27 CWS opal 600lm","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":49246,"epId":1,"devId":512,"inClusterList":[0,3,4,5,6,8,768,2821,4096],"outClusterList":[5,25,32,4096],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{"65533":1,"identifyTime":0}},"genGroups":{"dir":{"value":1},"attrs":{"65533":1,"nameSupport":0}},"genScenes":{"dir":{"value":3},"attrs":{"65533":1,"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":0}},"genOnOff":{"dir":{"value":1},"attrs":{"16387":1,"65533":1,"onOff":1,"globalSceneCtrl":1,"onTime":0,"offWaitTime":0}},"genLevelCtrl":{"dir":{"value":1},"attrs":{"15":0,"16384":254,"65533":1,"currentLevel":215,"remainingTime":0,"onOffTransitionTime":5,"onLevel":255}},"genOta":{"dir":{"value":2},"attrs":{}},"genPollCtrl":{"dir":{"value":2},"attrs":{}},"lightingColorCtrl":{"dir":{"value":1},"attrs":{"15":0,"16397":0,"16398":0,"65533":1,"remainingTime":0,"currentX":30015,"currentY":26870,"colorMode":2,"numPrimaries":0,"enhancedColorMode":1,"colorCapabilities":8,"colorTempPhysicalMin":250,"colorTempPhysicalMax":454}},"haDiagnostic":{"dir":{"value":1},"attrs":{"65533":1,"numberOfResets":0,"macRxBcast":0,"macTxBcast":0,"aPSRxBcast":0,"aPSTxBcast":0,"nwkFcFailure":0,"packetBufferAllocateFailures":0,"averageMacRetryPerApsMessageSent":2,"lastMessageLqi":56,"lastMessageRssi":-86}},"lightLink":{"dir":{"value":3},"attrs":{"65533":1}}}}},"_id":"qgbbRrrO9alzCaaW"}
Koenkk commented 6 years ago

It is very strange that the device does not appear in your database.db, did you change the permissions of this file? Could you provide the complete log when trying to pair?

lociii commented 6 years ago

Same here.

Reported on startup as zigbee2mqtt:info 2018-10-25 19:54:46 0x00158d00028f8637 (0x00158d00028f8637): unkown - undefined unknown (EndDevice)

When connecting

zigbee2mqtt:debug 2018-10-25 19:55:19 Received zigbee message of type 'devChange' with data '{"cid":"genMultistateInput","data":{"presentValue":2}}' of device '0x656275635f726f736e65732e696d756c' (0x00158d00028f8637)
zigbee2mqtt:warn 2018-10-25 19:55:19 Device with modelID '0x656275635f726f736e65732e696d756c' is not supported.
zigbee2mqtt:warn 2018-10-25 19:55:19 Please see: https://github.com/Koenkk/zigbee2mqtt/wiki/How-to-support-new-devices

in database.db {"id":6,"type":"EndDevice","ieeeAddr":"0x00158d00028f8637","nwkAddr":52610,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"0x656275635f726f736e65732e696d756c","epList":[1,2,3],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,18,25],"outClusterList":[0,3,4,5,18,25],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":24322,"inClusterList":[3,18],"outClusterList":[3,4,5,18],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}}}},"3":{"profId":260,"epId":3,"devId":24323,"inClusterList":[3,12],"outClusterList":[3,4,5,12],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genAnalogInput":{"dir":{"value":3},"attrs":{}}}}},"_id":"O7hf0G5PQcVAB8dR"}

Running latest git on Raspberry Pi with CC2530

Koenkk commented 6 years ago

@lociii this was a bug in an older version of zigbee2mqtt. To fix:

ryanbeaton commented 6 years ago

PS: https://github.com/Koenkk/zigbee2mqtt/issues/388#issuecomment-424858076

groovepack commented 6 years ago

So, now made a new connect. Upfront i did a restart of zigbee2mqtt. Now the device is listed in the database.db but no events are received or recognized ... :-/

log.txt

database_db.txt

configuration_yaml.txt

and after restart the device is not listed ...

2018-10-27 12:16:48 - info: Connecting to MQTT server at mqtt://10.10.11.55:1883
2018-10-27 12:16:49 - info: zigbee-shepherd ready
2018-10-27 12:16:49 - info: Connected to MQTT server
2018-10-27 12:16:49 - info: MQTT publish, topic: 'zigbee2mqtt/bridge/state', payload: 'online'
2018-10-27 12:16:49 - info: MQTT publish, topic: 'zigbee2mqtt/Lamp1', payload: '{"state":"ON","brightness":215,"color":{"x":0.701,"y":0.299}}'
2018-10-27 12:16:49 - info: MQTT publish, topic: 'zigbee2mqtt/Switch1', payload: '{"battery":"100.00","voltage":3085,"linkquality":49}'
2018-10-27 12:16:49 - info: MQTT publish, topic: 'zigbee2mqtt/Switch2', payload: '{"battery":"100.00","voltage":3065,"linkquality":18}'
2018-10-27 12:16:49 - info: MQTT publish, topic: 'zigbee2mqtt/Motion1', payload: '{"battery":"100.00","voltage":3135,"linkquality":102,"illuminance":131,"occupancy":false}'
2018-10-27 12:16:49 - info: MQTT publish, topic: 'zigbee2mqtt/BadSensor', payload: '{"humidity":59.99,"linkquality":34,"temperature":22.49,"battery":"37.00","voltage":2975}'
2018-10-27 12:16:49 - info: MQTT publish, topic: 'zigbee2mqtt/WohnzimmerSensor', payload: '{"temperature":23.89,"humidity":49.13,"linkquality":18,"battery":"37.00","voltage":2975}'
tarbax commented 6 years ago

my cube is not connecting anymore nothing comes into the log

groovepack commented 6 years ago

@tarbax did you ever get it working? Meaning have you ever had messages from the cube in MQTT?

tarbax commented 6 years ago

@groovepack i never had anything in MQTT showing from the cube. but it was pairing with errors. now i cant even pair anymore

lociii commented 6 years ago

@lociii this was a bug in an older version of zigbee2mqtt. To fix:

  • stop zigbee2mqtt
  • remove all entries of 0x656275635f726f736e65732e696d756c from database.db
  • start zigbee2mqtt
  • pair

database entry

{"id":3,"type":"EndDevice","ieeeAddr":"0x00158d00028f8637","nwkAddr":2748,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"0x656275635f726f736e65732e696d756c","epList":[1,2,3],"status":"online","joinTime":1540841383,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,18,25],"outClusterList":[0,3,4,5,18,25],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":24322,"inClusterList":[3,18],"outClusterList":[3,4,5,18],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genMultistateInput":{"dir":{"value":3},"attrs":{}}}},"3":{"profId":260,"epId":3,"devId":24323,"inClusterList":[3,12],"outClusterList":[3,4,5,12],"clusters":{"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genAnalogInput":{"dir":{"value":3},"attrs":{}}}}},"_id":"vR7J7Zgk0dD4SsRi"}

still listed as unsupported.

zigbee2mqtt:warn 2018-10-29 19:33:12 Device with modelID '0x656275635f726f736e65732e696d756c' is not supported.
lociii commented 5 years ago

Why closed without comment?

Koenkk commented 5 years ago

@lociii after update, did you do a rm -rf node_modules && npm install?

tarbax commented 5 years ago

@lociii @Koenkk oh my fault i did not enter the comment :-/ after the reinstall i did yesterday, i discovered that i had a faulty database file. and once i updated from 0.1.6 to 0.1.8 and tried again the problem was solved. the cube is connected without any errors and evry function works.

lociii commented 5 years ago

@Koenkk @tarbax running 0.2.0 now. cleaned my config and my database, removed node modules and reinstalled them. now the cube doesn't even show up when i try to connect it. really weird.

Koenkk commented 5 years ago

@lociii can you share your log?