Giter Club home page Giter Club logo

homebridge-zigbee's People

Contributors

jakubskrz avatar permadm avatar redetection avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebridge-zigbee's Issues

Still not able to install plugin

Trying to install this V2 plugin. Keep getting this message:

npm WARN deprecated [email protected]: Latest version: 3.0.1
npm WARN notsup Unsupported engine for [email protected]: wanted: {"homebridge":"^0.4.45","node":"^10.13.0"} (current: {"node":"12.13.1","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]

npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://[email protected]/itsmepetrov/zcl-id.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-01-08T15_50_05_472Z-debug.log

What can i do to make it work?

Osram Smart+ Plug

I'm trying to add the Osram Smart+ Plug but it doesn't get recognized. Can it be added to the supported devices? Here's info from zigbee.db:

{"id":3,"type":"Router","ieeeAddr":"0x7cb03eaa0a0040e8","nwkAddr":56725,"manufId
":48042,"manufName":"OSRAM","powerSource":"Mains (single phase)","modelId":"Plug
01","epList":[3],"status":"online","joinTime":1569765969,"endpoints":{"3":{"pro
fId":49246,"epId":3,"devId":16,"inClusterList":[0,3,4,5,6,2820,4096,64527],"outC
lusterList":[25],"clusters":{}}},"_id":"Pic8EoS7oamFW8dy"}
{"id":3,"type":"Router","ieeeAddr":"0x7cb03eaa0a0040e8","nwkAddr":56725,"manufId
":48042,"manufName":"OSRAM","powerSource":"Mains (single phase)","modelId":"Plug
01","epList":[3],"status":"online","joinTime":1569765969,"endpoints":{"3":{"pro
fId":49246,"epId":3,"devId":16,"inClusterList":[0,3,4,5,6,2820,4096,64527],"outC
lusterList":[25],"clusters":{"64527":{"dir":{"value":1},"attrs":{"0":0}},"genBas
ic":{"dir":{"value":1},"attrs":{"zclVersion":1,"appVersion":12,"stackVersion":2,
"hwVersion":1,"manufacturerName":"OSRAM","modelId":"Plug 01","dateCode":"2014033
1DEOS****","powerSource":1,"deviceEnabled":1,"swBuildId":"V1.04.12"}},"genIdenti
fy":{"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,"globalSceneCtrl":1,"onTime":0,"offWaitTime":0}},"genOta":{"
dir":{"value":2},"attrs":{}},"haElectricalMeasurement":{"dir":{"value":1},"attrs
":{"measurementType":8,"activePower":400}},"lightLink":{"dir":{"value":1},"attrs
":{}}}}},"_id":"Pic8EoS7oamFW8dy"}

Aqara Vibration Sensor

Hi,
can I add a Aqara Vibration Sensor?
Homebridge tell me "Received message from unknown device". :(

[12/3/2019, 3:24:55 PM] [ZigBee] Device announced incoming and is added, id: 0x00158d0003130e18 [12/3/2019, 3:24:57 PM] [ZigBee] Received message from unknown device: 0x00158d0003130e18 [12/3/2019, 3:24:57 PM] [ZigBee] Unrecognized device: 0x00158d0003130e18 LUMI lumi.vibration.aq1 [12/3/2019, 3:24:57 PM] [ZigBee] Received message from unknown device: 0x00158d0003130e18 [12/3/2019, 3:25:04 PM] [ZigBee] Received message from unknown device: 0x00158d0003130e18

startZigBee function never returns anything

The homebridge-zigbee plugin can't start.
While trying to debug the situation, I've come to the point, where it fails.
In the file index.js the following code never returns and looks like hangs indefinitelly:

        await zigbee.start()

The zigbee.on('ready', this.handleZigBeeReady) is never executed.

I'm not sure how to proceed with debugging, as that looks like internal zigbee-shepherd code.
Would appreciate a hint.

I've tested the USB stick separately using the zigbee-shepherd alone and it works as expected, so the USB stick firmware should be OK.

Node.js is v8.15.0
NPM is v6.4.1

Uncaught Exception Error: More than 10% of the data file is corrupt, the wrong beforeDeserialization hook may be used. Cautiously refusing to start NeDB to prevent dataloss

Uncaught Exception Error: More than 10% of the data file is corrupt, the wrong beforeDeserialization hook may be used. Cautiously refusing to start NeDB to prevent dataloss
at Persistence.treatRawData (/usr/lib/node_modules/homebridge-zigbee/node_modules/nedb/lib/persistence.js:242:11)
at /usr/lib/node_modules/homebridge-zigbee/node_modules/nedb/lib/persistence.js:281:38
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:525:3)

Conbee 2 USB Stick Issue

Hi,

I managed to get Homebridge running and I sucessfully installed this Plugin.
I bought a Conbee 2 USB Stick to avoid the diy flashing hassle.

When I Type "sudo lsusb" I get:

_Bus 001 Device 011: ID 1cf1:0030 Dresden Elektronik 
Bus 001 Device 005: ID 0424:7800 Standard Microsystems Corp. 
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub_

When I type "sudo lsusb -t" i get following:

_/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/3p, 480M
            |__ Port 1: Dev 5, If 0, Class=Vendor Specific Class, Driver=lan78xx, 480M
            |__ Port 3: Dev 11, If 0, Class=Communications, Driver=cdc_acm, 12M
            |__ Port 3: Dev 11, If 1, Class=CDC Data, Driver=cdc_acm, _12M_

When I type "Mount" I get:

/dev/mmcblk0p2 on / type ext4 (rw,noatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=469544k,nr_inodes=117386,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)

It looks like the System does not recognize/mount/ talk with the USB-Dongle.
Please advise.

Aqara Button

Кнопка Aqara WXKG11LM добавляется нормально, но не реагирует на нажатия, только при нажатии маленькой кнопочки сброс передает данные о заряде батареи. Вот так определяется [2018-10-19 18:05:07] [ZigBee] Device announced incoming and is added, id: 0x00158d0001e893b6 [2018-10-19 18:05:09] [ZigBee] Registered device: 0x00158d0001e893b6 LUMI lumi.remote.b1acn01

Удалил кнопку. Перезагрузил бридж, при повторном добавлении ошибка [2018-10-19 18:42:25] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 3 of 3 [2018-10-19 18:42:25] [ZigBee] Device announced incoming and is added, id: 0x00158d0001e893b6 [2018-10-19 18:42:26] [ZigBee] Unrecognized device: 0x00158d0001e893b6 LUMI lumi.remote.b1acn01

Ikea TRÅDFRI

photo_2018-10-23_16-25-51
Не появляются лампы Ikea TRÅDFRI 1000lm в приложении дом

Aqara motion sensor doesn't work

дано: raspbian lite, homebridge, sprut stick, sensor (http://joxi.ru/xAeBg6jTp89yzr)
добавление проходит, но сенсор не появляется в ХБ и ХК. При срабатывании сенсор в логе ХБ пишет
[ZigBee] Received message from unknown device: 0x00158d0002006d6a

притом что розетка сяоми залетела без проблем, работает, управляется.

zigbee.db:
{"id":4,"type":"EndDevice","ieeeAddr":"0x00158d0002006d6a","nwkAddr":64637,"manufId":4151,"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":"4WWSpeMKXJkl734q"} {"id":1,"type":"Coordinator","ieeeAddr":"0x00124b0012013e66","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6],"status":"online","joinTime":1541807570,"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":"91uwy8C01VLH8Cab"} {"id":3,"type":"Router","ieeeAddr":"0x00158d0002328c4f","nwkAddr":11921,"manufId":4447,"manufName":"LUMI","powerSource":"Mains (single phase)","modelId":"lumi.plug","epList":[1,2,3,100],"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":22,"stackVersion":2,"hwVersion":18,"manufacturerName":"LUMI","modelId":"lumi.plug","dateCode":"02-28-2017","powerSource":1}},"genPowerCfg":{"dir":{"value":1},"attrs":{"mainsVoltage":2244,"mainsAlarmMask":0}},"genDeviceTempCfg":{"dir":{"value":1},"attrs":{"currentTemperature":29,"lowTempThres":55,"highTempThres":60}},"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":{"onOff":0}},"genTime":{"dir":{"value":3},"attrs":{}},"genBinaryOutput":{"dir":{"value":1},"attrs":{"activeText":"","inactiveText":"","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":{"261":0,"262":0,"maxPresentValue":0,"outOfService":0,"presentValue":0,"statusFlags":0,"applicationType":589824}}}},"3":{"profId":260,"epId":3,"devId":83,"inClusterList":[12],"outClusterList":[12],"clusters":{"genAnalogInput":{"dir":{"value":3},"attrs":{"261":0,"262":0,"maxPresentValue":0,"outOfService":0,"presentValue":0.000027561110982787795,"statusFlags":0,"applicationType":720896}}}},"100":{"profId":260,"epId":100,"devId":263,"inClusterList":[15],"outClusterList":[4,15],"clusters":{"genGroups":{"dir":{"value":2},"attrs":{}},"genBinaryInput":{"dir":{"value":3},"attrs":{}}}}},"_id":"h7H34C7YHKRy4r7V"} {"$$indexCreated":{"fieldName":"id","unique":true,"sparse":false}} {"id":1,"type":"Coordinator","ieeeAddr":"0x00124b0012013e66","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6],"status":"online","joinTime":1541807702,"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":"91uwy8C01VLH8Cab"} {"id":4,"type":"EndDevice","ieeeAddr":"0x00158d0002006d6a","nwkAddr":64637,"manufId":4151,"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":"4WWSpeMKXJkl734q"} {"id":3,"type":"Router","ieeeAddr":"0x00158d0002328c4f","nwkAddr":11921,"manufId":4447,"manufName":"LUMI","powerSource":"Mains (single phase)","modelId":"lumi.plug","epList":[1,2,3,100],"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":22,"stackVersion":2,"hwVersion":18,"manufacturerName":"LUMI","modelId":"lumi.plug","dateCode":"02-28-2017","powerSource":1}},"genPowerCfg":{"dir":{"value":1},"attrs":{"mainsVoltage":2244,"mainsAlarmMask":0}},"genDeviceTempCfg":{"dir":{"value":1},"attrs":{"currentTemperature":29,"lowTempThres":55,"highTempThres":60}},"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":{"onOff":0}},"genTime":{"dir":{"value":3},"attrs":{}},"genBinaryOutput":{"dir":{"value":1},"attrs":{"activeText":"","inactiveText":"","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":{"261":0,"262":0,"maxPresentValue":0,"outOfService":0,"presentValue":0,"statusFlags":0,"applicationType":589824}}}},"3":{"profId":260,"epId":3,"devId":83,"inClusterList":[12],"outClusterList":[12],"clusters":{"genAnalogInput":{"dir":{"value":3},"attrs":{"261":0,"262":0,"maxPresentValue":0,"outOfService":0,"presentValue":0.000027561110982787795,"statusFlags":0,"applicationType":720896}}}},"100":{"profId":260,"epId":100,"devId":263,"inClusterList":[15],"outClusterList":[4,15],"clusters":{"genGroups":{"dir":{"value":2},"attrs":{}},"genBinaryInput":{"dir":{"value":3},"attrs":{}}}}},"_id":"h7H34C7YHKRy4r7V"}

