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

Can't connect my aqara single wired switch QBKG04LM #1000

Closed mayrp2001 closed 5 years ago

mayrp2001 commented 5 years ago

Hi,

I have wired up my Aqara single switch (QBKG04LM) and it works manually. But for some reason home assistant doesn't see it. I have tried pairing it numerous times but with no success.

I have successfully connected various temperature and window sensors through zigbee2mqtt so I am not sure what the problem is.

I also have the raspberry pi very close to the actual switch, so distance shouldn't be an issue.

Any thoughts would be greatly appreciated.

Cheers

Koenkk commented 5 years ago

Can you post your startup log?

mayrp2001 commented 5 years ago

Hi,

I have included the startup log from zigbee2mqtt.

[Info] Configuration file found: /share/zigbee2mqtt/configuration.yaml [Info] Configuration written to /share/zigbee2mqtt/configuration.yaml 2019-02-02T16:40:45: PM2 log: Launching in no daemon mode 2019-02-02T16:40:46: PM2 log: App [npm:0] starting in -fork mode- 2019-02-02T16:40:46: PM2 log: App [npm:0] online

zigbee2mqtt@1.1.0 start /zigbee2mqtt-1.1.0 node index.js zigbee2mqtt:info 2019-2-2 16:40:49 Logging to directory: '/share/zigbee2mqtt/log/2019-02-02.16-40-49' zigbee2mqtt:info 2019-2-2 16:40:50 Starting zigbee2mqtt version 1.1.0 (commit #unknown) zigbee2mqtt:info 2019-2-2 16:40:51 Starting zigbee-shepherd zigbee2mqtt:info 2019-2-2 16:40:51 zigbee-shepherd started zigbee2mqtt:info 2019-2-2 16:40:51 Coordinator firmware version: '20181024' zigbee2mqtt:info 2019-2-2 16:40:51 Currently 4 devices are joined: zigbee2mqtt:info 2019-2-2 16:40:51 Temperature_Sensor (0x00158d00023d066a): WSDCGQ01LM - Xiaomi MiJia temperature & humidity sensor (EndDevice) zigbee2mqtt:info 2019-2-2 16:40:51 Front_Bedroom_Lamp (0x01124b001bb0000c): KS-SM001 - Ksentry Electronics Zigbee OnOff Controller (Router) zigbee2mqtt:info 2019-2-2 16:40:51 Living_Room_Sensor (0x00158d00025eddd7): MCCGQ11LM - Xiaomi Aqara door & window contact sensor (EndDevice) zigbee2mqtt:info 2019-2-2 16:40:51 Master_Bedroom_Sensor (0x00158d0002c78c3a): MCCGQ11LM - Xiaomi Aqara door & window contact sensor (EndDevice) zigbee2mqtt:warn 2019-2-2 16:40:51 permit_join set to true in configuration.yaml. zigbee2mqtt:warn 2019-2-2 16:40:51 Allowing new devices to join. zigbee2mqtt:warn 2019-2-2 16:40:51 Set permit_join to false once you joined all devices. zigbee2mqtt:info 2019-2-2 16:40:51 Zigbee: allowing new devices to join. zigbee2mqtt:info 2019-2-2 16:40:51 Connecting to MQTT server at mqtt://homeassistant zigbee2mqtt:info 2019-2-2 16:40:52 zigbee-shepherd ready zigbee2mqtt:info 2019-2-2 16:40:52 Connected to MQTT server zigbee2mqtt:info 2019-2-2 16:40:52 MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online' zigbee2mqtt:info 2019-2-2 16:40:52 MQTT publish: topic 'zigbee2mqtt/Temperature_Sensor', payload '{"temperature":16.6,"linkquality":65,"humidity":46.63,"battery":100,"voltage":3005}' zigbee2mqtt:info 2019-2-2 16:40:52 MQTT publish: topic 'zigbee2mqtt/Front_Bedroom_Lamp', payload '{"state":"OFF"}' zigbee2mqtt:info 2019-2-2 16:40:52 MQTT publish: topic 'zigbee2mqtt/Living_Room_Sensor', payload '{"battery":100,"voltage":3075,"linkquality":102,"contact":true}' zigbee2mqtt:info 2019-2-2 16:40:52 MQTT publish: topic 'zigbee2mqtt/Master_Bedroom_Sensor', payload '{"contact":true,"linkquality":94,"battery":100,"voltage":3055}' zigbee2mqtt:info 2019-2-2 16:40:52 MQTT publish: topic 'homeassistant/sensor/0x00158d00023d066a/temperature/config', payload '{"unit_of_measurement":"°C","device_class":"temperature","value_template":"{{ value_json.temperature }}","state_topic":"zigbee2mqtt/Temperature_Sensor","json_attributes_topic":"zigbee2mqtt/Temperature_Sensor","name":"Temperature_Sensor_temperature","unique_id":"0x00158d00023d066a_temperature_zigbee2mqtt","device":{"identifiers":"zigbee2mqtt_0x00158d00023d066a","name":"Temperature_Sensor","sw_version":"Zigbee2mqtt 1.1.0","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}' zigbee2mqtt:info 2019-2-2 16:40:52 MQTT publish: topic 'homeassistant/sensor/0x00158d00023d066a/humidity/config', payload '{"unit_of_measurement":"%","device_class":"humidity","value_template":"{{ value_json.humidity }}","state_topic":"zigbee2mqtt/Temperature_Sensor","json_attributes_topic":"zigbee2mqtt/Temperature_Sensor","name":"Temperature_Sensor_humidity","unique_id":"0x00158d00023d066a_humidity_zigbee2mqtt","device":{"identifiers":"zigbee2mqtt_0x00158d00023d066a","name":"Temperature_Sensor","sw_version":"Zigbee2mqtt 1.1.0","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}' zigbee2mqtt:info 2019-2-2 16:40:52 MQTT publish: topic 'homeassistant/sensor/0x00158d00023d066a/battery/config', payload '{"unit_of_measurement":"%","device_class":"battery","value_template":"{{ value_json.battery }}","state_topic":"zigbee2mqtt/Temperature_Sensor","json_attributes_topic":"zigbee2mqtt/Temperature_Sensor","name":"Temperature_Sensor_battery","unique_id":"0x00158d00023d066a_battery_zigbee2mqtt","device":{"identifiers":"zigbee2mqtt_0x00158d00023d066a","name":"Temperature_Sensor","sw_version":"Zigbee2mqtt 1.1.0","model":"MiJia temperature & humidity sensor (WSDCGQ01LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}' zigbee2mqtt:info 2019-2-2 16:40:52 MQTT publish: topic 'homeassistant/switch/0x01124b001bb0000c/switch/config', payload '{"payload_off":"OFF","payload_on":"ON","value_template":"{{ value_json.state }}","command_topic":"zigbee2mqtt/Front_Bedroom_Lamp/set","state_topic":"zigbee2mqtt/Front_Bedroom_Lamp","name":"Front_Bedroom_Lamp_switch","unique_id":"0x01124b001bb0000c_switch_zigbee2mqtt","device":{"identifiers":"zigbee2mqtt_0x01124b001bb0000c","name":"Front_Bedroom_Lamp","sw_version":"Zigbee2mqtt 1.1.0","model":"Zigbee OnOff Controller (KS-SM001)","manufacturer":"Ksentry Electronics"},"availability_topic":"zigbee2mqtt/bridge/state"}' zigbee2mqtt:info 2019-2-2 16:40:52 MQTT publish: topic 'homeassistant/binary_sensor/0x00158d00025eddd7/contact/config', payload '{"payload_on":false,"payload_off":true,"value_template":"{{ value_json.contact }}","device_class":"door","state_topic":"zigbee2mqtt/Living_Room_Sensor","json_attributes_topic":"zigbee2mqtt/Living_Room_Sensor","name":"Living_Room_Sensor_contact","unique_id":"0x00158d00025eddd7_contact_zigbee2mqtt","device":{"identifiers":"zigbee2mqtt_0x00158d00025eddd7","name":"Living_Room_Sensor","sw_version":"Zigbee2mqtt 1.1.0","model":"Aqara door & window contact sensor (MCCGQ11LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}' zigbee2mqtt:info 2019-2-2 16:40:52 MQTT publish: topic 'homeassistant/sensor/0x00158d00025eddd7/battery/config', payload '{"unit_of_measurement":"%","device_class":"battery","value_template":"{{ value_json.battery }}","state_topic":"zigbee2mqtt/Living_Room_Sensor","json_attributes_topic":"zigbee2mqtt/Living_Room_Sensor","name":"Living_Room_Sensor_battery","unique_id":"0x00158d00025eddd7_battery_zigbee2mqtt","device":{"identifiers":"zigbee2mqtt_0x00158d00025eddd7","name":"Living_Room_Sensor","sw_version":"Zigbee2mqtt 1.1.0","model":"Aqara door & window contact sensor (MCCGQ11LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}' zigbee2mqtt:info 2019-2-2 16:40:52 MQTT publish: topic 'homeassistant/binary_sensor/0x00158d0002c78c3a/contact/config', payload '{"payload_on":false,"payload_off":true,"value_template":"{{ value_json.contact }}","device_class":"door","state_topic":"zigbee2mqtt/Master_Bedroom_Sensor","json_attributes_topic":"zigbee2mqtt/Master_Bedroom_Sensor","name":"Master_Bedroom_Sensor_contact","unique_id":"0x00158d0002c78c3a_contact_zigbee2mqtt","device":{"identifiers":"zigbee2mqtt_0x00158d0002c78c3a","name":"Master_Bedroom_Sensor","sw_version":"Zigbee2mqtt 1.1.0","model":"Aqara door & window contact sensor (MCCGQ11LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}' zigbee2mqtt:info 2019-2-2 16:40:52 MQTT publish: topic 'homeassistant/sensor/0x00158d0002c78c3a/battery/config', payload '{"unit_of_measurement":"%","device_class":"battery","value_template":"{{ value_json.battery }}","state_topic":"zigbee2mqtt/Master_Bedroom_Sensor","json_attributes_topic":"zigbee2mqtt/Master_Bedroom_Sensor","name":"Master_Bedroom_Sensor_battery","unique_id":"0x00158d0002c78c3a_battery_zigbee2mqtt","device":{"identifiers":"zigbee2mqtt_0x00158d0002c78c3a","name":"Master_Bedroom_Sensor","sw_version":"Zigbee2mqtt 1.1.0","model":"Aqara door & window contact sensor (MCCGQ11LM)","manufacturer":"Xiaomi"},"availability_topic":"zigbee2mqtt/bridge/state"}'

mayrp2001 commented 5 years ago

Also, when I look at my configuartion.yaml within zigbee2mqtt. A strange entity appears and I am not sure what it is or where it has come from.

https://imgur.com/qb3J54m

Koenkk commented 5 years ago

Can you post your database.db? I don't see the QBKG04LM in the startup log.

mayrp2001 commented 5 years ago

Hi. I couldn't get it paired so that's why it wouldn't have been appearing in the startup log. However I did manage to finally get it paired.

I am still however seeing the strange entity in my zigbee2mqtt config yaml as you can see in the link in the above post. I am clueless as to what it is or what it is for. I deleted it from my config but it appeared again after restarting the add on.

Any ideas?

Koenkk commented 5 years ago

Can you lookup this entry in database.db and post it here?

mayrp2001 commented 5 years ago

Hi Sorry, only getting back to this now.

i have pasted my database file below.

Cheers

{"id":2,"type":"EndDevice","ieeeAddr":"0x00158d00023d066a","nwkAddr":48938,"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":"7tuBLkUYbeRoXFA3"} {"id":6,"type":"Router","ieeeAddr":"0x00158d0002ec227d","nwkAddr":59205,"manufId":4151,"manufName":"LUMI","powerSource":"DC Source","modelId":"lumi.ctrl_neutral1","epList":[1,2,3,4,5,6,8],"status":"online","joinTime":1549190990,"endpoints":{"1":{"profId":260,"epId":1,"devId":6,"inClusterList":[0,1,2,3,10,25],"outClusterList":[0,10,25],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{"zclVersion":0,"appVersion":22,"stackVersion":2,"hwVersion":38,"manufacturerName":"LUMI","modelId":"lumi.ctrl_neutral1","dateCode":"04-25-2018","powerSource":4,"locationDesc":""}},"genPowerCfg":{"dir":{"value":1},"attrs":{"mainsVoltage":0,"mainsAlarmMask":0,"batteryVoltage":0}},"genDeviceTempCfg":{"dir":{"value":1},"attrs":{"currentTemperature":22,"lowTempThres":55,"highTempThres":60}},"genIdentify":{"dir":{"value":1},"attrs":{"identifyTime":0}},"genTime":{"dir":{"value":3},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":256,"inClusterList":[4,5,6,16],"outClusterList":[],"clusters":{"genGroups":{"dir":{"value":1},"attrs":{"nameSupport":128}},"genScenes":{"dir":{"value":1},"attrs":{"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":128}},"genOnOff":{"dir":{"value":1},"attrs":{"61440":65488128,"onOff":1}},"genBinaryOutput":{"dir":{"value":1},"attrs":{"activeText":"ON","description":"CHANNEL1","inactiveText":"OFF","minimumOffTime":500000,"minimumOnTime":500000,"outOfService":0,"presentValue":1,"statusFlags":0,"applicationType":67109376}}}},"3":{"profId":260,"epId":3,"devId":256,"inClusterList":[4,5,6,16],"outClusterList":[],"clusters":{"genGroups":{"dir":{"value":1},"attrs":{"nameSupport":128}},"genScenes":{"dir":{"value":1},"attrs":{"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":128}},"genOnOff":{"dir":{"value":1},"attrs":{"onOff":0}},"genBinaryOutput":{"dir":{"value":1},"attrs":{"activeText":"ON","description":"CHANNEL2","inactiveText":"OFF","minimumOffTime":500000,"minimumOnTime":500000,"outOfService":0,"presentValue":0,"statusFlags":0,"applicationType":67109377}}}},"4":{"profId":260,"epId":4,"devId":0,"inClusterList":[6,18],"outClusterList":[],"clusters":{"genOnOff":{"dir":{"value":1},"attrs":{"onOff":1}},"genMultistateInput":{"dir":{"value":1},"attrs":{"numberOfStates":4,"outOfService":0,"presentValue":0,"statusFlags":0}}}},"5":{"profId":260,"epId":5,"devId":0,"inClusterList":[6,18],"outClusterList":[],"clusters":{"genOnOff":{"dir":{"value":1},"attrs":{"onOff":0}},"genMultistateInput":{"dir":{"value":1},"attrs":{"numberOfStates":4,"outOfService":0,"presentValue":0,"statusFlags":0}}}},"6":{"profId":260,"epId":6,"devId":0,"inClusterList":[6,18],"outClusterList":[],"clusters":{"genOnOff":{"dir":{"value":1},"attrs":{"onOff":0}},"genMultistateInput":{"dir":{"value":1},"attrs":{"numberOfStates":4,"outOfService":0,"presentValue":0,"statusFlags":0}}}},"8":{"profId":260,"epId":8,"devId":83,"inClusterList":[12],"outClusterList":[],"clusters":{"genAnalogInput":{"dir":{"value":1},"attrs":{"description":"POWER","maxPresentValue":1600,"minPresentValue":0,"outOfService":0,"presentValue":0,"resolution":1,"statusFlags":0,"applicationType":590336}}}}},"_id":"9TNI8hA4kdaFZFCK"} {"id":4,"type":"EndDevice","ieeeAddr":"0x00158d00025eddd7","nwkAddr":60903,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_magnet.aq2","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,6,65535],"outClusterList":[0,4,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":1},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}}},"_id":"ME3oRn4NIGkvsmnL"} {"id":3,"type":"Router","ieeeAddr":"0x01124b001bb0000c","nwkAddr":57846,"manufId":0,"manufName":"SZ","powerSource":"Mains (single phase)","modelId":"Lamp_01","epList":[11],"status":"offline","joinTime":null,"endpoints":{"11":{"profId":260,"epId":11,"devId":256,"inClusterList":[0,3,4,5,6],"outClusterList":[0],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{"zclVersion":1,"appVersion":1,"hwVersion":1,"manufacturerName":"SZ","modelId":"Lamp_01","dateCode":"20181107","powerSource":1,"locationDesc":" ","physicalEnv":0,"deviceEnabled":1}},"genIdentify":{"dir":{"value":1},"attrs":{"identifyTime":0}},"genGroups":{"dir":{"value":1},"attrs":{}},"genScenes":{"dir":{"value":1},"attrs":{"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":0}},"genOnOff":{"dir":{"value":1},"attrs":{"onOff":1}}}}},"_id":"fQHgM1OnsBIZFma5"} {"id":1,"type":"Coordinator","ieeeAddr":"0x00124b0018ed12f7","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6,11],"status":"online","joinTime":1549190981,"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":"lvayVcLrzyaKWXL3"} {"id":5,"type":"EndDevice","ieeeAddr":"0x00158d0002c78c3a","nwkAddr":56366,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_magnet.aq2","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,6,65535],"outClusterList":[0,4,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":1},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}}},"_id":"p2Pi5I3n4LaUeZq5"} {"$$indexCreated":{"fieldName":"id","unique":true,"sparse":false}} {"id":1,"type":"Coordinator","ieeeAddr":"0x00124b0018ed12f7","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6],"status":"online","joinTime":1549191029,"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":"lvayVcLrzyaKWXL3"} {"id":2,"type":"EndDevice","ieeeAddr":"0x00158d00023d066a","nwkAddr":48938,"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":"7tuBLkUYbeRoXFA3"} {"id":6,"type":"Router","ieeeAddr":"0x00158d0002ec227d","nwkAddr":59205,"manufId":4151,"manufName":"LUMI","powerSource":"DC Source","modelId":"lumi.ctrl_neutral1","epList":[1,2,3,4,5,6,8],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":6,"inClusterList":[0,1,2,3,10,25],"outClusterList":[0,10,25],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{"zclVersion":0,"appVersion":22,"stackVersion":2,"hwVersion":38,"manufacturerName":"LUMI","modelId":"lumi.ctrl_neutral1","dateCode":"04-25-2018","powerSource":4,"locationDesc":""}},"genPowerCfg":{"dir":{"value":1},"attrs":{"mainsVoltage":0,"mainsAlarmMask":0,"batteryVoltage":0}},"genDeviceTempCfg":{"dir":{"value":1},"attrs":{"currentTemperature":22,"lowTempThres":55,"highTempThres":60}},"genIdentify":{"dir":{"value":1},"attrs":{"identifyTime":0}},"genTime":{"dir":{"value":3},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":256,"inClusterList":[4,5,6,16],"outClusterList":[],"clusters":{"genGroups":{"dir":{"value":1},"attrs":{"nameSupport":128}},"genScenes":{"dir":{"value":1},"attrs":{"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":128}},"genOnOff":{"dir":{"value":1},"attrs":{"61440":65488128,"onOff":1}},"genBinaryOutput":{"dir":{"value":1},"attrs":{"activeText":"ON","description":"CHANNEL1","inactiveText":"OFF","minimumOffTime":500000,"minimumOnTime":500000,"outOfService":0,"presentValue":1,"statusFlags":0,"applicationType":67109376}}}},"3":{"profId":260,"epId":3,"devId":256,"inClusterList":[4,5,6,16],"outClusterList":[],"clusters":{"genGroups":{"dir":{"value":1},"attrs":{"nameSupport":128}},"genScenes":{"dir":{"value":1},"attrs":{"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":128}},"genOnOff":{"dir":{"value":1},"attrs":{"onOff":0}},"genBinaryOutput":{"dir":{"value":1},"attrs":{"activeText":"ON","description":"CHANNEL2","inactiveText":"OFF","minimumOffTime":500000,"minimumOnTime":500000,"outOfService":0,"presentValue":0,"statusFlags":0,"applicationType":67109377}}}},"4":{"profId":260,"epId":4,"devId":0,"inClusterList":[6,18],"outClusterList":[],"clusters":{"genOnOff":{"dir":{"value":1},"attrs":{"onOff":1}},"genMultistateInput":{"dir":{"value":1},"attrs":{"numberOfStates":4,"outOfService":0,"presentValue":0,"statusFlags":0}}}},"5":{"profId":260,"epId":5,"devId":0,"inClusterList":[6,18],"outClusterList":[],"clusters":{"genOnOff":{"dir":{"value":1},"attrs":{"onOff":0}},"genMultistateInput":{"dir":{"value":1},"attrs":{"numberOfStates":4,"outOfService":0,"presentValue":0,"statusFlags":0}}}},"6":{"profId":260,"epId":6,"devId":0,"inClusterList":[6,18],"outClusterList":[],"clusters":{"genOnOff":{"dir":{"value":1},"attrs":{"onOff":0}},"genMultistateInput":{"dir":{"value":1},"attrs":{"numberOfStates":4,"outOfService":0,"presentValue":0,"statusFlags":0}}}},"8":{"profId":260,"epId":8,"devId":83,"inClusterList":[12],"outClusterList":[],"clusters":{"genAnalogInput":{"dir":{"value":1},"attrs":{"description":"POWER","maxPresentValue":1600,"minPresentValue":0,"outOfService":0,"presentValue":0,"resolution":1,"statusFlags":0,"applicationType":590336}}}}},"_id":"9TNI8hA4kdaFZFCK"} {"id":4,"type":"EndDevice","ieeeAddr":"0x00158d00025eddd7","nwkAddr":60903,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_magnet.aq2","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,6,65535],"outClusterList":[0,4,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":1},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}}},"_id":"ME3oRn4NIGkvsmnL"} {"id":3,"type":"Router","ieeeAddr":"0x01124b001bb0000c","nwkAddr":57846,"manufId":0,"manufName":"SZ","powerSource":"Mains (single phase)","modelId":"Lamp_01","epList":[11],"status":"offline","joinTime":null,"endpoints":{"11":{"profId":260,"epId":11,"devId":256,"inClusterList":[0,3,4,5,6],"outClusterList":[0],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{"zclVersion":1,"appVersion":1,"hwVersion":1,"manufacturerName":"SZ","modelId":"Lamp_01","dateCode":"20181107","powerSource":1,"locationDesc":" ","physicalEnv":0,"deviceEnabled":1}},"genIdentify":{"dir":{"value":1},"attrs":{"identifyTime":0}},"genGroups":{"dir":{"value":1},"attrs":{}},"genScenes":{"dir":{"value":1},"attrs":{"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":0}},"genOnOff":{"dir":{"value":1},"attrs":{"onOff":1}}}}},"_id":"fQHgM1OnsBIZFma5"} {"id":5,"type":"EndDevice","ieeeAddr":"0x00158d0002c78c3a","nwkAddr":56366,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_magnet.aq2","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,6,65535],"outClusterList":[0,4,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":1},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}}},"_id":"p2Pi5I3n4LaUeZq5"} {"id":1,"type":"Coordinator","ieeeAddr":"0x00124b0018ed12f7","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6,11],"status":"online","joinTime":1549191029,"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":"lvayVcLrzyaKWXL3"}

mayrp2001 commented 5 years ago

This seems to be the entry on the database file about the entity I am not sure what it is doing.

Cheers

{"id":1,"type":"Coordinator","ieeeAddr":"0x00124b0018ed12f7","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6,11],"status":"online","joinTime":1549190981,"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":"lvayVcLrzyaKWXL3"}

Koenkk commented 5 years ago

@mayrp2001 that entity is from zigbee2mqtt itself. Can you post your startup log again? As I can see the QBKG04LM in the database.db (0x00158d0002ec227d)

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.