zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

New version of WXKG03LM

Open HKC001 opened this issue 8 years ago • 15 comments

Reporting a new version of WXKG03LM. Connected on both 0.1.6 and edge, but:

Device with modelID 'lumi.remote.b186acn01

The box it came in appears new as well. Previous switches came in a box with a white face and only the words 'Aqara' in black. This new one has an the word 'Aqara' in blue, an image of the switch, and Chinese + Korean text. Manufactured June 2018.

HKC001 avatar Oct 08 '18 10:10 HKC001

Could you change https://github.com/Koenkk/zigbee-shepherd-converters/blob/master/devices.js#L106 to

        zigbeeModel: ['lumi.sensor_86sw1\u0000lu', 'lumi.remote.b186acn01'],

and report if it works?

Koenkk avatar Oct 08 '18 11:10 Koenkk

Sorry but I'm really new at this. Running Hass.IO and I couldn't find the devices.js file in any of the folders (using Samba share). Could you tell me how to access it?

HKC001 avatar Oct 08 '18 13:10 HKC001

This should help: https://github.com/Koenkk/zigbee2mqtt/wiki/How-to-support-new-devices-on-Hass.io

Koenkk avatar Oct 08 '18 14:10 Koenkk

Still not working unfortunately. Added to device.js and restarted container:

{
        zigbeeModel: ['lumi.sensor_86sw1\u0000lu', 'lumi.remote.b186acn01'],
        model: 'WXKG03LM',
        vendor: 'Xiaomi',
        description: 'Aqara single key wireless wall switch',
        supports: 'single click',
        fromZigbee: [fz.xiaomi_battery_3v, fz.WXKG03LM_click, fz.ignore_basic_change],
        toZigbee: [],
    },

Same error:

Recieved zigbee message of type 'attReport' with data '{"cid":"genMultistateInput","data":{"presentValue":1}}' of device 'lumi.remote.b186acn01' (0x00158d00028f7d0e)
Device with modelID 'lumi.remote.b186acn01' is not supported.