Лог установки:
[2018-11-10 02:15:23] [ZigBee] [PermitJoinAccessory] time left: 108 spinlock: false [] [2018-11-10 02:15:24] [ZigBee] [PermitJoinAccessory] time left: 107 [2018-11-10 02:15:39] [ZigBee] Received message from unknown device: 0x00158d0002006d6a [2018-11-10 02:15:39] [ZigBee] [PermitJoinAccessory] time left: 92 [2018-11-10 02:15:40] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 1 of 8 [2018-11-10 02:15:40] [ZigBee] [PermitJoinAccessory] time left: 91 [2018-11-10 02:15:40] [ZigBee] Received message from unknown device: 0x00158d0002006d6a [2018-11-10 02:15:40] [ZigBee] Received message from unknown device: 0x00158d0002006d6a [2018-11-10 02:15:40] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 2 of 8 [2018-11-10 02:15:41] [ZigBee] [PermitJoinAccessory] time left: 90 [2018-11-10 02:15:42] [ZigBee] [PermitJoinAccessory] time left: 89 [2018-11-10 02:15:43] [ZigBee] [PermitJoinAccessory] time left: 88 [2018-11-10 02:15:44] [ZigBee] [PermitJoinAccessory] time left: 87 [2018-11-10 02:15:45] [ZigBee] [PermitJoinAccessory] time left: 86 [2018-11-10 02:15:46] [ZigBee] [PermitJoinAccessory] time left: 85 [2018-11-10 02:15:46] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 3 of 8 [2018-11-10 02:15:47] [ZigBee] [PermitJoinAccessory] time left: 84 [2018-11-10 02:15:48] [ZigBee] [PermitJoinAccessory] time left: 83 [2018-11-10 02:15:49] [ZigBee] [PermitJoinAccessory] time left: 82 [2018-11-10 02:15:50] [ZigBee] [PermitJoinAccessory] time left: 81 [2018-11-10 02:15:51] [ZigBee] [PermitJoinAccessory] time left: 80 [2018-11-10 02:15:52] [ZigBee] [PermitJoinAccessory] time left: 79 [2018-11-10 02:15:52] [ZigBee] Received message from unknown device: 0x00158d0002006d6a [2018-11-10 02:15:52] [ZigBee] Received message from unknown device: 0x00158d0002006d6a [2018-11-10 02:15:53] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 4 of 8 [2018-11-10 02:15:53] [ZigBee] [PermitJoinAccessory] time left: 78 [2018-11-10 02:15:54] [ZigBee] [PermitJoinAccessory] time left: 77 [2018-11-10 02:15:55] [ZigBee] [PermitJoinAccessory] time left: 76 [2018-11-10 02:15:56] [ZigBee] [PermitJoinAccessory] time left: 75 [2018-11-10 02:15:57] [ZigBee] [PermitJoinAccessory] time left: 74 [2018-11-10 02:15:58] [ZigBee] Received message from unknown device: 0x00158d0002006d6a [2018-11-10 02:15:58] [ZigBee] Received message from unknown device: 0x00158d0002006d6a [2018-11-10 02:15:58] [ZigBee] [PermitJoinAccessory] time left: 73 [2018-11-10 02:15:59] [ZigBee] [PermitJoinAccessory] time left: 72 [2018-11-10 02:16:00] [ZigBee] [PermitJoinAccessory] time left: 71 [2018-11-10 02:16:01] [ZigBee] [PermitJoinAccessory] time left: 70 [2018-11-10 02:16:02] [ZigBee] [PermitJoinAccessory] time left: 69 [2018-11-10 02:16:03] [ZigBee] [PermitJoinAccessory] time left: 68 [2018-11-10 02:16:04] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 5 of 8 [2018-11-10 02:16:04] [ZigBee] [PermitJoinAccessory] time left: 67 [2018-11-10 02:16:05] [ZigBee] Received message from unknown device: 0x00158d0002006d6a [2018-11-10 02:16:05] [ZigBee] [PermitJoinAccessory] time left: 66 [2018-11-10 02:16:06] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 6 of 8 [2018-11-10 02:16:06] [ZigBee] [PermitJoinAccessory] time left: 65 [2018-11-10 02:16:07] [ZigBee] Received message from unknown device: 0x00158d0002006d6a [2018-11-10 02:16:07] [ZigBee] [PermitJoinAccessory] time left: 64 [2018-11-10 02:16:08] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 7 of 8 [2018-11-10 02:16:08] [ZigBee] [PermitJoinAccessory] time left: 63 [2018-11-10 02:16:09] [ZigBee] [PermitJoinAccessory] time left: 62 [2018-11-10 02:16:09] [ZigBee] Received message from unknown device: 0x00158d0002006d6a [2018-11-10 02:16:10] [ZigBee] [PermitJoinAccessory] time left: 61 [2018-11-10 02:16:10] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 8 of 8 [2018-11-10 02:16:10] [ZigBee] Device announced incoming and is added, id: 0x00158d0002006d6a [2018-11-10 02:16:12] [ZigBee] Received message from unknown device: 0x00158d0002006d6a [2018-11-10 02:16:12] [ZigBee] Unrecognized device: 0x00158d0002006d6a undefined undefined [2018-11-10 02:16:14] [ZigBee] Received message from unknown device: 0x00158d0002006d6a [2018-11-10 02:16:15] [ZigBee] Received message from unknown device: 0x00158d0002006d6a [2018-11-10 02:16:15] [ZigBee] Received message from unknown device: 0x00158d0002006d6a [2018-11-10 02:16:21] [ZigBee] Received message from unknown device: 0x00158d0002006d6a

