Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. [Gelöst] Proxmox (LXC) - CC2531 - Error opening serialport

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    393

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.9k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.3k

[Gelöst] Proxmox (LXC) - CC2531 - Error opening serialport

Scheduled Pinned Locked Moved Solved Error/Bug
proxmoxcc2531zigbeeserialport
3 Posts 1 Posters 825 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rth
    wrote on last edited by rth
    #1

    Hallo,

    ich habe heute bei meinen CC2531 Stick ein Update von Z-Stack1.2_20180815 auf 20190608 mit dem CC-Debugger und dem flash-programmer gemacht.
    Seither startet die zigbee Instanz nicht mehr (gelb), Log siehe unten

    Der iobroker läuft unter proxmox in einem LXC Container seit Monaten fehlerfrei.

    Könnt ihr mir weiterhelfen?

    Danke vorab.

    USB Konfig Proxmox

    root@proxmox:~# lsusb
    Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 1bcf:288e Sunplus Innovation Technology Inc. 
    Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 002: ID 0bc2:231a Seagate RSS LLC Expansion Portable
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 003: ID 0451:16a8 Texas Instruments, Inc. 
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    root@proxmox:~# ls -l /dev/serial/by-id
    total 0
    lrwxrwxrwx 1 root root 13 Apr 13 01:06 usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018ED2EDD-if00 -> ../../ttyACM0
    root@proxmox:~# ls -l /dev/bus/usb/003/003
    crw-rw-r-- 1 root root 189, 258 Apr 13 01:06 /dev/bus/usb/003/003
    root@proxmox:~# ls -l /dev/ttyACM0
    crw-rw-rw- 1 root dialout 166, 0 Apr 13 01:12 /dev/ttyACM0
    
    

    USB Konfig iobroker Container

    root@iobroker:~# lsusb
    Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 1bcf:288e Sunplus Innovation Technology Inc. 
    Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 002: ID 0bc2:231a Seagate RSS LLC Expansion Portable
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 003: ID 0451:16a8 Texas Instruments, Inc. 
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    root@iobroker:~# ls -l /dev/ttyACM0 
    crw-rw-rw- 1 nobody nogroup 166, 0 Apr 13 01:12 /dev/ttyACM0
    
    

    Log

    zigbee.0	2020-04-13 01:13:09.351	error	at binding.open.then.err (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12)
    zigbee.0	2020-04-13 01:13:09.351	error	at SerialPort._error (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)
    zigbee.0	2020-04-13 01:13:09.351	error	at SerialPort.serialPort.open (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:111:49)
    zigbee.0	2020-04-13 01:13:09.351	error	at __awaiter (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:4:12)
    zigbee.0	2020-04-13 01:13:09.351	error	at new Promise (<anonymous>)
    zigbee.0	2020-04-13 01:13:09.351	error	at /opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:8:71
    zigbee.0	2020-04-13 01:13:09.351	error	at Generator.next (<anonymous>)
    zigbee.0	2020-04-13 01:13:09.351	error	at Znp.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:113:32)
    zigbee.0	2020-04-13 01:13:09.351	error	(591) Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'
    zigbee.0	2020-04-13 01:13:09.350	error	(591) Failed to start Zigbee
    zigbee.0	2020-04-13 01:13:09.235	info	(591) Starting Zigbee...
    zigbee.0	2020-04-13 01:13:09.234	info	(591) Try to reconnect. 1 attempts left
    
    Systemdata Bitte Ausfüllen
    Node-Version: 10.19.0
    Nodejs-Version: 10.19.0
    NPM-Version: 6.13.4
    1 Reply Last reply
    0
    • R Offline
      R Offline
      rth
      wrote on last edited by
      #2

      Ich habe zur Sicherheit den CC2531 an einem Raspberry PI ausprobiert, dort startet der zigbee Adapter fehlerfrei. Es hat also nichts mit dem Z-Stack update zu tun und die CC2531 Hardware ist auch nicht defekt.

      Bleibt noch Proxmox bzw. das Durchreichen in den Container.

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rth
        wrote on last edited by
        #3

        Problem gelöst, aber wirklich verständlich ist es nicht für mich. Vielleicht hilft es dennoch dem Einen oder Anderen:

        1. Aus- / Einstecken des CC2531 führt bei mir zur Änderung des USB Ports am Proxmox von 003/003 nach 003/004
        2. Ändern des USB Mappings proxmox -> Container von
        lxc.mount.entry: /dev/bus/usb/003/003 dev/bus/usb/003/003 none bind,optional,cre
        ate=file
        

        nach

        lxc.mount.entry: /dev/bus/usb/003/004 dev/bus/usb/003/004 none bind,optional,cre
        ate=file
        
        
        1. Start des iobroker Containers: zigbee startet
        2. Stop des iobroker Containers
        3. Reboot proxmox
        4. Änderung rückgängig gemacht
        5. Start des iobroker Containers: zigbee startet

        Leider sind alle Geräte nicht mehr gepaired, liegt aber vermutlich am Versionssprung der Z-Stack firmware von 20180815 auf 20190608.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        Support us

        ioBroker
        Community Adapters
        Donate

        730

        Online

        32.7k

        Users

        82.5k

        Topics

        1.3m

        Posts
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
        ioBroker Community 2014-2025
        logo
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Home
        • Recent
        • Tags
        • Unread 0
        • Categories
        • Unreplied
        • Popular
        • GitHub
        • Docu
        • Hilfe