NEWS
zigbee Adapter startet nicht "unavailable Cannot lock port"
-
[Sun Jun 30 18:36:24 2024] usb 1-1.4: USB disconnect, device number 4 [Sun Jun 30 18:36:59 2024] usb 1-1.4: new full-speed USB device number 5 using xhci_hcd [Sun Jun 30 18:36:59 2024] usb 1-1.4: New USB device found, idVendor=0451, idProduct=16c8, bcdDevice= 1.00 [Sun Jun 30 18:36:59 2024] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [Sun Jun 30 18:36:59 2024] usb 1-1.4: Product: CC2538 USB CDC [Sun Jun 30 18:36:59 2024] usb 1-1.4: Manufacturer: Texas Instruments [Sun Jun 30 18:36:59 2024] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM deviceDer service ist ausgeknipst?
sudo systemctl status ModemManager.servicesagt?
Kiste mal neugestartet?
-
Hallo,
ich brauche mal eure Hilfe, ich bekomme Zigbee nicht mehr zum laufen, der Adapter bleibt gelb.
Als Stick habe ich den CC2538.
Folgende Fehlermeldung kommt zum Start:2024-06-30 16:22:03.776 - info: host.pi "system.adapter.zigbee.0" enabled 2024-06-30 16:22:04.696 - info: host.pi instance system.adapter.zigbee.0 started with pid 4896 2024-06-30 16:22:09.529 - info: zigbee.0 (4896) starting. Version 1.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.15.0, js-controller: 6.0.5 2024-06-30 16:22:09.627 - info: zigbee.0 (4896) delete old Backup files. keep only last 10 2024-06-30 16:22:09.630 - info: zigbee.0 (4896) Starting Zigbee npm ... 2024-06-30 16:22:09.988 - info: zigbee.0 (4896) Installed Version: iobroker.zigbee@1.10.3 2024-06-30 16:22:44.649 - error: zigbee.0 (4896) Starting zigbee-herdsman problem : "network commissioning failed - timed out waiting for nib to settle" 2024-06-30 16:22:44.650 - error: zigbee.0 (4896) Failed to start Zigbee 2024-06-30 16:22:44.651 - error: zigbee.0 (4896) Error herdsman start 2024-06-30 16:22:54.652 - info: zigbee.0 (4896) Try to reconnect. 1 attempts left 2024-06-30 16:22:54.653 - info: zigbee.0 (4896) Starting Zigbee npm ... 2024-06-30 16:22:54.668 - info: zigbee.0 (4896) Installed Version: iobroker.zigbee@1.10.3 2024-06-30 16:22:54.822 - error: zigbee.0 (4896) Starting zigbee-herdsman problem : "Error Resource temporarily unavailable Cannot lock port" 2024-06-30 16:22:54.823 - error: zigbee.0 (4896) Failed to start Zigbee 2024-06-30 16:22:54.824 - error: zigbee.0 (4896) Error herdsman startHier sehe ich auch keine Auffälligkeiten::
iob diag:
Skript v.2024-05-22 *** BASE SYSTEM *** Static hostname: pi Icon name: computer Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.6.31+rpt-rpi-v8 Architecture: arm64 Model : Raspberry Pi 4 Model B Rev 1.1 Docker : false Virtualization : none Kernel : aarch64 Userland : 64 bit Systemuptime and Load: 16:31:31 up 2:04, 2 users, load average: 0.20, 0.32, 0.34 CPU threads: 4 *** RASPBERRY THROTTLING *** Current issues: No throttling issues detected. Previously detected issues: No throttling issues detected. *** Time and Time Zones *** Local time: Sun 2024-06-30 16:31:31 CEST Universal time: Sun 2024-06-30 14:31:31 UTC RTC time: n/a Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': andre HOME=/home/andre GROUPS=andre adm dialout cdrom sudo audio video plugdev games users input render netdev gpio i2c spi iobroker User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video plugdev bluetooth gpio i2c *** Display-Server-Setup *** Display-Server: false Desktop: Terminal: tty Boot Target: multi-user.target *** MEMORY *** total used free shared buff/cache available Mem: 4.0G 1.5G 1.7G 1.2M 839M 2.5G Swap: 209M 0B 209M Total: 4.2G 1.5G 1.9G Active iob-Instances: 21 3792 M total memory 1419 M used memory 1408 M active memory 593 M inactive memory 1648 M free memory 60 M buffer memory 739 M swap cache 199 M total swap 0 M used swap 199 M free swap *** top - Table Of Processes *** top - 16:31:31 up 2:04, 2 users, load average: 0.20, 0.32, 0.34 Tasks: 188 total, 1 running, 187 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.0 us, 20.0 sy, 0.0 ni, 80.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 3792.1 total, 1648.5 free, 1420.1 used, 800.3 buff/cache MiB Swap: 200.0 total, 200.0 free, 0.0 used. 2372.0 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 1.6G 0 1.6G 0% /dev tmpfs tmpfs 380M 1.2M 379M 1% /run /dev/mmcblk0p2 ext4 29G 5.4G 22G 20% / tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs tmpfs 5.0M 16K 5.0M 1% /run/lock /dev/mmcblk0p1 vfat 510M 64M 447M 13% /boot/firmware tmpfs tmpfs 380M 0 380M 0% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Sun Jun 30 14:26:47 2024] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 smsc95xx.macaddr=DC:A6:32:5B:71:67 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=92008878-02 rootfstype=ext4 fsck.repair=yes rootwait [Sun Jun 30 14:26:54 2024] EXT4-fs (mmcblk0p2): mounted filesystem 93c89e92-8f2e-4522-ad32-68faed883d2f ro with ordered data mode. Quota mode: none. [Sun Jun 30 14:26:56 2024] EXT4-fs (mmcblk0p2): re-mounted 93c89e92-8f2e-4522-ad32-68faed883d2f r/w. Quota mode: none. Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/mmcblk0p2 ext4 rw,noatime,commit=600 |-/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime | |-/sys/fs/cgroup cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot | |-/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime | |-/sys/fs/bpf bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 | |-/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/tracing tracefs tracefs rw,nosuid,nodev,noexec,relatime | |-/sys/fs/fuse/connections fusectl fusectl rw,nosuid,nodev,noexec,relatime | `-/sys/kernel/config configfs configfs rw,nosuid,nodev,noexec,relatime |-/proc proc proc rw,relatime | `-/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=2015 | `-/proc/sys/fs/binfmt_misc binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime |-/dev udev devtmpfs rw,nosuid,relatime,size=1671308k,nr_inodes=417827,mode=755 | |-/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 | |-/dev/shm tmpfs tmpfs rw,nosuid,nodev | `-/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime |-/run tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=388308k,mode=755 | |-/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k | |-/run/credentials/systemd-sysctl.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700 | |-/run/credentials/systemd-sysusers.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700 | |-/run/credentials/systemd-tmpfiles-setup-dev.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700 | |-/run/rpc_pipefs sunrpc rpc_pipefs rw,relatime | |-/run/credentials/systemd-tmpfiles-setup.service ramfs ramfs ro,nosuid,nodev,noexec,relatime,mode=700 | `-/run/user/1000 tmpfs tmpfs rw,nosuid,nodev,relatime,size=388304k,nr_inodes=97076,mode=700,uid=1000,gid=1000 `-/boot/firmware /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro Files in neuralgic directories: /var: 639M /var/ 206M /var/cache 200M /var/cache/apt 165M /var/lib 133M /var/lib/apt/lists Archived and active journals take up 68.0M in the file system. /opt/iobroker/backups: 7.8M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 643M /opt/iobroker/iobroker-data/ 582M /opt/iobroker/iobroker-data/files 299M /opt/iobroker/iobroker-data/files/javascript.admin 265M /opt/iobroker/iobroker-data/files/javascript.admin/static 264M /opt/iobroker/iobroker-data/files/javascript.admin/static/js The five largest files in iobroker-data are: 57M /opt/iobroker/iobroker-data/objects.jsonl 38M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.d3d286bd.js.map 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map 27M /opt/iobroker/iobroker-data/files/backitup.admin/static/js/main.7beaba8e.js.map 24M /opt/iobroker/iobroker-data/files/scenes.admin/static/js/main.1e6546bb.js.map USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id': /dev/serial/by-id/usb-Texas_Instruments_CC2538_USB_CDC-if00 Your zigbee.0 COM-Port is matching 'by-id'. Very good! *** NodeJS-Installation *** /usr/bin/nodejs v20.15.0 /usr/bin/node v20.15.0 /usr/bin/npm 10.7.0 /usr/bin/npx 10.7.0 /usr/bin/corepack 0.28.1 nodejs: Installed: 20.15.0-1nodesource1 Candidate: 20.15.0-1nodesource1 Version table: *** 20.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 100 /var/lib/dpkg/status 20.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.11.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.8.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.6.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.3.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 20.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main arm64 Packages 18.19.0+dfsg-6~deb12u2 500 500 http://deb.debian.org/debian bookworm/main arm64 Packages 18.19.0+dfsg-6~deb12u1 500 500 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 6.0.5 admin: 7.0.7 javascript: 8.6.0 nodejs modules from github: 1 +-- iobroker.life360@0.2.22 (git+ssh://git@github.com/MiGoller/ioBroker.life360.git#23166aab1b2e36d917a9b7b480d9faa7f73ca2d1) Adapter State + system.adapter.admin.0 : admin : pi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.alexa2.0 : alexa2 : pi - enabled + system.adapter.backitup.0 : backitup : pi - enabled + system.adapter.ble.0 : ble : pi - enabled + system.adapter.cloud.0 : cloud : pi - enabled + system.adapter.denon.0 : denon : pi - enabled system.adapter.devices.0 : devices : pi - disabled + system.adapter.history.0 : history : pi - enabled + system.adapter.iot.0 : iot : pi - enabled + system.adapter.javascript.0 : javascript : pi - enabled system.adapter.life360.0 : life360 : pi - disabled + system.adapter.lovelace.0 : lovelace : pi - enabled, port: 8091, bind: 0.0.0.0, run as: admin system.adapter.maxcube.0 : maxcube : pi - disabled, port: 62910, bind: 0.0.0.0 + system.adapter.miio.0 : miio : pi - enabled + system.adapter.scenes.0 : scenes : pi - enabled + system.adapter.sonoff.0 : sonoff : pi - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.telegram.0 : telegram : pi - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.terminal.0 : terminal : pi - enabled, port: 8088, bind: 0.0.0.0, run as: admin + system.adapter.text2command.0 : text2command : pi - enabled + system.adapter.web.0 : web : pi - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.yahka.0 : yahka : pi - enabled + system.adapter.yeelight-2.0 : yeelight-2 : pi - enabled + system.adapter.zigbee.0 : zigbee : pi - enabled, port: /dev/serial/by-id/usb-Texas_Instruments_CC2538_USB_CDC-if00 + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : pi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.lovelace.0 : lovelace : pi - enabled, port: 8091, bind: 0.0.0.0, run as: admin + system.adapter.sonoff.0 : sonoff : pi - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.telegram.0 : telegram : pi - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.terminal.0 : terminal : pi - enabled, port: 8088, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : pi - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.zigbee.0 : zigbee : pi - enabled, port: /dev/serial/by-id/usb-Texas_Instruments_CC2538_USB_CDC-if00 ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): beta Installed ioBroker-Instances Used repository: beta Adapter "admin" : 7.0.7 , installed 7.0.7 Adapter "alexa2" : 3.26.5 , installed 3.26.5 Adapter "backitup" : 3.0.7 , installed 3.0.7 Adapter "ble" : 0.14.0 , installed 0.14.0 Adapter "cloud" : 5.0.1 , installed 5.0.1 Adapter "denon" : 1.15.5 , installed 1.15.5 Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "history" : 3.0.1 , installed 3.0.1 Adapter "iot" : 3.3.0 , installed 3.3.0 Adapter "javascript" : 8.6.0 , installed 8.6.0 Controller "js-controller": 6.0.5 , installed 6.0.5 Adapter "lovelace" : 4.1.10 , installed 4.1.10 Adapter "maxcube" : 1.0.4 , installed 1.0.4 Adapter "miio" : 0.0.13 , installed 0.0.13 Adapter "scenes" : 3.2.1 , installed 3.2.1 Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "socketio" : 6.7.1 , installed 6.7.1 Adapter "sonoff" : 3.1.0 , installed 3.1.0 Adapter "telegram" : 3.6.0 , installed 3.6.0 Adapter "terminal" : 1.0.0 , installed 1.0.0 Adapter "text2command" : 3.0.3 , installed 3.0.3 Adapter "web" : 6.3.0 , installed 6.3.0 Adapter "ws" : 2.6.2 , installed 2.6.2 Adapter "yahka" : 1.0.3 , installed 1.0.3 Adapter "yeelight-2" : 1.4.0 , installed 1.4.0 Adapter "zigbee" : 1.10.3 , installed 1.10.3 Objects and States Please stand by - This may take a while Objects: 3718 States: 2553 *** OS-Repositories and Updates *** Hit:1 http://deb.debian.org/debian bookworm InRelease Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease Reading package lists... Pending Updates: 0 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 1001 18060 2995/io.sonoff.0 tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 17894 2810/iobroker.js-co tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 17899 2810/iobroker.js-co tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 5577 697/sshd: /usr/sbin tcp6 0 0 :::8081 :::* LISTEN 1001 19308 2828/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 18172 3173/io.web.0 tcp6 0 0 :::8088 :::* LISTEN 1001 20757 3143/io.terminal.0 tcp6 0 0 :::8091 :::* LISTEN 1001 20715 3101/io.lovelace.0 tcp6 0 0 :::46415 :::* LISTEN 1001 19818 3188/io.yahka.0 tcp6 0 0 :::22 :::* LISTEN 0 5579 697/sshd: /usr/sbin udp 0 0 0.0.0.0:5353 0.0.0.0:* 104 5475 532/avahi-daemon: r udp 0 0 0.0.0.0:55378 0.0.0.0:* 104 5477 532/avahi-daemon: r udp6 0 0 :::5353 :::* 104 5476 532/avahi-daemon: r udp6 0 0 :::46556 :::* 104 5478 532/avahi-daemon: r udp6 0 0 fe80::adc6:381b:b10:546 :::* 0 9560 625/NetworkManager *** Log File - Last 25 Lines *** 2024-06-30 16:20:58.577 - info: zigbee.0 (4859) cleaned everything up... 2024-06-30 16:20:58.625 - info: zigbee.0 (4859) Zigbee: disabling joining new devices. 2024-06-30 16:20:59.069 - warn: zigbee.0 (4859) Failed to stop zigbee during startup 2024-06-30 16:20:59.069 - info: zigbee.0 (4859) terminating 2024-06-30 16:20:59.070 - info: zigbee.0 (4859) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2024-06-30 16:20:59.081 - info: zigbee.0 (4859) terminating 2024-06-30 16:20:59.127 - info: zigbee.0 (4859) debug devices set to [] 2024-06-30 16:20:59.677 - info: host.pi instance system.adapter.zigbee.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2024-06-30 16:20:59.992 - info: admin.0 (2828) ==> Connected system.user.admin from ::ffff:192.168.0.23 2024-06-30 16:22:00.645 - info: admin.0 (2828) <== Disconnect system.user.admin from ::ffff:192.168.0.23 2024-06-30 16:22:03.776 - info: host.pi "system.adapter.zigbee.0" enabled 2024-06-30 16:22:04.696 - info: host.pi instance system.adapter.zigbee.0 started with pid 4896 2024-06-30 16:22:09.529 - info: zigbee.0 (4896) starting. Version 1.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.15.0, js-controller: 6.0.5 2024-06-30 16:22:09.627 - info: zigbee.0 (4896) delete old Backup files. keep only last 10 2024-06-30 16:22:09.630 - info: zigbee.0 (4896) Starting Zigbee npm ... 2024-06-30 16:22:09.988 - info: zigbee.0 (4896) Installed Version: iobroker.zigbee@1.10.3 2024-06-30 16:22:44.649 - error: zigbee.0 (4896) Starting zigbee-herdsman problem : "network commissioning failed - timed out waiting for nib to settle" 2024-06-30 16:22:44.650 - error: zigbee.0 (4896) Failed to start Zigbee 2024-06-30 16:22:44.651 - error: zigbee.0 (4896) Error herdsman start 2024-06-30 16:22:54.652 - info: zigbee.0 (4896) Try to reconnect. 1 attempts left 2024-06-30 16:22:54.653 - info: zigbee.0 (4896) Starting Zigbee npm ... 2024-06-30 16:22:54.668 - info: zigbee.0 (4896) Installed Version: iobroker.zigbee@1.10.3 2024-06-30 16:22:54.822 - error: zigbee.0 (4896) Starting zigbee-herdsman problem : "Error Resource temporarily unavailable Cannot lock port" 2024-06-30 16:22:54.823 - error: zigbee.0 (4896) Failed to start Zigbee 2024-06-30 16:22:54.824 - error: zigbee.0 (4896) Error herdsman start ======================= SUMMARY ======================= v.2024-05-22 Static hostname: pi Icon name: computer Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.6.31+rpt-rpi-v8 Architecture: arm64 Installation: native Kernel: aarch64 Userland: 64 bit Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 Display-Server: false Boot Target: multi-user.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v20.15.0 /usr/bin/node v20.15.0 /usr/bin/npm 10.7.0 /usr/bin/npx 10.7.0 /usr/bin/corepack 0.28.1 Recommended versions are nodejs 18.20.3 and npm 10.7.0 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 4.0G 1.7G 1.5G 1.2M 850M 2.3G Swap: 209M 0B 209M Total: 4.2G 1.7G 1.7G Active iob-Instances: 21 Active repo(s): beta ioBroker Core: js-controller 6.0.5 admin 7.0.7 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : pi - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : pi - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 3718 States: 2553 Size of iob-Database: 66M /opt/iobroker/iobroker-data/objects.jsonl 3.9M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================Solange du als erstes die folgenden Meldungen bekommst wird der Stick korrekt erkannt, und das ganze Gehampel mit dem Modem-Manager ist ein Nebenkriegsschauplatz.
2024-06-30 16:22:09.529 - info: zigbee.0 (4896) starting. Version 1.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.15.0, js-controller: 6.0.5 2024-06-30 16:22:09.627 - info: zigbee.0 (4896) delete old Backup files. keep only last 10 2024-06-30 16:22:09.630 - info: zigbee.0 (4896) Starting Zigbee npm ... 2024-06-30 16:22:09.988 - info: zigbee.0 (4896) Installed Version: iobroker.zigbee@1.10.3 2024-06-30 16:22:44.649 - error: zigbee.0 (4896) Starting zigbee-herdsman problem : "network commissioning failed - timed out waiting for nib to settle" 2024-06-30 16:22:44.650 - error: zigbee.0 (4896) Failed to start Zigbee 2024-06-30 16:22:44.651 - error: zigbee.0 (4896) Error herdsman startdiese Meldungen:
2024-06-30 16:22:54.652 - info: zigbee.0 (4896) Try to reconnect. 1 attempts left 2024-06-30 16:22:54.653 - info: zigbee.0 (4896) Starting Zigbee npm ... 2024-06-30 16:22:54.668 - info: zigbee.0 (4896) Installed Version: iobroker.zigbee@1.10.3 2024-06-30 16:22:54.822 - error: zigbee.0 (4896) Starting zigbee-herdsman problem : "Error Resource temporarily unavailable Cannot lock port" 2024-06-30 16:22:54.823 - error: zigbee.0 (4896) Failed to start Zigbee 2024-06-30 16:22:54.824 - error: zigbee.0 (4896) Error herdsman startSind Folgefehler, da die Bibliothek den Port nicht wieder freigibt, und der Adapter beim Versuch erneut zu starten den Port nicht auf bekommt - er ist noch offen.
Die entscheidenden Fragen sind jetzt:
- welche Firmware ist auf dem Stick ? Erinnerst du was du darauf geflasht hast, oder hast du ggf. ältere Log-Dateien zum nachschauen
- wie sieht es um den Stick aus, insbesondere mit 2.4GHz Störquellen (USB3 Devices, DECT, WLAN, BT, aber auch Herstellerspezifische 2.4GHz dongle für Tastaturen/Mäuse/Kopfhörer, etc.
Was zumeist hilft solange die Firmware noch ok ist:
- Adapter anhalten
- Stick abziehen
- 30 Sekunden warten
- Stick wieder anstecken
- Adapter starten.
Zusätzlich kann es Sinnvoll sein den Stick an einen etwas anderen Ort zu bringen - das geht natürlich nur wenn er via USB Verlängerung angeschlossen ist. Das sollte er aber sowieso sein, da die meisten NUC / PI im 2.4GHz Bereich stören (oft durch USB3/WLan/BT)
A.
Nachtrag: Die Firmware auf den verschiedenen Sticks kann nur eine gewisse Menge an Kommunikationsproblemen abfangen bevor sie abstürzt. Daher ist davon auszugehen das mit dem Umfeld etwas nicht optimal ist wenn die Firmware regelmässig / häufig abstürzt. Ich hatte das Problem selber und habe es durch neu-platzieren des sticks lösen können.
Wichtig ist: Ein Neustart des PI / NUC führt üblicherweise keinen Hardware-Reset am USB Bus durch - nur ein Software-Reset findet statt, weswegen die Firmware erst dann neu initialisiert wird wenn der Stick stromlos wird (abschalten des PI/NUC oder abziehen des Stick) -
Der service ist ausgeknipst?
sudo systemctl status ModemManager.servicesagt?
Kiste mal neugestartet?
Der Modem Manager ist weg:
Unit ModemManager.service could not be found.Kiste neu gestartet und keine Änderung
[Sun Jun 30 18:51:21 2024] usb 1-1.3: USB disconnect, device number 3 [Sun Jun 30 18:51:21 2024] usb 1-1.4: USB disconnect, device number 4 [Sun Jun 30 18:52:04 2024] usb 1-1.4: new full-speed USB device number 5 using xhci_hcd [Sun Jun 30 18:52:04 2024] usb 1-1.4: New USB device found, idVendor=0451, idProduct=16c8, bcdDevice= 1.00 [Sun Jun 30 18:52:04 2024] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [Sun Jun 30 18:52:04 2024] usb 1-1.4: Product: CC2538 USB CDC [Sun Jun 30 18:52:04 2024] usb 1-1.4: Manufacturer: Texas Instruments [Sun Jun 30 18:52:05 2024] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device -
Der Modem Manager ist weg:
Unit ModemManager.service could not be found.Kiste neu gestartet und keine Änderung
[Sun Jun 30 18:51:21 2024] usb 1-1.3: USB disconnect, device number 3 [Sun Jun 30 18:51:21 2024] usb 1-1.4: USB disconnect, device number 4 [Sun Jun 30 18:52:04 2024] usb 1-1.4: new full-speed USB device number 5 using xhci_hcd [Sun Jun 30 18:52:04 2024] usb 1-1.4: New USB device found, idVendor=0451, idProduct=16c8, bcdDevice= 1.00 [Sun Jun 30 18:52:04 2024] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [Sun Jun 30 18:52:04 2024] usb 1-1.4: Product: CC2538 USB CDC [Sun Jun 30 18:52:04 2024] usb 1-1.4: Manufacturer: Texas Instruments [Sun Jun 30 18:52:05 2024] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM deviceDann halt jetzt auf die Umgebung schauen. Hat @Asgothian ja schon viel zu geschrieben.
-
Solange du als erstes die folgenden Meldungen bekommst wird der Stick korrekt erkannt, und das ganze Gehampel mit dem Modem-Manager ist ein Nebenkriegsschauplatz.
2024-06-30 16:22:09.529 - info: zigbee.0 (4896) starting. Version 1.10.3 in /opt/iobroker/node_modules/iobroker.zigbee, node: v20.15.0, js-controller: 6.0.5 2024-06-30 16:22:09.627 - info: zigbee.0 (4896) delete old Backup files. keep only last 10 2024-06-30 16:22:09.630 - info: zigbee.0 (4896) Starting Zigbee npm ... 2024-06-30 16:22:09.988 - info: zigbee.0 (4896) Installed Version: iobroker.zigbee@1.10.3 2024-06-30 16:22:44.649 - error: zigbee.0 (4896) Starting zigbee-herdsman problem : "network commissioning failed - timed out waiting for nib to settle" 2024-06-30 16:22:44.650 - error: zigbee.0 (4896) Failed to start Zigbee 2024-06-30 16:22:44.651 - error: zigbee.0 (4896) Error herdsman startdiese Meldungen:
2024-06-30 16:22:54.652 - info: zigbee.0 (4896) Try to reconnect. 1 attempts left 2024-06-30 16:22:54.653 - info: zigbee.0 (4896) Starting Zigbee npm ... 2024-06-30 16:22:54.668 - info: zigbee.0 (4896) Installed Version: iobroker.zigbee@1.10.3 2024-06-30 16:22:54.822 - error: zigbee.0 (4896) Starting zigbee-herdsman problem : "Error Resource temporarily unavailable Cannot lock port" 2024-06-30 16:22:54.823 - error: zigbee.0 (4896) Failed to start Zigbee 2024-06-30 16:22:54.824 - error: zigbee.0 (4896) Error herdsman startSind Folgefehler, da die Bibliothek den Port nicht wieder freigibt, und der Adapter beim Versuch erneut zu starten den Port nicht auf bekommt - er ist noch offen.
Die entscheidenden Fragen sind jetzt:
- welche Firmware ist auf dem Stick ? Erinnerst du was du darauf geflasht hast, oder hast du ggf. ältere Log-Dateien zum nachschauen
- wie sieht es um den Stick aus, insbesondere mit 2.4GHz Störquellen (USB3 Devices, DECT, WLAN, BT, aber auch Herstellerspezifische 2.4GHz dongle für Tastaturen/Mäuse/Kopfhörer, etc.
Was zumeist hilft solange die Firmware noch ok ist:
- Adapter anhalten
- Stick abziehen
- 30 Sekunden warten
- Stick wieder anstecken
- Adapter starten.
Zusätzlich kann es Sinnvoll sein den Stick an einen etwas anderen Ort zu bringen - das geht natürlich nur wenn er via USB Verlängerung angeschlossen ist. Das sollte er aber sowieso sein, da die meisten NUC / PI im 2.4GHz Bereich stören (oft durch USB3/WLan/BT)
A.
Nachtrag: Die Firmware auf den verschiedenen Sticks kann nur eine gewisse Menge an Kommunikationsproblemen abfangen bevor sie abstürzt. Daher ist davon auszugehen das mit dem Umfeld etwas nicht optimal ist wenn die Firmware regelmässig / häufig abstürzt. Ich hatte das Problem selber und habe es durch neu-platzieren des sticks lösen können.
Wichtig ist: Ein Neustart des PI / NUC führt üblicherweise keinen Hardware-Reset am USB Bus durch - nur ein Software-Reset findet statt, weswegen die Firmware erst dann neu initialisiert wird wenn der Stick stromlos wird (abschalten des PI/NUC oder abziehen des Stick)Bei der Firmware müsste ich nochmal schauen.
Ich hab je örtlich nichts geändert, keine neuen Geräte oder ähnliches. Ohne erkennbaren Grund lief es einfach nicht mehr. Stick raus und wieder ein hab ich auch zig mal versucht.
-
Bei der Firmware müsste ich nochmal schauen.
Ich hab je örtlich nichts geändert, keine neuen Geräte oder ähnliches. Ohne erkennbaren Grund lief es einfach nicht mehr. Stick raus und wieder ein hab ich auch zig mal versucht.
@edonisxp sagte in zigbee Adapter startet nicht "unavailable Cannot lock port":
Ich hab je örtlich nichts geändert, keine neuen Geräte oder ähnliches.
Du hast vielleicht nicht aktiv etwas geändert. Das heisst aber nicht das alles so geblieben ist. WLAN und BT wählen ihre Frequenzen üblicherweise automatisch. Auch ein WLAN eines Nachbarn kann ggf. stören. Selbst das Umstellen einer Metalldose in der Nähe des Koordinators kann auf Grund der durch die Dose entstehenden Reflektionen der Funkwellen einen Effekt haben.
Stick an USB Kabel, und Stick anders platzieren (andere Ausrichtung ?) kann also helfen.
Die Meldung
2024-06-30 16:22:44.649 - error: zigbee.0 (4896) Starting zigbee-herdsman problem : "network commissioning failed - timed out waiting for nib to settle"deutet darauf hin das es der Firmware nicht gelingt innerhalb von 40 Sekunden das Zigbee-Netz stabil aufzubauen. Das ist also ein Funk-Problem oder ein Firmware-Problem.
A.
-
@edonisxp sagte in zigbee Adapter startet nicht "unavailable Cannot lock port":
Ich hab je örtlich nichts geändert, keine neuen Geräte oder ähnliches.
Du hast vielleicht nicht aktiv etwas geändert. Das heisst aber nicht das alles so geblieben ist. WLAN und BT wählen ihre Frequenzen üblicherweise automatisch. Auch ein WLAN eines Nachbarn kann ggf. stören. Selbst das Umstellen einer Metalldose in der Nähe des Koordinators kann auf Grund der durch die Dose entstehenden Reflektionen der Funkwellen einen Effekt haben.
Stick an USB Kabel, und Stick anders platzieren (andere Ausrichtung ?) kann also helfen.
Die Meldung
2024-06-30 16:22:44.649 - error: zigbee.0 (4896) Starting zigbee-herdsman problem : "network commissioning failed - timed out waiting for nib to settle"deutet darauf hin das es der Firmware nicht gelingt innerhalb von 40 Sekunden das Zigbee-Netz stabil aufzubauen. Das ist also ein Funk-Problem oder ein Firmware-Problem.
A.
Also ich hab die Vermutung das es tatsächlich die Firmware sein könnte.
2021 hab ich den Stick geholt und da war 20190523 drauf, ich kann mich nicht erinnern hier mal ein update gemacht zu haben, da alles bisher lief hab ich das nie beachtet. -
Also ich hab die Vermutung das es tatsächlich die Firmware sein könnte.
2021 hab ich den Stick geholt und da war 20190523 drauf, ich kann mich nicht erinnern hier mal ein update gemacht zu haben, da alles bisher lief hab ich das nie beachtet.Hi,
Ich hatte auch häufiger das Problem, das nach einem Neustart auf den Zigbee Stick nicht zu gegriffen werden konnte.
Hab jetzt auch mal den Modem Manager raus geworfen und die letzten zwei Neustarts gingen ohne Probleme und mein Zigbee Netzwerk war gleich wieder da.
Ich hoffe es bleibt dabei.
Viele Grüße
Martin