Gledopto GL-C-008S RGBCW controller and GL-B-008ZS RGB bulb

{"id":1,"type":"Coordinator","ieeeAddr":"0x00124b00193664b2","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6],"status":"online","joinTime":1569667269,"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":"1CQ4f9cKALZPw5J4"} {"id":2,"type":"EndDevice","ieeeAddr":"0x00158d0002c8f2f8","nwkAddr":28454,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.weather","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,1026,1027,1029,65535],"outClusterList":[0,4,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"msTemperatureMeasurement":{"dir":{"value":1},"attrs":{}},"msPressureMeasurement":{"dir":{"value":1},"attrs":{}},"msRelativeHumidity":{"dir":{"value":1},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}}},"_id":"XZU01kvazhTEqeVT"} {"$$indexCreated":{"fieldName":"id","unique":true,"sparse":false}} {"id":1,"type":"Coordinator","ieeeAddr":"0x00124b00193664b2","nwkAddr":0,"manufId":0,"epList":[1,2,3,4,5,6],"status":"online","joinTime":1569755452,"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":"1CQ4f9cKALZPw5J4"} {"id":2,"type":"EndDevice","ieeeAddr":"0x00158d0002c8f2f8","nwkAddr":28454,"manufId":4151,"manufName":"LUMI","powerSource":"Battery","modelId":"lumi.weather","epList":[1],"status":"offline","joinTime":null,"endpoints":{"1":{"profId":260,"epId":1,"devId":24321,"inClusterList":[0,3,1026,1027,1029,65535],"outClusterList":[0,4,65535],"clusters":{"genBasic":{"dir":{"value":3},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":2},"attrs":{}},"msTemperatureMeasurement":{"dir":{"value":1},"attrs":{}},"msPressureMeasurement":{"dir":{"value":1},"attrs":{}},"msRelativeHumidity":{"dir":{"value":1},"attrs":{}},"manuSpecificCluster":{"dir":{"value":3},"attrs":{}}}}},"_id":"XZU01kvazhTEqeVT"} {"id":3,"type":"Router","ieeeAddr":"0x00124b001d433e24","nwkAddr":31449,"manufId":0,"epList":[11,13],"status":"online","joinTime":1569765244,"endpoints":{"11":{"profId":49246,"epId":11,"devId":528,"inClusterList":[0,3,4,5,6,8,768],"outClusterList":[],"clusters":{}},"13":{"profId":49246,"epId":13,"devId":528,"inClusterList":[4096],"outClusterList":[4096],"clusters":{}}},"_id":"0dDk1i8143harlPQ"} {"id":3,"type":"Router","ieeeAddr":"0x00124b001d433e24","nwkAddr":31449,"manufId":0,"manufName":"GLEDOPTO","powerSource":"Mains (single phase)","modelId":"GL-C-008S","epList":[11,13],"status":"online","joinTime":1569765244,"endpoints":{"11":{"profId":49246,"epId":11,"devId":528,"inClusterList":[0,3,4,5,6,8,768],"outClusterList":[],"clusters":{}},"13":{"profId":49246,"epId":13,"devId":528,"inClusterList":[4096],"outClusterList":[4096],"clusters":{}}},"_id":"0dDk1i8143harlPQ"} {"id":3,"type":"Router","ieeeAddr":"0x00124b001d433e24","nwkAddr":31449,"manufId":0,"manufName":"GLEDOPTO","powerSource":"Mains (single phase)","modelId":"GL-C-008S","epList":[11,13],"status":"online","joinTime":1569765244,"endpoints":{"11":{"profId":49246,"epId":11,"devId":528,"inClusterList":[0,3,4,5,6,8,768],"outClusterList":[],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":1},"attrs":{}},"genScenes":{"dir":{"value":1},"attrs":{}},"genOnOff":{"dir":{"value":1},"attrs":{}},"genLevelCtrl":{"dir":{"value":1},"attrs":{}},"lightingColorCtrl":{"dir":{"value":1},"attrs":{}}}},"13":{"profId":49246,"epId":13,"devId":528,"inClusterList":[4096],"outClusterList":[4096],"clusters":{"lightLink":{"dir":{"value":3},"attrs":{}}}}},"_id":"0dDk1i8143harlPQ"} {"id":4,"type":"Router","ieeeAddr":"0x00124b001eae058b","nwkAddr":60505,"manufId":0,"epList":[11,13],"status":"online","joinTime":1569769474,"endpoints":{"11":{"profId":49246,"epId":11,"devId":528,"inClusterList":[0,3,4,5,6,8,768],"outClusterList":[],"clusters":{}},"13":{"profId":49246,"epId":13,"devId":528,"inClusterList":[4096],"outClusterList":[4096],"clusters":{}}},"_id":"pei0d7hM9jFR8wWo"} {"id":4,"type":"Router","ieeeAddr":"0x00124b001eae058b","nwkAddr":60505,"manufId":0,"manufName":"GLEDOPTO","powerSource":"Mains (single phase)","modelId":"GL-B-008ZS","epList":[11,13],"status":"online","joinTime":1569769474,"endpoints":{"11":{"profId":49246,"epId":11,"devId":528,"inClusterList":[0,3,4,5,6,8,768],"outClusterList":[],"clusters":{}},"13":{"profId":49246,"epId":13,"devId":528,"inClusterList":[4096],"outClusterList":[4096],"clusters":{}}},"_id":"pei0d7hM9jFR8wWo"} {"id":4,"type":"Router","ieeeAddr":"0x00124b001eae058b","nwkAddr":60505,"manufId":0,"manufName":"GLEDOPTO","powerSource":"Mains (single phase)","modelId":"GL-B-008ZS","epList":[11,13],"status":"online","joinTime":1569769474,"endpoints":{"11":{"profId":49246,"epId":11,"devId":528,"inClusterList":[0,3,4,5,6,8,768],"outClusterList":[],"clusters":{"genBasic":{"dir":{"value":1},"attrs":{}},"genIdentify":{"dir":{"value":1},"attrs":{}},"genGroups":{"dir":{"value":1},"attrs":{}},"genScenes":{"dir":{"value":1},"attrs":{}},"genOnOff":{"dir":{"value":1},"attrs":{}},"genLevelCtrl":{"dir":{"value":1},"attrs":{}},"lightingColorCtrl":{"dir":{"value":1},"attrs":{}}}},"13":{"profId":49246,"epId":13,"devId":528,"inClusterList":[4096],"outClusterList":[4096],"clusters":{"lightLink":{"dir":{"value":3},"attrs":{}}}}},"_id":"pei0d7hM9jFR8wWo"}

How to enable permit to join?

Hi, I'm running the plugin and Homebridge normally, and the plugins successfully recognise the hardware, but now I don't know what I should do to start the pairing process (the 120 seconds). Can you provide some guide please?
Thanks a lot

Failed to install the plugin on Homebridge (Raspberry)

Hey everyone, i am not able to install the package.
Error Code of : npm install homebridge-zigbee

gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.19.75-v7+
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/node_modules/cc-znp/node_modules/serialport
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"~0.10.0"} (current: {"node":"12.13.0","npm":"6.12.0"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"~0.10.0"} (current: {"node":"12.13.0","npm":"6.12.0"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
npm WARN pi No description
npm WARN pi No repository field.
npm WARN pi No README data
npm WARN pi No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install 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!     /home/pi/.npm/_logs/2019-10-21T20_47_40_969Z-debug.log

Node -v : 12.13.0
npm -v : 6.12.0

Can anyone help me?

No Philips HUE Devices yet?

Hi,
i got a Philips Hue White Wireless Dimming Kit and wanted to pair the Dimmer and the Lamp wit my zigbee stick.
But it seems it's not support by the homebrige-zigbee plugin yet.
First i tried it with the bulb.
This one i could pair.
Here the part of the zigbee.db - maybe you can add this one

//edit: see below - attached whole db now.

But for the Dimmer i couldn't even pair. Do you know how to do this?
Model should be a RWL021

Tradfri lightbulb?

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?

Aldi MÜLLER-LICHT tint white+color LED

Hi,

thank you for your great work. Is it possible to add this Bulb to you working database? I try to find it with permit join but there is no reaction.

It ist compatible with Ikea and Osram Gateway.

Thank you

Permit join delete

Hi. I have tried to delete the plugin and reinstall it. How can I delete the permit join button? Thanks.

Can't install

У меня не получается установить через Homebridge на уже работающую малину.
Захожу в HomeBridge, нахожу плагин, нажимаю установить в новом окне висит следующий текст:
USER: pi...........] | fetchMetadata: sill resolveWithNewModule homebridge-zigb
DIR: /usr/lib/node_modules
CMD: sudo -E -n npm --no-update-notifier install --unsafe-perm homebridge-zigbee@latest

[..................] - fetchMetadata: sill resolveWithNewModule homebridge-zigb

в журнале висит такое:

[2018-10-29 10:11:55] [Config] You are using a depreciated log config format, please update your config.json to use this new format:
[2018-10-29 10:11:55] [Config] {"method":"systemd","service":"homebridge"}
pi : TTY=pts/6 ; PWD=/home/pi/.homebridge ; USER=root ; COMMAND=/bin/journalctl -o cat -n 500 -f -u homebridge
pam_unix(sudo:session): session opened for user root by (uid=0)
send hb to: 0x0000000002f5bc2f
{"id":-1,"method":"get_prop","params":["power","bright","rgb"]}

homebridge-zigbee in Docker = stuck on platform initialization

Hello,

The plugin works fine but it fails to work in Docker: in logs the plugin is stuck at platform initialization. Docker container is started with the following arguments: "docker run -t -i -d --device=/dev/ttyACM0 --restart=always --net=host"
I see ttyACM0 in /dev in container (port is in homebridge-zigbee
settings), so it should be accessible to homebridge-zigbee.
When I make auto port discovery homebridge-zigbee fails to access serial port.

Without Docker:
[2019-5-11 15:56:34] [ZigBee] Initializing ZigBeePlatform platform...
[2019-5-11 15:56:34] [ZigBee] ZigBee platform initialization
[2019-5-11 15:56:45] [ZigBee] Retrying connect to hardware
[2019-5-11 22:58:34] [ZigBee] Retrying connect to hardware
[2019-5-11 22:58:41] [ZigBee] Retrying connect to hardware
[2019-5-11 22:58:48] [ZigBee] Retrying connect to hardware
[2019-5-11 22:58:56] [ZigBee] Retrying connect to hardwaree
[2019-5-11 22:59:02] [ZigBee] ZigBee platform initialized, info:
[2019-5-11 22:59:02] [ZigBee] ------------------------------------
[2019-5-11 22:59:02] [ZigBee] channel: 11
[2019-5-11 22:59:02] [ZigBee] pan id: 0x19d2
[2019-5-11 22:59:02] [ZigBee] extended pan id: 0xdddddddddddddddd
[2019-5-11 22:59:02] [ZigBee] ieee address: 0x0xxxxxxxxxxxxxxx
[2019-5-11 22:59:02] [ZigBee] nwk address: 0
[2019-5-11 22:59:02] [ZigBee] firmware version: 2.6.3
[2019-5-11 22:59:02] [ZigBee] firmware revision: 2018090201
[2019-5-11 22:59:02] [ZigBee] ------------------------------------

In Docker:
[2019-5-11 16:23:01] [ZigBee] Initializing ZigBeePlatform platform...
[2019-5-11 16:23:01] [ZigBee] ZigBee platform initialization
and it stays like this forever.

Installation issues on Raspbian

Tried installing this, and couldnt get past issues with github access.

I installed a few other plugins fine.. this one.. since it wouldn't install without sudo had the issue of running a sudo global install i got the following.

pi@raspberrypi:~ $ sudo npm install -g --unsafe-perm homebridge-zigbee
npm ERR! code 128
npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b master git://github.com/itsmepetrov/zigbee-shepherd.git /root/.npm/_cacache/tmp/git-clone-9f676f28
npm ERR! fatal: kunde inte skapa inledande kataloger för "/root/.npm/_cacache/tmp/git-clone-9f676f28": Åtkomst nekas
npm ERR! 

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-04-11T23_26_52_215Z-debug.log

Not sure how to solve this or if this is a problem with the pi or the plugin

Device removing

@itsmepetrov Большая просьба добавить возможность удаления устройств без запуска режима спаривания на самом устройстве. Спасибо!

Not able to install plugin

When I try to install the plugin I get this error:

npm i homebridge-zigbee
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://[email protected]/itsmepetrov/zcl-id.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-12-16T19_06_49_956Z-debug.log

Using homebridge 3.0 on a raspberry pi 4.

Thanks!

Eve History for Door, Motion, Weather and Energy sensors

Hi,
I paired my Aqara devices with the homebridge via your plugin and everything is working beside the history for the sensors. In the Eve app they appear as normal sensors like the hue temperature sensor without any history data. Can you fix this or is it a problem in my configuration?
image

Build error

Hello,
I'm unable to install this plugin from Homebridge Config UI X, with following errors:

../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:41:48: error: no matching function for call to ‘v8::Value::ToString()’
v8::String::Utf8Value path(info[0]->ToString());
...........................................................
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.19.0-0.bpo.6-amd64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/lib/node_modules/homebridge-zigbee/node_modules/serialport
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"~0.10.0"} (current: {"node":"12.13.0","npm":"6.12.0"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"~0.10.0"} (current: {"node":"12.13.0","npm":"6.12.0"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]

looks like there is some old serialport version in requirements.

More Devices

Hi,

Will you add more Devices like Osram Smart LED, Plug or Philips Hue Tap etc.?

Regards

Permit Join Button missing

Hi,
I tried it several times, Every Time i install the Plugin, the permit Join Button is missing. Any idea what Happens? Any idea how to add it?

Thanks a lot

Aqara Wireless Smart Light Switch (Single button - WXKG03LM)

При добавлении этого выключателя периодически вываливаются ошибки в логе, либо добавляется как Unrecognized device. Вывод лога при добавлении:

2000x2000x_image-2

Удаление устройства и добавление снова ни к чему не приводит, как и вытаскивание батарейки.

Possibility to add a few outlets?

Hi, I'm looking into options to get outlets/ plugs to work, I tried IKEA TRADFRI Con
trol outlet, Jasco Products model 45852 lamp dimmer plug ZB3101, and Securifi Peanut plug model PP1-WHT-US.
I would love to participate in getting those to work!
Thank you!
zigbee.db.zip

Innr Plug not shown in overview

Hi, I bought an outlet from Innr, the Innr Smart Plug. I connected it to my Homebridge, and in the log output I can see that it connected successfully, and regularly it pings my outlet. But I can neither see the outlet in the web view not in the Home-App. I use the latest Homebridge, latest homebridge-zigbee and Node 10.

Can't update plugin

В вебморде при нажатии кнопки "обновить" плагин до версии 1.1.0 запускается обновление, но потом фактически показывает, что плагин не обновился.

ERROR LOADING PLUGIN homebridge-zigbee:

Hello,
after installing homebridge-zigbee with

sudo npm install -g homebridge-zigbee

i started homebridge with

sudo homebridge

and got this output.

[2019-2-20 21:15:35] Loaded config.json with 3 accessories and 4 platforms.
[2019-2-20 21:15:35] ---
[2019-2-20 21:15:35] Loaded plugin: homebridge-config-ui-x
[2019-2-20 21:15:35] Registering platform 'homebridge-config-ui-x.config'
[2019-2-20 21:15:35] ---
[2019-2-20 21:15:37] Loaded plugin: homebridge-people
[2019-2-20 21:15:37] Registering platform 'homebridge-people.People'
[2019-2-20 21:15:37] Registering accessory 'homebridge-people.PeopleAccessory'
[2019-2-20 21:15:37] Registering accessory 'homebridge-people.PeopleAllAccessory'
[2019-2-20 21:15:37] ---
[2019-2-20 21:15:37] Loaded plugin: homebridge-raspberrypi-temperature
[2019-2-20 21:15:37] Registering accessory 'homebridge-raspberrypi-temperature.RaspberryPiTemperature'
[2019-2-20 21:15:37] ---
[2019-2-20 21:15:37] Loaded plugin: homebridge-shelly
[2019-2-20 21:15:37] Registering platform 'homebridge-shelly.Shelly'
[2019-2-20 21:15:37] ---
[2019-2-20 21:15:39] Loaded plugin: homebridge-sonos
[2019-2-20 21:15:39] Registering accessory 'homebridge-sonos.Sonos'
[2019-2-20 21:15:39] ---
[2019-2-20 21:15:41] Loaded plugin: homebridge-weather-plus
[2019-2-20 21:15:41] Registering platform 'homebridge-weather-plus.WeatherPlus'
[2019-2-20 21:15:41] ---
[2019-2-20 21:15:42] Loaded plugin: homebridge-wol
[2019-2-20 21:15:42] Registering accessory 'homebridge-wol.NetworkDevice'
[2019-2-20 21:15:42] ---
[2019-2-20 21:15:42] ====================
[2019-2-20 21:15:42] ERROR LOADING PLUGIN homebridge-zigbee:
[2019-2-20 21:15:42] Error: Could not locate the bindings file. Tried:
→ /usr/local/lib/node_modules/homebridge-zigbee/node_modules/serialport/build/serialport.node
→ /usr/local/lib/node_modules/homebridge-zigbee/node_modules/serialport/build/Debug/serialport.node
→ /usr/local/lib/node_modules/homebridge-zigbee/node_modules/serialport/build/Release/serialport.node
→ /usr/local/lib/node_modules/homebridge-zigbee/node_modules/serialport/out/Debug/serialport.node
→ /usr/local/lib/node_modules/homebridge-zigbee/node_modules/serialport/Debug/serialport.node
→ /usr/local/lib/node_modules/homebridge-zigbee/node_modules/serialport/out/Release/serialport.node
→ /usr/local/lib/node_modules/homebridge-zigbee/node_modules/serialport/Release/serialport.node
→ /usr/local/lib/node_modules/homebridge-zigbee/node_modules/serialport/build/default/serialport.node
→ /usr/local/lib/node_modules/homebridge-zigbee/node_modules/serialport/compiled/9.9.0/linux/arm/serialport.node
at bindings (/usr/local/lib/node_modules/homebridge-zigbee/node_modules/bindings/bindings.js:93:9)
at Object. (/usr/local/lib/node_modules/homebridge-zigbee/node_modules/serialport/lib/bindings/linux.js:2:36)
at Module._compile (module.js:649:30)
at Object.Module._extensions..js (module.js:660:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:501:12)
at Function.Module._load (module.js:493:3)
at Module.require (module.js:593:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/homebridge-zigbee/node_modules/serialport/lib/bindings/auto-detect.js:16:22)
[2019-2-20 21:15:43] ====================
[2019-2-20 21:15:43] Loading 4 platforms...
[2019-2-20 21:15:43] [WeatherPlus] Initializing WeatherPlus platform...
[2019-2-20 21:15:43] [WeatherPlus] Initializing platform accessory 'Now'...
[2019-2-20 21:15:43] [Config] Initializing config platform...
[2019-2-20 21:15:43] [Config] Spawning homebridge-config-ui-x with PID 4004
[2019-2-20 21:15:43] [Shelly] Initializing Shelly platform...

/usr/local/lib/node_modules/homebridge/lib/api.js:122
throw new Error("The requested platform '" + name + "' was not registered by any plugin.");
^
Error: The requested platform 'ZigBeePlatform' was not registered by any plugin.
at API.platform (/usr/local/lib/node_modules/homebridge/lib/api.js:122:13)
at Server._loadPlatforms (/usr/local/lib/node_modules/homebridge/lib/server.js:316:45)
at Server.run (/usr/local/lib/node_modules/homebridge/lib/server.js:86:36)
at module.exports (/usr/local/lib/node_modules/homebridge/lib/cli.js:45:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:649:30)
at Object.Module._extensions..js (module.js:660:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:501:12)
at Function.Module._load (module.js:493:3)

i don't know what all this has to say.
Before i installed the homebridge-zigbee plugin my homebridge was running fine. Maybe some of you know what to do on first sight. 😄
i appreciate every tip and help.

Aqara Light Bulb

[12/28/2019, 11:10:44 AM] [ZigBee] Retrying connect to hardware
[12/28/2019, 11:10:51 AM] [ZigBee] Retrying connect to hardware
[12/28/2019, 11:10:58 AM] [ZigBee] Retrying connect to hardware
[12/28/2019, 11:11:05 AM] [ZigBee] Retrying connect to hardware
[12/28/2019, 11:11:12 AM] [ZigBee] Retrying connect to hardware
[12/28/2019, 11:11:18 AM] [ZigBee] ZigBee platform initialized, info:
[12/28/2019, 11:11:18 AM] [ZigBee] ------------------------------------
[12/28/2019, 11:11:18 AM] [ZigBee] channel: 11
[12/28/2019, 11:11:18 AM] [ZigBee] pan id: 0x5430
[12/28/2019, 11:11:18 AM] [ZigBee] extended pan id: 0xdddddddddddddddd
[12/28/2019, 11:11:18 AM] [ZigBee] ieee address: 0x00124b00193e50db
[12/28/2019, 11:11:18 AM] [ZigBee] nwk address: 0
[12/28/2019, 11:11:18 AM] [ZigBee] firmware version: 2.6.3
[12/28/2019, 11:11:18 AM] [ZigBee] firmware revision: 2018090201
[12/28/2019, 11:11:18 AM] [ZigBee] ------------------------------------
[12/28/2019, 11:11:18 AM] [ZigBee] Unrecognized device: 0x00158d0002c65f0d LUMI lumi.light.aqcn02
spinlock: false []
[12/28/2019, 11:11:50 AM] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 1 of 17
[12/28/2019, 11:11:50 AM] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 2 of 17
[12/28/2019, 11:11:50 AM] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 3 of 17
[12/28/2019, 11:11:50 AM] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 4 of 17
[12/28/2019, 11:11:50 AM] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 5 of 17
[12/28/2019, 11:11:50 AM] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 6 of 17
[12/28/2019, 11:11:50 AM] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 7 of 17
[12/28/2019, 11:11:50 AM] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 8 of 17
[12/28/2019, 11:11:50 AM] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 9 of 17
[12/28/2019, 11:11:50 AM] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 10 of 17
[12/28/2019, 11:11:50 AM] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 11 of 17
[12/28/2019, 11:11:50 AM] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 12 of 17
[12/28/2019, 11:11:51 AM] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 13 of 17
[12/28/2019, 11:11:51 AM] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 14 of 17
[12/28/2019, 11:11:51 AM] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 15 of 17
[12/28/2019, 11:11:51 AM] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 16 of 17
[12/28/2019, 11:11:51 AM] [ZigBee] Join progress: interview endpoint 1 of 1 and cluster 17 of 17
[12/28/2019, 11:11:51 AM] [ZigBee] Device announced incoming and is added, id: 0x00158d0002c65f0d
[12/28/2019, 11:11:52 AM] [ZigBee] Unrecognized device: 0x00158d0002c65f0d LUMI lumi.light.aqcn02
[12/28/2019, 11:12:18 AM] [ZigBee] [RouterPolling] ping device: 0x00158d0002c65f0d
[12/28/2019, 11:13:18 AM] [ZigBee] [RouterPolling] ping device: 0x00158d0002c65f0d
[12/28/2019, 11:14:18 AM] [ZigBee] [RouterPolling] ping device: 0x00158d0002c65f0d

Instillation Issue

I cant get this to install keep getting the following error:

41 error path git
42 error code ENOENT
43 error errno ENOENT
44 error syscall spawn git
45 error enoent Error while executing:
45 error enoent undefined ls-remote -h -t ssh://[email protected]/itsmepetrov/zcl-id.git
45 error enoent
45 error enoent
45 error enoent spawn git ENOENT
46 error enoent This is related to npm not being able to find a file.
47 verbose exit [ 1, true ]

Osram Smart Plug

Please add Support for osram
Unrecognized device: 0x84182600000b4667 OSRAM Plug 01
Thanks

Aqara Wireless Smart Switch (WXKG12LM)

Данная квадратная кнопка не распознается СпрутСтиком, добавляется как Unrecognized device.
Лог при добавлении устройства в Бридж:

2000x2000x_image

"Permit Join" Switch not visible

Hello everyone!

I'm at a loss by now, I'm new to all this stuff and I've been trying to solve this problem for 5 hours now, but I still haven't found the solution. I've read similar issues on this Git to find a solution, but no luck so far.

I can't see the "Permit Join" switch in my Home app.

I'm running Homebridge in Docker, I installed Homebridge-Zigbee through the UI. In the settings for Homebridge-Zigbee I've pointed the port to /dev/ttyACM0.

This is what I get when I start Homebridge:
[code]8/31/2019, 1:17:49 PM] Loaded config.json with 0 accessories and 2 platforms.
[8/31/2019, 1:17:49 PM] ---
[8/31/2019, 1:17:49 PM] Loaded plugin: homebridge-dummy
[8/31/2019, 1:17:49 PM] Registering accessory 'homebridge-dummy.DummySwitch'
[8/31/2019, 1:17:49 PM] ---
[8/31/2019, 1:17:50 PM] Loaded plugin: homebridge-nest
[8/31/2019, 1:17:50 PM] Registering platform 'homebridge-nest.Nest'
[8/31/2019, 1:17:50 PM] ---
[8/31/2019, 1:17:51 PM] [Config] Homebridge Config UI X v4.6.1 is listening on :: port 8080
[8/31/2019, 1:17:51 PM] Loaded plugin: homebridge-zigbee
[8/31/2019, 1:17:51 PM] Registering platform 'homebridge-zigbee.ZigBeePlatform'
[8/31/2019, 1:17:51 PM] ---
[8/31/2019, 1:17:51 PM] Loaded plugin: homebridge-config-ui-x
[8/31/2019, 1:17:51 PM] Registering platform 'homebridge-config-ui-x.config'
[8/31/2019, 1:17:51 PM] ---
[8/31/2019, 1:17:51 PM] Loading 2 platforms...
[8/31/2019, 1:17:51 PM] [Nest] Initializing Nest platform...
[8/31/2019, 1:17:51 PM] [Nest] Fetching Nest devices.
[8/31/2019, 1:17:51 PM] [ZigBee] Initializing ZigBeePlatform platform...
[8/31/2019, 1:17:51 PM] [ZigBee] ZigBee platform initialization
[8/31/2019, 1:17:51 PM] Loading 0 accessories...
[8/31/2019, 1:17:53 PM] [Nest] initing thermostat "Family Room": device[/code]

I read in a different issue that I should edit file Docker-Compose.yaml, but I cannot find this file anywhere. This might be the solution, but I am unable to locate the file.

Any suggestions?

Device unpaired and disapeared randomly

Hi,
homebridge-zigbee unpaired my device without me prompting it. I was not even using homebridge in any way at that time.
Any idea how to prevent this? Device should never just disappear on its own even if its inaccessible.

Oct 31 06:35:56 nc-nas1 homebridge[30885]: [10/31/2019, 6:35:56 AM] [ZigBee] Unpairing device: 0x00158d0003fb7337
Oct 31 06:36:06 nc-nas1 homebridge[30885]: [10/31/2019, 6:36:06 AM] [ZigBee] Unable to unpairing properly, trying to unregister device: 0x00158d0003fb7337
Oct 31 06:36:06 nc-nas1 homebridge[30885]: [10/31/2019, 6:36:06 AM] [ZigBee] Device has been unpaired: 0x00158d0003fb7337

how to add devices?

How would I start to add devices? Actually I have got an Ikea Trådfri windows blind...
Is there any documentation or experimental approach?

Rgrds,
Thomas

Не добавляется Aqara bulb

После переустановки homebridge на node 11 не смог добавить в Дом. пробовал откатить на node 10, тоже самое. До этого работали отлично. Спасибо за Ваш труд!

33B4CACA-CEFF-42A8-925C-DA7E6ADB6427

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.