itsmepetrov / homebridge-zigbee

ZigBee Platform plugin for HomeBridge
https://itsmepetrov.github.io/homebridge-zigbee/
MIT License
106 stars 36 forks source link

Tradfri lightbulb? #43

Open harbri opened 4 years ago

harbri commented 4 years ago

I'm trying to add an Ikea Tradfri Lightbulb but somehow it does not seem to finish the join process completely:

[9/17/2019, 6:14:38 PM] [ZigBee] Join progress: interview endpoint 1 of 2 and cluster 1 of 11 [9/17/2019, 6:14:38 PM] [ZigBee] Join progress: interview endpoint 1 of 2 and cluster 2 of 11 [9/17/2019, 6:14:39 PM] [ZigBee] Join progress: interview endpoint 1 of 2 and cluster 3 of 11 [9/17/2019, 6:14:39 PM] [ZigBee] [PermitJoinAccessory] time left: 59 [9/17/2019, 6:14:39 PM] [ZigBee] Join progress: interview endpoint 1 of 2 and cluster 4 of 11 [9/17/2019, 6:14:39 PM] [ZigBee] Join progress: interview endpoint 1 of 2 and cluster 5 of 11 [9/17/2019, 6:14:40 PM] [ZigBee] Join progress: interview endpoint 1 of 2 and cluster 6 of 11 [9/17/2019, 6:14:40 PM] [ZigBee] Join progress: interview endpoint 1 of 2 and cluster 7 of 11 [9/17/2019, 6:14:40 PM] [ZigBee] [PermitJoinAccessory] time left: 58 [9/17/2019, 6:14:40 PM] [ZigBee] Join progress: interview endpoint 1 of 2 and cluster 8 of 11 [9/17/2019, 6:14:40 PM] [ZigBee] Join progress: interview endpoint 1 of 2 and cluster 9 of 11 [9/17/2019, 6:14:40 PM] [ZigBee] Join progress: interview endpoint 1 of 2 and cluster 10 of 11 [9/17/2019, 6:14:41 PM] [ZigBee] Join progress: interview endpoint 1 of 2 and cluster 11 of 11 [9/17/2019, 6:14:41 PM] [ZigBee] [PermitJoinAccessory] time left: 57 [9/17/2019, 6:14:42 PM] [ZigBee] [PermitJoinAccessory] time left: 56 [9/17/2019, 6:14:43 PM] [ZigBee] [PermitJoinAccessory] time left: 55 [9/17/2019, 6:14:44 PM] [ZigBee] [PermitJoinAccessory] time left: 54 [9/17/2019, 6:14:45 PM] [ZigBee] [PermitJoinAccessory] time left: 53 [9/17/2019, 6:14:46 PM] [ZigBee] [PermitJoinAccessory] time left: 52 [9/17/2019, 6:14:47 PM] [ZigBee] [PermitJoinAccessory] time left: 51 [9/17/2019, 6:14:48 PM] [ZigBee] [PermitJoinAccessory] time left: 50 [9/17/2019, 6:14:49 PM] [ZigBee] [PermitJoinAccessory] time left: 49 [9/17/2019, 6:14:50 PM] [ZigBee] [PermitJoinAccessory] time left: 48 [9/17/2019, 6:14:51 PM] [ZigBee] [PermitJoinAccessory] time left: 47 [9/17/2019, 6:14:52 PM] [ZigBee] [PermitJoinAccessory] time left: 46 [9/17/2019, 6:14:53 PM] [ZigBee] [PermitJoinAccessory] time left: 45 [9/17/2019, 6:14:53 PM] [ZigBee] [RouterPolling] ping device: 0x14b457fffe3c338b [9/17/2019, 6:14:54 PM] [ZigBee] [PermitJoinAccessory] time left: 44 [9/17/2019, 6:14:55 PM] [ZigBee] [PermitJoinAccessory] time left: 43 [9/17/2019, 6:14:56 PM] [ZigBee] [PermitJoinAccessory] time left: 42 [9/17/2019, 6:14:57 PM] [ZigBee] [PermitJoinAccessory] time left: 41 [9/17/2019, 6:14:58 PM] [ZigBee] [PermitJoinAccessory] time left: 40 [9/17/2019, 6:14:59 PM] [ZigBee] [PermitJoinAccessory] time left: 39 [9/17/2019, 6:15:00 PM] [ZigBee] [PermitJoinAccessory] time left: 38 [9/17/2019, 6:15:01 PM] [ZigBee] [PermitJoinAccessory] time left: 37 [9/17/2019, 6:15:02 PM] [ZigBee] [PermitJoinAccessory] time left: 36 [9/17/2019, 6:15:03 PM] [ZigBee] [PermitJoinAccessory] time left: 35 [9/17/2019, 6:15:04 PM] [ZigBee] [PermitJoinAccessory] time left: 34 [9/17/2019, 6:15:05 PM] [ZigBee] [PermitJoinAccessory] time left: 33 [9/17/2019, 6:15:06 PM] [ZigBee] [PermitJoinAccessory] time left: 32 [9/17/2019, 6:15:07 PM] [ZigBee] [PermitJoinAccessory] time left: 31 [9/17/2019, 6:15:08 PM] [ZigBee] [PermitJoinAccessory] time left: 30 [9/17/2019, 6:15:09 PM] [ZigBee] [PermitJoinAccessory] time left: 29 [9/17/2019, 6:15:10 PM] [ZigBee] [PermitJoinAccessory] time left: 28 [9/17/2019, 6:15:11 PM] [ZigBee] Join progress: interview endpoint 242 of 2 and cluster 1 of 1 [9/17/2019, 6:15:11 PM] [ZigBee] Device announced incoming and is added, id: 0x14b457fffe3c338b [9/17/2019, 6:15:11 PM] [ZigBee] [PermitJoinAccessory] stopped [9/17/2019, 6:15:12 PM] [ZigBee] Unrecognized device: 0x14b457fffe3c338b IKEA of Sweden TRADFRI bulb E14 WS opal 600lm [9/17/2019, 6:15:53 PM] [ZigBee] [RouterPolling] ping device: 0x14b457fffe3c338b [9/17/2019, 6:16:53 PM] [ZigBee] [RouterPolling] ping device: 0x14b457fffe3c338b [9/17/2019, 6:17:53 PM] [ZigBee] [RouterPolling] ping device: 0x14b457fffe3c338b

