Comments (9)
Hi, I have the same issue (exact same log output) but my Aqara switch is the two button version (WXKG02LM).
Also, as soon as the error occurs, the "Permit Join" switch off before the timeout.
@itsmepetrov do you need any more details to help us resolve the issue?
Thank you very much for your time and help!
from homebridge-zigbee.
Hi @BastienClermont, it's known issue. The main problem is that the issue occurs form another library which has a lot of legacy code, my plan is to refactor it step by step, and this issue is number one in my list of refactoring. I'm currently on vacation, but right after that I'm going to fix it completely.
As for now I can recommend you to try to add your device until it starts working.
from homebridge-zigbee.
I tried to restart Homebridge and run it as a service using pm2 and without monitoring the log, and as soon as I restarted Homebridge, the switch was successfully registered as lumi.sensor_86sw2Un.
Thanks for your quick answer and have a good vacation.
Hey, could you please describe your exact way to handle this problem. I have the same error message and can't think of a way to add this switch.
from homebridge-zigbee.
I tried to restart Homebridge and run it as a service using pm2 and without monitoring the log, and as soon as I restarted Homebridge, the switch was successfully registered as lumi.sensor_86sw2Un.
Thanks for your quick answer and have a good vacation.
from homebridge-zigbee.
удалить плагин Homebridge Zigbee через ui homebridge и переустановить через ssh
- sudo chmod -R 777 /usr/lib/node_modules
- npm i -g git+https://github.com/itsmepetrov/homebridge-zigbee#master --unsafe-perm
from homebridge-zigbee.
удалить плагин Homebridge Zigbee через ui homebridge и переустановить через ssh
sudo chmod -R 777 /usr/lib/node_modules
npm i -g git+https://github.com/itsmepetrov/homebridge-zigbee#master --unsafe-perm
попробовал, выдало кучу ошибок, что не так? `npm ERR! path /home/pi/.npm/_cacache/index-v5/0c/bb
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall mkdir
npm ERR! Error: EACCES: permission denied, mkdir '/home/pi/.npm/_cacache/index-v5/0c/bb'
npm ERR! { [OperationalError: EACCES: permission denied, mkdir '/home/pi/.npm/_cacache/index-v5/0c/bb']
npm ERR! cause:
npm ERR! { [Error: EACCES: permission denied, mkdir '/home/pi/.npm/_cacache/index-v5/0c/bb']
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/home/pi/.npm/_cacache/index-v5/0c/bb' },
npm ERR! isOperational: true,
npm ERR! stack:
npm ERR! "Error: EACCES: permission denied, mkdir '/home/pi/.npm/_cacache/index-v5/0c/bb'",
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/home/pi/.npm/_cacache/index-v5/0c/bb',
npm ERR! parent: 'homebridge-zigbee' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2019-08-26T05_45_22_080Z-debug.log`
from homebridge-zigbee.
Ошибка связанная с доступом, можно попробовать вторую команду через sudo. Команды вводить по очереди, а не вместе
from homebridge-zigbee.
Ошибка связанная с доступом, можно попробовать вторую команду через sudo. Команды вводить по очереди, а не вместе
ввожу по отдельности
через sudo тоже лезет ERR
pi@raspberrypi:~ $ sudo chmod -R 777 /usr/lib/node_modules
pi@raspberrypi:~ $ sudo npm i -g git+https://github.com/itsmepetrov/homebridge-zigbee#master --unsafe-perm
npm ERR! code 128
npm ERR! Command failed: git clone --depth=1 -q -b master https://github.com/itsmepetrov/homebridge-zigbee.git /root/.npm/_cacache/tmp/git-clone-150fe1f5
npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-150fe1f5': Permission denied
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-08-26T06_19_35_314Z-debug.log
pi@raspberrypi:~ $
from homebridge-zigbee.
получилось через sudo sudo.
2-ух клавишный выключатель появился, а розетка теперь не хочет конектиться :(
from homebridge-zigbee.
Related Issues (20)
- Eve History for Door, Motion, Weather and Energy sensors
- Conbee 2 USB Stick Issue HOT 4
- Tradfri lightbulb? HOT 3
- Osram Smart+ Plug HOT 3
- Gledopto GL-C-008S RGBCW controller and GL-B-008ZS RGB bulb HOT 12
- Failed to install the plugin on Homebridge (Raspberry) HOT 1
- Build error HOT 7
- Device unpaired and disapeared randomly HOT 4
- Permit join delete HOT 3
- homebridge-zigbee needs to be updated for Node v12 HOT 27
- Innr Plug not shown in overview HOT 4
- Aqara Vibration Sensor
- Not able to install plugin HOT 1
- Aqara Light Bulb HOT 2
- Still not able to install plugin HOT 2
- Add Aquara B1 motor pls
- Unhandled Rejection TypeError: Serialport .list no longer takes a callback and only returns a promise
- OSRAM Smart+ LED
- Dimmer switch like the EcoDIM 07 Zigbee
- Support for latest version of Homebridge and Homebridge Config UI X
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-zigbee.