Replies: 19 comments 18 replies
-
|
No help????? |
Beta Was this translation helpful? Give feedback.
-
|
i assume this is a new fresh install? if so try
this package is prevent z2m to access to your Stick and please be patient next time - pushing your Problem after 10hrs waiting is not really useful! |
Beta Was this translation helpful? Give feedback.
-
|
rob@NUC5-Rob:~$ sudo apt remove brltty --purge Pakket 'brltty' is niet geïnstalleerd, en wordt dus niet verwijderd -> not installed so not removed. |
Beta Was this translation helpful? Give feedback.
-
|
Strange, npm start cannot access the port, zigbee to domoticz runs with no problem |
Beta Was this translation helpful? Give feedback.
-
|
Yes |
Beta Was this translation helpful? Give feedback.
-
|
you have to add your User to the Group
|
Beta Was this translation helpful? Give feedback.
-
|
ok have to try again, all these things I did, but it seems these rights do not hold for ever |
Beta Was this translation helpful? Give feedback.
-
|
plain Debian 11 |
Beta Was this translation helpful? Give feedback.
-
|
okay lets Start from the Beginning:
something similar to this
show the Output from
please show all your Output from my posted cmd's |
Beta Was this translation helpful? Give feedback.
-
|
Ok will in 2 hours |
Beta Was this translation helpful? Give feedback.
-
|
last thaught - are you aware that the configuration.yaml is very case sensitive? one space too much in order will prevent z2m from starting please post your config with "code" "<>" Tags |
Beta Was this translation helpful? Give feedback.
-
|
have you worked out all suggestions from z2m Website if it failes to start? deinstall ModemManager -> https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html#modemmanager-is-installed
and disable hciuart? -> https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html#hciuart-is-running
like your Groups there is many Software installed who is likely one that preventing z2m to accessing the USB Port |
Beta Was this translation helpful? Give feedback.
-
|
npm is a long time busy and now is the error:Error: Coordinator failed to start, probably the panID is already in use, try a different panID or channel, pfffffff |
Beta Was this translation helpful? Give feedback.
-
|
Zigbee2MQTT:info 2023-02-05 16:16:01: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2023-02-05.16-16-01' filename: log.txt |
Beta Was this translation helpful? Give feedback.
-
|
Changing to fixed PanID |
Beta Was this translation helpful? Give feedback.
-
|
so deinstall ModemManager and disable hciuart was successfull? |
Beta Was this translation helpful? Give feedback.
-
|
Thanks lux73 for helping me out. Two problems kept me from using Zigbee2Mqtt, first using the port. Problem was 3x, zigbee2mqtt using the port while starting npm, zigbee for domoticz using the port, and 3th no access by local user. |
Beta Was this translation helpful? Give feedback.
-
|
I switched to Ubuntu because debian 11 is not very stable and trustworthy I noticed. So all the things I learned that would go wrong above happend with Ubuntu too, ttyUSB0 to user, and PanId static. So no problem to have npm start running with no error in minutes. |
Beta Was this translation helpful? Give feedback.
-
|
How did you fix the fact that the port was busy? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Zigbee2MQTT:info 2023-01-31 11:42:05: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2023-01-31.11-42-05' filename: log.txt
Zigbee2MQTT:info 2023-01-31 11:42:05: Starting Zigbee2MQTT version 1.29.2 (commit #14021395)
Zigbee2MQTT:info 2023-01-31 11:42:05: Starting zigbee-herdsman (0.14.83-hotfix.0)
Zigbee2MQTT:error 2023-01-31 11:42:07: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-01-31 11:42:07: Failed to start zigbee
Zigbee2MQTT:error 2023-01-31 11:42:07: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-01-31 11:42:07: Exiting...
Zigbee2MQTT:error 2023-01-31 11:42:07: Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'
at SerialPort. (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28)
at SerialPort._error (/opt/zigbee2mqtt/node_modules/@serialport/stream/dist/index.js:76:22)
at /opt/zigbee2mqtt/node_modules/@serialport/stream/dist/index.js:112:18
rob@NUC5-Rob:/opt/zigbee2mqtt$ test -w /dev/ttyUSB0 && echo success || echo failure
success
No access
rob@NUC5-Rob:/opt/zigbee2mqtt$ ls -l /proc/[0-9]/fd/ |grep /dev/ttyUSB0
ls: kan map '/proc/1/fd/' niet openen: Toegang geweigerd
ls: kan map '/proc/2/fd/' niet openen: Toegang geweigerd
ls: kan map '/proc/3/fd/' niet openen: Toegang geweigerd
ls: kan map '/proc/4/fd/' niet openen: Toegang geweigerd
ls: kan map '/proc/6/fd/' niet openen: Toegang geweigerd
ls: kan map '/proc/8/fd/' niet openen: Toegang geweigerd
ls: kan map '/proc/9/fd/' niet openen: Toegang geweigerd
With sudo Access
rob@NUC5-Rob:/opt/zigbee2mqtt$ sudo ls -l /proc/[0-9]/fd/ |grep /dev/ttyUSB0
rob@NUC5-Rob:/opt/zigbee2mqtt$ ls -l /dev/serial/by-id
totaal 0
lrwxrwxrwx 1 root root 13 31 jan 11:24 usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_ce24f433c4c9eb11bc9e914f1d69213e-if00-port0 -> ../../ttyUSB0
https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html#method-1-give-your-user-permissions-on-every-reboot
[No solution]
Any help, take me hours brings me no further
Beta Was this translation helpful? Give feedback.
All reactions