What do I need to do to get the bulb completely joined?

harbri commented 4 years ago

Zigbee.db:

{"id":5,"type":"Router","ieeeAddr":"0x14b457fffe3c338b","nwkAddr":55161,"manufId":4476,"manufName":"IKEA of Sweden","powerSource":"Mains (single phase)","modelId":"TRADFRI bulb E14 WS opal 600lm","epList":[1,242],"status":"online","joinTime":1568736877,"endpoints":{"1":{"profId":260,"epId":1,"devId":268,"inClusterList":[0,3,4,5,6,8,768,4096,64636],"outClusterList":[5,25,32,4096],"clusters":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[33],"outClusterList":[33],"clusters":{}}},"_id":"YdgQXkzYJDmmT7LA"} {"id":5,"type":"Router","ieeeAddr":"0x14b457fffe3c338b","nwkAddr":55161,"manufId":4476,"manufName":"IKEA of Sweden","powerSource":"Mains (single phase)","modelId":"TRADFRI bulb E14 WS opal 600lm","epList":[1,242],"status":"online","joinTime":1568736877,"endpoints":{"1":{"profId":260,"epId":1,"devId":268,"inClusterList":[0,3,4,5,6,8,768,4096,64636],"outClusterList":[5,25,32,4096],"clusters":{"64636":{"dir":{"value":1},"attrs":{}},"genBasic":{"dir":{"value":1},"attrs":{"9":255,"10":"LED1733G7E14","11":"","65533":1,"zclVersion":2,"appVersion":32,"stackVersion":98,"hwVersion":1,"manufacturerName":"IKEA of Sweden","modelId":"TRADFRI bulb E14 WS opal 600lm","dateCode":"20190308","powerSource":1,"appProfileVersion":255,"swBuildId":"2.0.022"}},"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":255,"65533":1,"currentLevel":254,"remainingTime":0,"onOffTransitionTime":5,"onLevel":255}},"genOta":{"dir":{"value":2},"attrs":{}},"genPollCtrl":{"dir":{"value":2},"attrs":{}},"lightingColorCtrl":{"dir":{"value":1},"attrs":{"15":0,"16397":370,"16400":65535,"65533":1,"remainingTime":0,"currentX":30138,"currentY":26909,"colorTemperature":370,"colorMode":2,"numPrimaries":0,"enhancedColorMode":2,"colorCapabilities":16,"colorTempPhysicalMin":250,"colorTempPhysicalMax":454}},"lightLink":{"dir":{"value":3},"attrs":{"65533":1}}}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[33],"outClusterList":[33],"clusters":{"genGreenPowerProxy":{"dir":{"value":3},"attrs":{}}}}},"_id":"YdgQXkzYJDmmT7LA"}

dalethomas81 commented 4 years ago

Try adding 'TRADFRI bulb E14 WS opal 600lm' to the model array in the ikea.tradfri.bulb.js file and restart.

harbri commented 4 years ago

Thx, works like a charm now!