Online, it says these new enhanced switches have single, double click and long press. (https://www.xiaomitoday.com/aqara-wireless-switch-enchanced-version/).

Looking through the support new devices page now to see what else I can do, but any advice would be appreciated.

HKC001 avatar Oct 09 '18 01:10 HKC001

Could you post your data/database.db file?

Koenkk avatar Oct 09 '18 05:10 Koenkk

The database file in share>zigbee2mqtt, right?

{"id":13,"type":"EndDevice","ieeeAddr":"0x00158d000282a0f6","nwkAddr":17039,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.remote.b286acn01\u0000\u0000\u0000","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":"66ev7PjOcknFMEUF"}
{"id":1,"type":"Coordinator","ieeeAddr":"0x00124b0018ed39af","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6],"status":"online","joinTime":1539072762,"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":"HSQ4IYr2Wx0CtnEL"}
{"id":5,"type":"EndDevice","ieeeAddr":"0x00158d000237c63d","nwkAddr":27063,"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":"IEL1JBOMHcr45yRX"}
{"id":8,"type":"EndDevice","ieeeAddr":"0x00158d000252d579","nwkAddr":45413,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_switch","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":260,"inClusterList":[0,3,25,65535],"outClusterList":[0,3,4,5,6,8,25],"clusters":{}}},"_id":"JdWoH4yhoVwT8wul"}
{"id":4,"type":"EndDevice","ieeeAddr":"0x00158d00020f542e","nwkAddr":21575,"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":"Q3dBaxyn5psDpvfm"}
{"id":14,"type":"Router","ieeeAddr":"0x00158d00026a10a4","nwkAddr":56412,"manufId":4151,"manufName":"LUMI","powerSource":"DC Source","modelId":"lumi.ctrl_neutral1","epList":[1,2,3,4,5,6,8],"status":"online","joinTime":1539072972,"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":18,"stackVersion":2,"hwVersion":38,"manufacturerName":"LUMI","modelId":"lumi.ctrl_neutral1","dateCode":"11-11-2016","powerSource":4,"locationDesc":""}},"genPowerCfg":{"dir":{"value":1},"attrs":{"mainsVoltage":0,"mainsAlarmMask":0,"batteryVoltage":0}},"genDeviceTempCfg":{"dir":{"value":1},"attrs":{"currentTemperature":33,"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":{"onOff":0}},"genBinaryOutput":{"dir":{"value":1},"attrs":{"activeText":"ON","description":"CHANNEL1","inactiveText":"OFF","minimumOffTime":500000,"minimumOnTime":500000,"outOfService":0,"presentValue":0,"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":0}},"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":"SPQZMPDo5FHQtTUt"}
{"id":2,"type":"Router","ieeeAddr":"0x00158d00024f1d15","nwkAddr":1880,"manufId":4447,"manufName":"LUMI","powerSource":"Mains (single phase)","modelId":"lumi.plug","epList":[1,2,3],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[0,1,2,3,4,5,6,10,16],"outClusterList":[10,25],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{"zclVersion":1,"appVersion":30,"stackVersion":2,"hwVersion":18,"manufacturerName":"LUMI","modelId":"lumi.plug","dateCode":"09-29-2017","powerSource":1}},"genPowerCfg":{"dir":{"value":1},"attrs":{"mainsVoltage":2176}},"genDeviceTempCfg":{"dir":{"value":1},"attrs":{"currentTemperature":25}},"genIdentify":{"dir":{"value":1},"attrs":{"identifyTime":0}},"genGroups":{"dir":{"value":1},"attrs":{"nameSupport":0}},"genScenes":{"dir":{"value":1},"attrs":{"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":0,"lastCfgBy":"0xffffffffffffffff"}},"genOnOff":{"dir":{"value":1},"attrs":{"61440":50812928,"onOff":1}},"genTime":{"dir":{"value":3},"attrs":{}},"genBinaryOutput":{"dir":{"value":1},"attrs":{"outOfService":0,"presentValue":0,"statusFlags":0}},"genOta":{"dir":{"value":2},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":9,"inClusterList":[12],"outClusterList":[4,12],"clusters":{"genGroups":{"dir":{"value":2},"attrs":{}},"genAnalogInput":{"dir":{"value":3},"attrs":{}}}},"3":{"profId":260,"epId":3,"devId":83,"inClusterList":[12],"outClusterList":[12],"clusters":{"genAnalogInput":{"dir":{"value":3},"attrs":{}}}}},"_id":"TEL3r7hgS3vGzpfT"}
{"id":7,"type":"EndDevice","ieeeAddr":"0x00158d00024e1a0a","nwkAddr":47922,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_magnet","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":260,"inClusterList":[0,3,25,65535],"outClusterList":[0,3,4,5,6,8,25],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":2},"attrs":{}},"genLevelCtrl":{"dir":{"value":2},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}},"manuSpecificCluster":{"dir":{"value":1},"attrs":{}}}}},"_id":"TVZssfDEUJ4TA57f"}
{"id":3,"type":"EndDevice","ieeeAddr":"0x00158d00026a35a9","nwkAddr":64373,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_motion","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":260,"inClusterList":[0,3,25,65535],"outClusterList":[0,3,4,5,6,8,25],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":2},"attrs":{}},"genLevelCtrl":{"dir":{"value":2},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}},"manuSpecificCluster":{"dir":{"value":1},"attrs":{}}}}},"_id":"bChcVcptCuk3UBwb"}
{"id":12,"type":"EndDevice","ieeeAddr":"0x00158d000276fd78","nwkAddr":51628,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_cube","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":{"modelId":"lumi.sensor_cube.aqgl01"}},"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":"k0hQRtlD93LQAt8B"}
{"id":6,"type":"EndDevice","ieeeAddr":"0x00158d000232c0c5","nwkAddr":11132,"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":"kjq6KNVkWdAcnxnY"}
{"id":11,"type":"Router","ieeeAddr":"0x00124b0014d9db92","nwkAddr":11972,"manufId":4447,"manufName":"LUMI","powerSource":"Mains (single phase)","modelId":"lumi.router","epList":[8],"status":"online","joinTime":1539072823,"endpoints":{"8":{"profId":260,"epId":8,"devId":256,"inClusterList":[0,6],"outClusterList":[0,6],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{"hwVersion":1,"manufacturerName":"LUMI","modelId":"lumi.router","dateCode":"2018-09-26","powerSource":1,"locationDesc":"","physicalEnv":0,"deviceEnabled":1}},"genOnOff":{"dir":{"value":3},"attrs":{"onOff":0}}}}},"_id":"x1n3IQZzqVcNHavw"}
{"$$indexCreated":{"fieldName":"id","unique":true,"sparse":false}}
{"id":1,"type":"Coordinator","ieeeAddr":"0x00124b0018ed39af","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6],"status":"online","joinTime":1539073242,"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":"HSQ4IYr2Wx0CtnEL"}
{"id":13,"type":"EndDevice","ieeeAddr":"0x00158d000282a0f6","nwkAddr":17039,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.remote.b286acn01\u0000\u0000\u0000","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":"66ev7PjOcknFMEUF"}
{"id":5,"type":"EndDevice","ieeeAddr":"0x00158d000237c63d","nwkAddr":27063,"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":"IEL1JBOMHcr45yRX"}
{"id":8,"type":"EndDevice","ieeeAddr":"0x00158d000252d579","nwkAddr":45413,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_switch","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":260,"inClusterList":[0,3,25,65535],"outClusterList":[0,3,4,5,6,8,25],"clusters":{}}},"_id":"JdWoH4yhoVwT8wul"}
{"id":4,"type":"EndDevice","ieeeAddr":"0x00158d00020f542e","nwkAddr":21575,"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":"Q3dBaxyn5psDpvfm"}
{"id":14,"type":"Router","ieeeAddr":"0x00158d00026a10a4","nwkAddr":56412,"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":18,"stackVersion":2,"hwVersion":38,"manufacturerName":"LUMI","modelId":"lumi.ctrl_neutral1","dateCode":"11-11-2016","powerSource":4,"locationDesc":""}},"genPowerCfg":{"dir":{"value":1},"attrs":{"mainsVoltage":0,"mainsAlarmMask":0,"batteryVoltage":0}},"genDeviceTempCfg":{"dir":{"value":1},"attrs":{"currentTemperature":33,"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":{"onOff":0}},"genBinaryOutput":{"dir":{"value":1},"attrs":{"activeText":"ON","description":"CHANNEL1","inactiveText":"OFF","minimumOffTime":500000,"minimumOnTime":500000,"outOfService":0,"presentValue":0,"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":0}},"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":"SPQZMPDo5FHQtTUt"}
{"id":2,"type":"Router","ieeeAddr":"0x00158d00024f1d15","nwkAddr":1880,"manufId":4447,"manufName":"LUMI","powerSource":"Mains (single phase)","modelId":"lumi.plug","epList":[1,2,3],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[0,1,2,3,4,5,6,10,16],"outClusterList":[10,25],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{"zclVersion":1,"appVersion":30,"stackVersion":2,"hwVersion":18,"manufacturerName":"LUMI","modelId":"lumi.plug","dateCode":"09-29-2017","powerSource":1}},"genPowerCfg":{"dir":{"value":1},"attrs":{"mainsVoltage":2176}},"genDeviceTempCfg":{"dir":{"value":1},"attrs":{"currentTemperature":25}},"genIdentify":{"dir":{"value":1},"attrs":{"identifyTime":0}},"genGroups":{"dir":{"value":1},"attrs":{"nameSupport":0}},"genScenes":{"dir":{"value":1},"attrs":{"count":0,"currentScene":0,"currentGroup":0,"sceneValid":0,"nameSupport":0,"lastCfgBy":"0xffffffffffffffff"}},"genOnOff":{"dir":{"value":1},"attrs":{"61440":50812928,"onOff":1}},"genTime":{"dir":{"value":3},"attrs":{}},"genBinaryOutput":{"dir":{"value":1},"attrs":{"outOfService":0,"presentValue":0,"statusFlags":0}},"genOta":{"dir":{"value":2},"attrs":{}}}},"2":{"profId":260,"epId":2,"devId":9,"inClusterList":[12],"outClusterList":[4,12],"clusters":{"genGroups":{"dir":{"value":2},"attrs":{}},"genAnalogInput":{"dir":{"value":3},"attrs":{}}}},"3":{"profId":260,"epId":3,"devId":83,"inClusterList":[12],"outClusterList":[12],"clusters":{"genAnalogInput":{"dir":{"value":3},"attrs":{}}}}},"_id":"TEL3r7hgS3vGzpfT"}
{"id":7,"type":"EndDevice","ieeeAddr":"0x00158d00024e1a0a","nwkAddr":47922,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_magnet","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":260,"inClusterList":[0,3,25,65535],"outClusterList":[0,3,4,5,6,8,25],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":2},"attrs":{}},"genLevelCtrl":{"dir":{"value":2},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}},"manuSpecificCluster":{"dir":{"value":1},"attrs":{}}}}},"_id":"TVZssfDEUJ4TA57f"}
{"id":3,"type":"EndDevice","ieeeAddr":"0x00158d00026a35a9","nwkAddr":64373,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_motion","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":260,"inClusterList":[0,3,25,65535],"outClusterList":[0,3,4,5,6,8,25],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":3},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"genScenes":{"dir":{"value":2},"attrs":{}},"genOnOff":{"dir":{"value":2},"attrs":{}},"genLevelCtrl":{"dir":{"value":2},"attrs":{}},"genOta":{"dir":{"value":3},"attrs":{}},"manuSpecificCluster":{"dir":{"value":1},"attrs":{}}}}},"_id":"bChcVcptCuk3UBwb"}
{"id":12,"type":"EndDevice","ieeeAddr":"0x00158d000276fd78","nwkAddr":51628,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.sensor_cube","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":{"modelId":"lumi.sensor_cube.aqgl01"}},"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":"k0hQRtlD93LQAt8B"}
{"id":6,"type":"EndDevice","ieeeAddr":"0x00158d000232c0c5","nwkAddr":11132,"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":"kjq6KNVkWdAcnxnY"}
{"id":11,"type":"Router","ieeeAddr":"0x00124b0014d9db92","nwkAddr":11972,"manufId":4447,"manufName":"LUMI","powerSource":"Mains (single phase)","modelId":"lumi.router","epList":[8],"status":"offline","joinTime":null,"endpoints":{"8":{"profId":260,"epId":8,"devId":256,"inClusterList":[0,6],"outClusterList":[0,6],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{"hwVersion":1,"manufacturerName":"LUMI","modelId":"lumi.router","dateCode":"2018-09-26","powerSource":1,"locationDesc":"","physicalEnv":0,"deviceEnabled":1}},"genOnOff":{"dir":{"value":3},"attrs":{"onOff":0}}}}},"_id":"x1n3IQZzqVcNHavw"}
{"id":15,"type":"EndDevice","ieeeAddr":"0x00158d00028f7d0e","nwkAddr":17859,"manufId":4151,"epList":[1,2,3],"status":"online","joinTime":1539073379,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,18,25,65535],"outClusterList":[0,3,4,5,18,25,65535],"clusters":{}},"2":{"profId":260,"epId":2,"devId":24322,"inClusterList":[3,18],"outClusterList":[3,4,5,18],"clusters":{}},"3":{"profId":260,"epId":3,"devId":24323,"inClusterList":[3,12],"outClusterList":[3,4,5,12],"clusters":{}}},"_id":"yN1bBdZlnEksOdjj"}
{"id":15,"type":"EndDevice","ieeeAddr":"0x00158d00028f7d0e","nwkAddr":17859,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.remote.b186acn01\u0000\u0000\u0000","epList":[1,2,3],"status":"online","joinTime":1539073379,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,18,25,65535],"outClusterList":[0,3,4,5,18,25,65535],"clusters":{}},"2":{"profId":260,"epId":2,"devId":24322,"inClusterList":[3,18],"outClusterList":[3,4,5,18],"clusters":{}},"3":{"profId":260,"epId":3,"devId":24323,"inClusterList":[3,12],"outClusterList":[3,4,5,12],"clusters":{}}},"_id":"yN1bBdZlnEksOdjj"}
{"id":11,"type":"Router","ieeeAddr":"0x00124b0014d9db92","nwkAddr":11972,"manufId":4447,"manufName":"LUMI","powerSource":"Mains (single phase)","modelId":"lumi.router","epList":[8],"status":"online","joinTime":1539073426,"endpoints":{"8":{"profId":260,"epId":8,"devId":256,"inClusterList":[0,6],"outClusterList":[0,6],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{"hwVersion":1,"manufacturerName":"LUMI","modelId":"lumi.router","dateCode":"2018-09-26","powerSource":1,"locationDesc":"","physicalEnv":0,"deviceEnabled":1}},"genOnOff":{"dir":{"value":3},"attrs":{"onOff":0}}}}},"_id":"x1n3IQZzqVcNHavw"}
{"id":11,"type":"Router","ieeeAddr":"0x00124b0014d9db92","nwkAddr":11972,"manufId":4447,"manufName":"LUMI","powerSource":"Mains (single phase)","modelId":"lumi.router","epList":[8],"status":"online","joinTime":1539073426,"endpoints":{"8":{"profId":260,"epId":8,"devId":256,"inClusterList":[0,6],"outClusterList":[0,6],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{"hwVersion":1,"manufacturerName":"LUMI","modelId":"lumi.router","dateCode":"2018-09-26","powerSource":1,"locationDesc":"","physicalEnv":0,"deviceEnabled":1}},"genOnOff":{"dir":{"value":3},"attrs":{"onOff":0}}}}},"_id":"x1n3IQZzqVcNHavw"}
{"id":15,"type":"EndDevice","ieeeAddr":"0x00158d00028f7d0e","nwkAddr":17859,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.remote.b186acn01\u0000\u0000\u0000","epList":[1,2,3],"status":"online","joinTime":1539073379,"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":"yN1bBdZlnEksOdjj"}

Here are the device's lines:

{"id":15,"type":"EndDevice","ieeeAddr":"0x00158d00028f7d0e","nwkAddr":17859,"manufId":4151,"epList":[1,2,3],"status":"online","joinTime":1539073379,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,18,25,65535],"outClusterList":[0,3,4,5,18,25,65535],"clusters":{}},"2":{"profId":260,"epId":2,"devId":24322,"inClusterList":[3,18],"outClusterList":[3,4,5,18],"clusters":{}},"3":{"profId":260,"epId":3,"devId":24323,"inClusterList":[3,12],"outClusterList":[3,4,5,12],"clusters":{}}},"_id":"yN1bBdZlnEksOdjj"}
{"id":15,"type":"EndDevice","ieeeAddr":"0x00158d00028f7d0e","nwkAddr":17859,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.remote.b186acn01\u0000\u0000\u0000","epList":[1,2,3],"status":"online","joinTime":1539073379,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,18,25,65535],"outClusterList":[0,3,4,5,18,25,65535],"clusters":{}},"2":{"profId":260,"epId":2,"devId":24322,"inClusterList":[3,18],"outClusterList":[3,4,5,18],"clusters":{}},"3":{"profId":260,"epId":3,"devId":24323,"inClusterList":[3,12],"outClusterList":[3,4,5,12],"clusters":{}}},"_id":"yN1bBdZlnEksOdjj"}
{"id":15,"type":"EndDevice","ieeeAddr":"0x00158d00028f7d0e","nwkAddr":17859,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.remote.b186acn01\u0000\u0000\u0000","epList":[1,2,3],"status":"online","joinTime":1539073379,"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":"yN1bBdZlnEksOdjj"}

HKC001 avatar Oct 09 '18 08:10 HKC001

Could you change https://github.com/Koenkk/zigbee-shepherd-converters/blob/master/devices.js#L106 to

        zigbeeModel: ['lumi.sensor_86sw1\u0000lu', 'lumi.remote.b186acn01'],

and report if it works?

Can you change it to

         zigbeeModel: ['lumi.sensor_86sw1\u0000lu', 'lumi.remote.b186acn01\u0000\u0000\u0000'],

Koenkk avatar Oct 09 '18 09:10 Koenkk

Done, current msg with one click:

No converter available for 'WXKG03LM' with cid 'genMultistateInput', type 'attReport' and data '{"cid":"genMultistateInput","data":{"presentValue":1}}'
No converter available for 'WXKG03LM' with cid 'genMultistateInput', type 'devChange' and data '{"cid":"genMultistateInput","data":{"presentValue":1}}'

I tried using the 'genMultistateInput' for WXKG02LM, but no success. I think I'm doing it wrong.

HKC001 avatar Oct 09 '18 13:10 HKC001

Can you try with:

    {
        zigbeeModel: ['lumi.sensor_86sw1\u0000lu', 'lumi.remote.b186acn01\u0000\u0000\u0000'],
        model: 'WXKG03LM',
        vendor: 'Xiaomi',
        description: 'Aqara single key wireless wall switch',
        supports: 'single click',
        fromZigbee: [fz.xiaomi_battery_3v, fz.WXKG03LM_click, fz.ignore_basic_change, fz.WXKG11LM_action_click_multistate, fz.ignore_multistate_change],
        toZigbee: [],
    },

And check which of the following events are supported: single, double, hold/release (after holding for more than 400ms)

Koenkk avatar Oct 10 '18 08:10 Koenkk

Woah, one click and zigbee2mqtt reset itself.

  zigbee2mqtt:info 2018-10-10 23:34:10 MQTT publish, topic: 'zig/dwd_ls_1', payload: '{"state_right":"OFF","linkquality":39}'
/app/lib/controller.js:265
                return c.cid === cid && c.type === message.type;
                         ^
TypeError: Cannot read property 'cid' of undefined
    at mappedModel.fromZigbee.filter (/app/lib/controller.js:265:26)
    at Array.filter (<anonymous>)
    at Controller.handleZigbeeMessage (/app/lib/controller.js:263:51)
    at Zigbee.handleMessage (/app/lib/zigbee.js:172:18)
    at emitOne (events.js:116:13)
    at ZShepherd.emit (events.js:211:7)
    at ZShepherd.<anonymous> (/app/node_modules/zigbee-shepherd/lib/shepherd.js:160:14)
    at emitMany (events.js:147:13)
    at ZShepherd.emit (events.js:224:7)
    at dispatchIncomingMsg (/app/node_modules/zigbee-shepherd/lib/components/af.js:669:45)
npm
 ERR! code ELIFECYCLE
npm ERR! errno 1
npm
 ERR! [email protected] start: `node index.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!
     /root/.npm/_logs/2018-10-10T15_34_18_057Z-debug.log
2018-10-10T23:34:19: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2018-10-10T23:34:19: PM2 log: App [npm:0] starting in -fork mode-
2018-10-10T23:34:19: PM2 log: App [npm:0] online
> [email protected] start /app
> node index.js

I did docker exec -it xxxxx bash but couldn't find /root/.npm/_logs/2018-10-10T15_34_18_057Z-debug.log.

HKC001 avatar Oct 10 '18 15:10 HKC001

In the docker container, could you execute:

cd /app/node_modules
rm -rf zigbee-shepherd-converters
git clone https://github.com/Koenkk/zigbee-shepherd-converters.git -b lumi.remote.b186acn01 
cd zigbee-shepherd-converters
npm install

and try again?

Koenkk avatar Oct 11 '18 15:10 Koenkk

Sorry for the late reply, had to go out of town for work. Good news, it works! It registers single and double clicks and hold.

HKC001 avatar Oct 14 '18 10:10 HKC001

I think I might be experiencing something similar with a new wxkg02lm:

zigbee2mqtt:warn 2018-10-14 11:53:07 Device with modelID 'lumi.remote.b286acn01' is not supported.

davidsig avatar Oct 14 '18 11:10 davidsig

@davidsig that one is already supported: https://github.com/Koenkk/zigbee-shepherd-converters/blob/master/devices.js#L115 (is supported in zigbee2mqtt 0.1.7)

Koenkk avatar Oct 15 '18 17:10 Koenkk

@HKC001 thanks, merged!

Koenkk avatar Oct 15 '18 17:10 Koenkk