Comments (9)
And try to install the plugin from github, I've added a lot of changes so maybe it will help
Installed from github with:
npm i -g git+https://github.com/itsmepetrov/homebridge-zigbee#master --unsafe-perm
You can try to log
config
param here https://github.com/itsmepetrov/homebridge-zigbee/blob/master/lib/zigbee.js#L10It might have the wrong port
Looks good to me:
Feb 13 15:31:44 homebridge homebridge[1854]: config { port: '/dev/ttyACM0',
Feb 13 15:31:44 homebridge homebridge[1854]: db: '/var/lib/homebridge/zigbee.db',
Feb 13 15:31:44 homebridge homebridge[1854]: panId: 65535,
Feb 13 15:31:44 homebridge homebridge[1854]: channel: 11 }
You need to run homebridge with DEBUG=* env variable
Perfect thnx.
I've figured out the problem.
The user homebridge
which was launching the process was not in the dialout
group and therefore couldn't access the Serial Port.
Feb 13 15:38:53 homebridge homebridge[2023]: 2019-02-13T15:38:53.431Z serialport:main opening path: /dev/ttyACM0
Feb 13 15:38:53 homebridge homebridge[2023]: 2019-02-13T15:38:53.434Z serialport:bindings open
Feb 13 15:38:53 homebridge homebridge[2023]: 2019-02-13T15:38:53.448Z serialport:main _read queueing _read for after open
Feb 13 15:38:53 homebridge homebridge[2023]: 2019-02-13T15:38:53.488Z serialport:main Binding #open had an error Error: Error: Permission denied, cannot open /dev/ttyACM0
Once I've added the user to the dialout
group it worked.
Thanks for your help, the issue is closed.
from homebridge-zigbee.
Hi @NilsBohr
You can try to specify port
to usb stick manually, maybe port auto-detection doesn't work on your environment
from homebridge-zigbee.
Hello @itsmepetrov
Sorry, I forgot to mention.
I tried both to specify port
(as "/dev/ttyACM0") and to rely on auto-detection. The result is the same.
from homebridge-zigbee.
Do you try it in docker? I remember I had similar problems with docker.
from homebridge-zigbee.
and did you flash the stick with the appropriate firmware?
from homebridge-zigbee.
Do you try it in docker? I remember I had similar problems with docker.
No this is regular Armbian OS on an embedded PC.
and did you flash the stick with the appropriate firmware?
Yes, as said earlier, the stick is flashed, and I tried to launch zigbee-shepherd
as a separate process. Works as expected.
Do you know a way to enable zigbee-shepherd
debug messaging from within the homebridge-zigbee environment to study the issue further?
from homebridge-zigbee.
You need to run homebridge with DEBUG=* env variable
from homebridge-zigbee.
You can try to log config
param here https://github.com/itsmepetrov/homebridge-zigbee/blob/master/lib/zigbee.js#L10
It might have the wrong port
from homebridge-zigbee.
And try to install the plugin from github, I've added a lot of changes so maybe it will help
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.