Hi bin genau dieser anleitung gefolgt https://www.zigbee2mqtt.io/getting_started/running_zigbee2mqtt.html (https://www.zigbee2mqtt.io/getting_started/running_zigbee2mqtt.html) nun aber mein problem wenn ich npm start mache bekomme ich diese Meldungpi@raspberrypi:/opt/zigbee2mqtt $ npm start
> zigbee2mqtt@1.14.1 start /opt/zigbee2mqtt
> node index.js
zigbee2mqtt:info 2020-07-24 13:20:57: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2020-07-24.13-20-57' filename: log.txt
zigbee2mqtt:info 2020-07-24 13:20:58: Starting zigbee2mqtt version 1.14.1 (commit #f26791a)
zigbee2mqtt:info 2020-07-24 13:20:58: Starting zigbee-herdsman...
zigbee2mqtt:error 2020-07-24 13:20:58: Error while starting zigbee-herdsman
zigbee2mqtt:error 2020-07-24 13:20:58: Failed to start zigbee
zigbee2mqtt:error 2020-07-24 13:20:58: Exiting...
zigbee2mqtt:error 2020-07-24 13:20:58: Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'
at Znp.<anonymous> (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:123:32)
at Generator.next (<anonymous>)
at /opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:8:71
at new Promise (<anonymous>)
at __awaiter (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:4:12)
at SerialPort.<anonymous> (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:121:49)
at SerialPort._error (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)
at /opt/zigbee2mqtt/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! zigbee2mqtt@1.14.1 start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zigbee2mqtt@1.14.1 start 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/2020-07-24T11_20_58_617Z-debug.log
das ist meine configuration.yaml
homeassistant: false
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://localhost'
serial:
port: /dev/ttyUSB.CC2531-01
advanced:
log_level: debug
network_key: GENERATE
devices:
'0x00158d0002ca0960':
friendly_name: '0x00158d0002ca0960'
'0x00158d0002c9d15e':
friendly_name: '0x00158d0002c9d15e'
der port bei mir sieht so aus weil ich durch lesen der FAQ hab ich /etc/udev/rules.d/99-usb-serial.rules geändert
/etc/udev/rules.d/99-usb-serial.rules
und so sieht meine 99-usb-serial.rules aus
SUBSYSTEM=="tty", ATTRS{idVendor}=="0451", ATTRS{idProduct}=="16a8", ATTRS{serial}=="__0X00124B0014D9AF63", SYMLINK="ttyUSB.CC2531-01", OWNER="pi"
pi@raspberrypi:/opt/zigbee2mqtt $ udevadm info -a -n /dev/ttyACM0 | grep 'serial'
ATTRS{serial}=="__0X00124B0014D9AF63"
ATTRS{serial}=="3f980000.usb"
Willkommen im Forum.
1. Bitte keine Doppelposts (https://forum.fhem.de/index.php/topic,113093.0.html) (=möglichst löschen, in jedem Fall aber schließen (ja, das kannst du selbst!)).
2. Fragen zur Installation von zigbee2mqtt sind besser im dortigen Forum aufgehoben.
3. Vermutlich stimmt was nicht mit den Berechtigungen, laß mal das mit pi in der udevrule weg.