GithubHelp home page GithubHelp logo

Comments (9)

BastienClermont avatar BastienClermont commented on August 27, 2024 1

Hi, I have the same issue (exact same log output) but my Aqara switch is the two button version (WXKG02LM).
screenshot 2019-01-05 at 01 07 48
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.

itsmepetrov avatar itsmepetrov commented on August 27, 2024 1

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.

edelmaca avatar edelmaca commented on August 27, 2024 1

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.

BastienClermont avatar BastienClermont commented on August 27, 2024

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.

denis86111 avatar denis86111 commented on August 27, 2024

удалить плагин Homebridge Zigbee через ui homebridge и переустановить через ssh

  1. sudo chmod -R 777 /usr/lib/node_modules
  2. npm i -g git+https://github.com/itsmepetrov/homebridge-zigbee#master --unsafe-perm

from homebridge-zigbee.

Sanderworlds avatar Sanderworlds commented on August 27, 2024

удалить плагин 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.

denis86111 avatar denis86111 commented on August 27, 2024

Ошибка связанная с доступом, можно попробовать вторую команду через sudo. Команды вводить по очереди, а не вместе

from homebridge-zigbee.

Sanderworlds avatar Sanderworlds commented on August 27, 2024

Ошибка связанная с доступом, можно попробовать вторую команду через 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.

Sanderworlds avatar Sanderworlds commented on August 27, 2024

получилось через sudo sudo.
2-ух клавишный выключатель появился, а розетка теперь не хочет конектиться :(

from homebridge-zigbee.

Related Issues (20)

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.