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. Zigbee iobroker Error while opening serialport

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Zigbee iobroker Error while opening serialport

Scheduled Pinned Locked Moved Error/Bug
231 Posts 28 Posters 48.0k Views 24 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.
  • AsgothianA Asgothian

    @yoshi hmm.. bitte zieh des Stick mal ab, warte 30 Sekunden, und steck den danach wieder an.

    Danach nochmal den Adapter starten.

    A.

    Y Offline
    Y Offline
    Yoshi
    wrote on last edited by
    #75

    @asgothian

    leider das gleich Problem,

    aber wie schon oben beschrieben, hatte ich ihn schon mal zum laufen bekommen. Was auch mal funktioniert hat, den USB Port zu wechseln und dann die Instanz neu starten.
    Nun geht nichts davon

    GlasfaserG Thomas BraunT 2 Replies Last reply
    0
    • Y Yoshi

      @asgothian

      leider das gleich Problem,

      aber wie schon oben beschrieben, hatte ich ihn schon mal zum laufen bekommen. Was auch mal funktioniert hat, den USB Port zu wechseln und dann die Instanz neu starten.
      Nun geht nichts davon

      GlasfaserG Offline
      GlasfaserG Offline
      Glasfaser
      wrote on last edited by
      #76

      @yoshi sagte in Zigbee iobroker Error while opening serialport:

      leider das gleich Problem,

      BITTE keine Aussagen .... immer Log´s dazu zeigen !!!

      Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

      Y 1 Reply Last reply
      0
      • Y Yoshi

        @asgothian

        leider das gleich Problem,

        aber wie schon oben beschrieben, hatte ich ihn schon mal zum laufen bekommen. Was auch mal funktioniert hat, den USB Port zu wechseln und dann die Instanz neu starten.
        Nun geht nichts davon

        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        wrote on last edited by
        #77

        @yoshi

        systemctl status deconz deconz-gui
        

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        Y 1 Reply Last reply
        0
        • GlasfaserG Glasfaser

          @yoshi sagte in Zigbee iobroker Error while opening serialport:

          leider das gleich Problem,

          BITTE keine Aussagen .... immer Log´s dazu zeigen !!!

          Y Offline
          Y Offline
          Yoshi
          wrote on last edited by Yoshi
          #78

          @glasfaser

          zigbee.0
          2022-08-15 19:03:06.791	error	Error herdsman start
          
          zigbee.0
          2022-08-15 19:03:06.791	error	Failed to start Zigbee
          
          zigbee.0
          2022-08-15 19:03:06.789	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: Device or resource busy, cannot open /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2149258-if00'"
          
          zigbee.0
          2022-08-15 19:03:06.561	info	Installed Version: iobroker.zigbee@1.7.6
          
          zigbee.0
          2022-08-15 19:03:06.539	info	Starting Zigbee npm ...
          
          zigbee.0
          2022-08-15 19:03:06.537	info	Try to reconnect. 1 attempts left
          
          zigbee.0
          2022-08-15 19:02:56.537	info	Installed Version: iobroker.zigbee@1.7.6
          
          zigbee.0
          2022-08-15 19:02:56.534	error	Error herdsman start
          
          zigbee.0
          2022-08-15 19:02:56.533	error	Failed to start Zigbee
          
          zigbee.0
          2022-08-15 19:02:56.532	error	Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: Device or resource busy, cannot open /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2149258-if00'"
          
          zigbee.0
          2022-08-15 19:02:55.925	info	Starting Zigbee npm ...
          
          zigbee.0
          2022-08-15 19:02:55.922	info	delete old Backup files. keep only last 10
          
          zigbee.0
          2022-08-15 19:02:55.809	info	starting. Version 1.7.6 in /opt/iobroker/node_modules/iobroker.zigbee, node: v16.16.0, js-controller: 4.0.23
          host.raspberrypi4-iob
          2022-08-15 19:02:51.679	info	instance system.adapter.zigbee.0 started with pid 12761
          host.raspberrypi4-iob
          2022-08-15 19:02:51.472	info	"system.adapter.zigbee.0" enabled
          
          1 Reply Last reply
          0
          • Thomas BraunT Thomas Braun

            @yoshi

            systemctl status deconz deconz-gui
            
            Y Offline
            Y Offline
            Yoshi
            wrote on last edited by
            #79

            @thomas-braun

            pi@raspberrypi4-iob:~ $ systemctl status deconz deconz-gui
            ● deconz.service - deCONZ: ZigBee gateway -- REST API
                 Loaded: loaded (/lib/systemd/system/deconz.service; enabled; vendor preset>
                 Active: active (running) since Mon 2022-08-15 18:51:20 CEST; 18min ago
               Main PID: 349 (deCONZ)
                  Tasks: 4 (limit: 4915)
                 CGroup: /system.slice/deconz.service
                         └─349 /usr/bin/deCONZ -platform minimal --http-port=80
             
            Aug 15 18:52:14 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
            Aug 15 18:52:14 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
            Aug 15 18:52:16 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
            Aug 15 18:53:15 raspberrypi4-iob deCONZ[349]: "Keine derartige Schnittstelle »o>
            Aug 15 18:59:34 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
            Aug 15 19:02:31 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
            Aug 15 19:04:37 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
            Aug 15 19:04:53 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
            Aug 15 19:04:55 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
            Aug 15 19:05:11 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
            {1}
            ● deconz-gui.service - deCONZ: ZigBee gateway -- GUI/REST API
                 Loaded: loaded (/lib/systemd/system/deconz-gui.service; enabled; vendor pr>
                 Active: activating (auto-restart) (Result: signal) since Mon 2022-08-15 19>
                Process: 16935 ExecStart=/usr/bin/deCONZ --http-port=80 (code=killed, signa>
            lines 1-23
            {1}
            {1}
            
            Thomas BraunT 1 Reply Last reply
            0
            • Y Yoshi

              @thomas-braun

              pi@raspberrypi4-iob:~ $ systemctl status deconz deconz-gui
              ● deconz.service - deCONZ: ZigBee gateway -- REST API
                   Loaded: loaded (/lib/systemd/system/deconz.service; enabled; vendor preset>
                   Active: active (running) since Mon 2022-08-15 18:51:20 CEST; 18min ago
                 Main PID: 349 (deCONZ)
                    Tasks: 4 (limit: 4915)
                   CGroup: /system.slice/deconz.service
                           └─349 /usr/bin/deCONZ -platform minimal --http-port=80
               
              Aug 15 18:52:14 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
              Aug 15 18:52:14 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
              Aug 15 18:52:16 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
              Aug 15 18:53:15 raspberrypi4-iob deCONZ[349]: "Keine derartige Schnittstelle »o>
              Aug 15 18:59:34 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
              Aug 15 19:02:31 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
              Aug 15 19:04:37 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
              Aug 15 19:04:53 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
              Aug 15 19:04:55 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
              Aug 15 19:05:11 raspberrypi4-iob deCONZ[349]: This plugin does not support prop>
              {1}
              ● deconz-gui.service - deCONZ: ZigBee gateway -- GUI/REST API
                   Loaded: loaded (/lib/systemd/system/deconz-gui.service; enabled; vendor pr>
                   Active: activating (auto-restart) (Result: signal) since Mon 2022-08-15 19>
                  Process: 16935 ExecStart=/usr/bin/deCONZ --http-port=80 (code=killed, signa>
              lines 1-23
              {1}
              {1}
              
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              wrote on last edited by Thomas Braun
              #80

              @yoshi

              sudo systemctl stop deconz
              sudo systemctl disable deconz
              sudo systemctl stop deconz-gui
              sudo systemctl disable deconz-gui
              

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              Y 1 Reply Last reply
              1
              • Thomas BraunT Thomas Braun

                @yoshi

                sudo systemctl stop deconz
                sudo systemctl disable deconz
                sudo systemctl stop deconz-gui
                sudo systemctl disable deconz-gui
                
                Y Offline
                Y Offline
                Yoshi
                wrote on last edited by
                #81

                @thomas-braun

                Hey Thomas, wenn du ne Frau wärest würde ich dich glatt heiraten. :-)

                Vielen Dank. Nun läuft es, ich hoffe auch nach einem Neustart

                Thomas BraunT 1 Reply Last reply
                0
                • Y Yoshi

                  @thomas-braun

                  Hey Thomas, wenn du ne Frau wärest würde ich dich glatt heiraten. :-)

                  Vielen Dank. Nun läuft es, ich hoffe auch nach einem Neustart

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  wrote on last edited by
                  #82

                  @yoshi sagte in Zigbee iobroker Error while opening serialport:

                  Nun läuft es, ich hoffe auch nach einem Neustart

                  Wenn du beide Services disabled hast ja.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  Y 1 Reply Last reply
                  0
                  • Thomas BraunT Thomas Braun

                    @yoshi sagte in Zigbee iobroker Error while opening serialport:

                    Nun läuft es, ich hoffe auch nach einem Neustart

                    Wenn du beide Services disabled hast ja.

                    Y Offline
                    Y Offline
                    Yoshi
                    wrote on last edited by
                    #83

                    @thomas-braun

                    Ja, hab das gemacht.

                    Muss ich alle Teilnehmer neu anlernen ? ich sehe sie zwar in der Geräteübersicht aber sie sind nicht verbunden.

                    Thomas BraunT 1 Reply Last reply
                    0
                    • Y Yoshi

                      @thomas-braun

                      Ja, hab das gemacht.

                      Muss ich alle Teilnehmer neu anlernen ? ich sehe sie zwar in der Geräteübersicht aber sie sind nicht verbunden.

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      wrote on last edited by
                      #84

                      @yoshi sagte in Zigbee iobroker Error while opening serialport:

                      Muss ich alle Teilnehmer neu anlernen ?

                      Möglich. Vielleicht sind die noch mit dem deconz verheiratet.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      Thomas BraunT 1 Reply Last reply
                      0
                      • Thomas BraunT Thomas Braun

                        @yoshi sagte in Zigbee iobroker Error while opening serialport:

                        Muss ich alle Teilnehmer neu anlernen ?

                        Möglich. Vielleicht sind die noch mit dem deconz verheiratet.

                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        wrote on last edited by
                        #85

                        Und @Asgothian ein "soooooooooooooooory fürs 'derailing'". Kommt nicht wieder vor. :kissing:

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        AsgothianA 1 Reply Last reply
                        0
                        • Thomas BraunT Thomas Braun

                          Und @Asgothian ein "soooooooooooooooory fürs 'derailing'". Kommt nicht wieder vor. :kissing:

                          AsgothianA Offline
                          AsgothianA Offline
                          Asgothian
                          Developer
                          wrote on last edited by
                          #86

                          @thomas-braun sagte in Zigbee iobroker Error while opening serialport:

                          Und @Asgothian ein "soooooooooooooooory fürs 'derailing'". Kommt nicht wieder vor. :kissing:

                          Wieso derailing - beim deconz war ich auch schon. Auch die Frage ob der noch läuft. Aber von Unterwegs konnte ich nicht die korrekten Befehle Posten :)

                          ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
                          "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

                          1 Reply Last reply
                          0
                          • H Offline
                            H Offline
                            Harry87
                            wrote on last edited by Harry87
                            #87

                            Servus,
                            ich hatte denselben Fehler, dass kein Zugriff mehr auf den Serial Port möglich war.

                            2022-10-14 18:38:07.286  - error: zigbee.0 (3145) Error herdsman start
                            2022-10-14 18:38:17.289  - info: zigbee.0 (3145) Try to reconnect. 1 attempts left
                            2022-10-14 18:38:17.290  - info: zigbee.0 (3145) Starting Zigbee  npm ...
                            2022-10-14 18:38:17.311  - info: zigbee.0 (3145) Installed Version: iobroker.zigbee@1.7.5
                            2022-10-14 18:38:17.475  - error: zigbee.0 (3145) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
                            2022-10-14 18:38:17.476  - error: zigbee.0 (3145) Failed to start Zigbee
                            2022-10-14 18:38:17.476  - error: zigbee.0 (3145) Error herdsman start
                            
                            

                            Ursache war, dass auf dem gleichen Raspberry Debmatic läuft und dort der CUxDeamon den Serial-Port belegt hat.

                            Man kann dem CUxDeamon sagen, dass er einen bestimmten Port nicht verwenden soll, indem man im CUxD-Setup unten folgende Zeile ergänzt:

                            TTYASSIGN=ttyUSB0:NC
                            

                            Obacht: Port "USB0" kann abweichen!

                            Danach Raspberry neu starten und schon lief der Zigbee-Adapter im ioBroker wieder.

                            1 Reply Last reply
                            2
                            • K Offline
                              K Offline
                              klausiy123
                              wrote on last edited by klausiy123
                              #88

                              Hallo
                              Mein cc26x2 mag, warum auch immer, nicht mehr. Vielleicht kann mir jemand helfen. Vielen Dank im voraus.

                              2022-11-22 16:46:21.405 - info: host.orangepiplus2e "system.adapter.zigbee.0" enabled
                              2022-11-22 16:46:22.201 - info: host.orangepiplus2e instance system.adapter.zigbee.0 started with pid 1538
                              2022-11-22 16:46:34.269 - info: zigbee.0 (1538) starting. Version 1.7.5 in /opt/iobroker/node_modules/iobroker.zigbee, node: v16.18.1, js-controller: 4.0.23
                              2022-11-22 16:46:34.577 - info: zigbee.0 (1538) delete old Backup files. keep only last 10
                              2022-11-22 16:46:34.584 - info: zigbee.0 (1538) Starting Zigbee npm ...
                              2022-11-22 16:46:36.030 - info: zigbee.0 (1538) Installed Version: iobroker.zigbee@1.7.5
                              2022-11-22 16:46:56.485 - error: zigbee.0 (1538) Starting zigbee-herdsman problem : "Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)"
                              2022-11-22 16:46:56.488 - error: zigbee.0 (1538) Failed to start Zigbee
                              2022-11-22 16:46:56.490 - error: zigbee.0 (1538) Error herdsman start
                              2022-11-22 16:47:06.502 - info: zigbee.0 (1538) Try to reconnect. 1 attempts left
                              2022-11-22 16:47:06.506 - info: zigbee.0 (1538) Starting Zigbee npm ...
                              2022-11-22 16:47:06.561 - info: zigbee.0 (1538) Installed Version: iobroker.zigbee@1.7.5
                              2022-11-22 16:47:07.170 - error: zigbee.0 (1538) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
                              2022-11-22 16:47:07.174 - error: zigbee.0 (1538) Failed to start Zigbee
                              2022-11-22 16:47:07.175 - error: zigbee.0 (1538) Error herdsman start
                              
                              arteckA 1 Reply Last reply
                              0
                              • K klausiy123

                                Hallo
                                Mein cc26x2 mag, warum auch immer, nicht mehr. Vielleicht kann mir jemand helfen. Vielen Dank im voraus.

                                2022-11-22 16:46:21.405 - info: host.orangepiplus2e "system.adapter.zigbee.0" enabled
                                2022-11-22 16:46:22.201 - info: host.orangepiplus2e instance system.adapter.zigbee.0 started with pid 1538
                                2022-11-22 16:46:34.269 - info: zigbee.0 (1538) starting. Version 1.7.5 in /opt/iobroker/node_modules/iobroker.zigbee, node: v16.18.1, js-controller: 4.0.23
                                2022-11-22 16:46:34.577 - info: zigbee.0 (1538) delete old Backup files. keep only last 10
                                2022-11-22 16:46:34.584 - info: zigbee.0 (1538) Starting Zigbee npm ...
                                2022-11-22 16:46:36.030 - info: zigbee.0 (1538) Installed Version: iobroker.zigbee@1.7.5
                                2022-11-22 16:46:56.485 - error: zigbee.0 (1538) Starting zigbee-herdsman problem : "Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)"
                                2022-11-22 16:46:56.488 - error: zigbee.0 (1538) Failed to start Zigbee
                                2022-11-22 16:46:56.490 - error: zigbee.0 (1538) Error herdsman start
                                2022-11-22 16:47:06.502 - info: zigbee.0 (1538) Try to reconnect. 1 attempts left
                                2022-11-22 16:47:06.506 - info: zigbee.0 (1538) Starting Zigbee npm ...
                                2022-11-22 16:47:06.561 - info: zigbee.0 (1538) Installed Version: iobroker.zigbee@1.7.5
                                2022-11-22 16:47:07.170 - error: zigbee.0 (1538) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'"
                                2022-11-22 16:47:07.174 - error: zigbee.0 (1538) Failed to start Zigbee
                                2022-11-22 16:47:07.175 - error: zigbee.0 (1538) Error herdsman start
                                
                                arteckA Offline
                                arteckA Offline
                                arteck
                                Developer Most Active
                                wrote on last edited by
                                #89

                                @klausiy123 zieh den coordinator ab und steck den wieder rein

                                zigbee hab ich, zwave auch, nuc's genauso und HA auch

                                K 1 Reply Last reply
                                0
                                • arteckA arteck

                                  @klausiy123 zieh den coordinator ab und steck den wieder rein

                                  K Offline
                                  K Offline
                                  klausiy123
                                  wrote on last edited by
                                  #90

                                  @arteck besten Dank, das war wohl der Fehler, auch wenn ich nicht verstehe warum das nach Jahren erstmals auftrat und das Teil nie bewegt wurde.

                                  1 Reply Last reply
                                  0
                                  • G Offline
                                    G Offline
                                    Galli2k
                                    wrote on last edited by
                                    #91

                                    Hallo zusammen, auch ich bin verzweifelt den Zigbee adapter mit dem CC1352p-2 coordinator zum laufen zu bringen.
                                    Hier mal einiges was ich so gemacht hab. Ich hoffe jemand kann mir Helfen. Danke

                                    PS: ioBroker läuft auf ein LXC in Proxmox

                                    2022-12-07 18:50:59.448 - info: backitup.0 (385) [iobroker] backup was activated at 02:40 every 1 day(s)
                                    2022-12-07 18:56:16.554 - info: admin.0 (343) ==> Connected system.user.admin from ::ffff:192.168.178.68
                                    2022-12-07 18:59:17.572 - info: host.ioBroker "system.adapter.zigbee.0" enabled
                                    2022-12-07 18:59:17.587 - info: host.ioBroker instance system.adapter.zigbee.0 started with pid 416
                                    2022-12-07 18:59:18.664 - info: zigbee.0 (416) starting. Version 1.7.6 in /opt/iobroker/node_modules/iobroker.zigbee, node: v16.18.1, js-controller: 4.0.23
                                    2022-12-07 18:59:18.704 - info: zigbee.0 (416) Starting Zigbee npm ...
                                    2022-12-07 18:59:18.916 - info: zigbee.0 (416) Installed Version: iobroker.zigbee@1.7.6
                                    2022-12-07 18:59:18.953 - error: zigbee.0 (416) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: Permission denied, cannot open /dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L430042O-if00'"
                                    2022-12-07 18:59:18.954 - error: zigbee.0 (416) Failed to start Zigbee
                                    2022-12-07 18:59:18.954 - error: zigbee.0 (416) Error herdsman start
                                    2022-12-07 18:59:21.505 - info: admin.0 (343) ==> Connected system.user.admin from ::ffff:192.168.178.68
                                    2022-12-07 18:59:21.555 - error: zigbee.0 (416) getGroups: caught error: TypeError: Cannot read properties of undefined (reading 'getGroups')
                                    2022-12-07 18:59:28.956 - info: zigbee.0 (416) Try to reconnect. 1 attempts left
                                    2022-12-07 18:59:28.957 - info: zigbee.0 (416) Starting Zigbee npm ...
                                    2022-12-07 18:59:28.964 - info: zigbee.0 (416) Installed Version: iobroker.zigbee@1.7.6
                                    2022-12-07 18:59:29.047 - error: zigbee.0 (416) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: Permission denied, cannot open /dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L430042O-if00'"
                                    2022-12-07 18:59:29.048 - error: zigbee.0 (416) Failed to start Zigbee
                                    2022-12-07 18:59:29.048 - error: zigbee.0 (416) Error herdsman start
                                    2022-12-07 18:59:32.398 - info: admin.0 (343) <== Disconnect system.user.admin from ::ffff:192.168.178.68 
                                    

                                    Zigbee Adapter.png

                                    root@ioBroker:~# ls -l /dev
                                    total 0
                                    crw--w---- 1 root   tty     136, 0 Dec  7 18:50 console
                                    lrwxrwxrwx 1 root   root        11 Dec  7 18:50 core -> /proc/kcore
                                    lrwxrwxrwx 1 root   root        13 Dec  7 18:50 fd -> /proc/self/fd
                                    crw-rw-rw- 1 nobody nogroup   1, 7 Dec  7 12:41 full
                                    lrwxrwxrwx 1 root   root        12 Dec  7 18:50 initctl -> /run/initctl
                                    lrwxrwxrwx 1 root   root        28 Dec  7 18:50 log -> /run/systemd/journal/dev-log
                                    drwxrwxrwt 2 nobody nogroup     40 Dec  7 18:50 mqueue
                                    crw-rw-rw- 1 nobody nogroup   1, 3 Dec  7 12:41 null
                                    crw-rw-rw- 1 root   root      5, 2 Dec  7 19:20 ptmx
                                    drwxr-xr-x 2 root   root         0 Dec  7 18:50 pts
                                    crw-rw-rw- 1 nobody nogroup   1, 8 Dec  7 12:41 random
                                    drwxr-xr-x 3 root   root        60 Dec  7 18:50 serial
                                    drwxrwxrwt 2 root   root        40 Dec  7 18:50 shm
                                    lrwxrwxrwx 1 root   root        15 Dec  7 18:50 stderr -> /proc/self/fd/2
                                    lrwxrwxrwx 1 root   root        15 Dec  7 18:50 stdin -> /proc/self/fd/0
                                    lrwxrwxrwx 1 root   root        15 Dec  7 18:50 stdout -> /proc/self/fd/1
                                    crw-rw-rw- 1 nobody nogroup   5, 0 Dec  7 12:41 tty
                                    crw------- 1 root   tty     136, 1 Dec  7 19:20 tty1
                                    crw--w---- 1 root   tty     136, 2 Dec  7 18:50 tty2
                                    crw-rw-rw- 1 nobody nogroup 166, 0 Dec  7 12:41 ttyACM0
                                    crw-rw-rw- 1 nobody nogroup 188, 0 Dec  7 12:41 ttyUSB0
                                    crw-rw-rw- 1 nobody nogroup   1, 9 Dec  7 12:41 urandom
                                    crw-rw-rw- 1 nobody nogroup   1, 5 Dec  7 12:41 zero
                                    
                                    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                                    Bus 001 Device 004: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
                                    Bus 001 Device 003: ID 0451:bef3 Texas Instruments, Inc. CC1352R1 Launchpad
                                    Bus 001 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
                                    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                                    
                                    root@Intel:~# ls /dev/serial/by-id/
                                    usb-FTDI_FT232R_USB_UART_A90782OJ-if00-port0  usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L430042O-if00  usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L430042O-if03
                                    root@Intel:~# 
                                    
                                    root@Intel:~# ls -l /dev/serial/by-id
                                    total 0
                                    lrwxrwxrwx 1 root root 13 Dec  7 12:41 usb-FTDI_FT232R_USB_UART_A90782OJ-if00-port0 -> ../../ttyUSB0
                                    lrwxrwxrwx 1 root root 13 Dec  7 12:41 usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L430042O-if00 -> ../../ttyACM0
                                    lrwxrwxrwx 1 root root 13 Dec  7 12:41 usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L430042O-if03 -> ../../ttyACM1
                                    root@Intel:~# 
                                    
                                      GNU nano 5.4                                                                                                        100.conf                                                                                                                  
                                    arch: amd64
                                    cores: 2
                                    features: nesting=1
                                    hostname: ioBroker
                                    memory: 4096
                                    net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=1A:BA:1E:27:F0:F7,ip=dhcp,ip6=dhcp,type=veth
                                    ostype: ubuntu
                                    rootfs: local-lvm:vm-100-disk-0,size=16G
                                    swap: 512
                                    unprivileged: 1
                                    lxc.cgroup2.devices.allow: c 189:* rwm
                                    lxc.mount.entry: usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L430042O-if00 dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L430042O-if00 none bind,optional,create=file
                                    lxc.cgroup2.devices.allow: c 166:* rwm
                                    lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
                                    lxc.cgroup2.devices.allow: c 189:* rwm
                                    lxc.mount.entry: usb-FTDI_FT232R_USB_UART_A90782OJ-if00-port0 dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A90782OJ-if00-port0 none bind,optional,create=file
                                    lxc.cgroup2.devices.allow: c 188:* rwm
                                    lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
                                    
                                    
                                    AsgothianA 1 Reply Last reply
                                    0
                                    • G Galli2k

                                      Hallo zusammen, auch ich bin verzweifelt den Zigbee adapter mit dem CC1352p-2 coordinator zum laufen zu bringen.
                                      Hier mal einiges was ich so gemacht hab. Ich hoffe jemand kann mir Helfen. Danke

                                      PS: ioBroker läuft auf ein LXC in Proxmox

                                      2022-12-07 18:50:59.448 - info: backitup.0 (385) [iobroker] backup was activated at 02:40 every 1 day(s)
                                      2022-12-07 18:56:16.554 - info: admin.0 (343) ==> Connected system.user.admin from ::ffff:192.168.178.68
                                      2022-12-07 18:59:17.572 - info: host.ioBroker "system.adapter.zigbee.0" enabled
                                      2022-12-07 18:59:17.587 - info: host.ioBroker instance system.adapter.zigbee.0 started with pid 416
                                      2022-12-07 18:59:18.664 - info: zigbee.0 (416) starting. Version 1.7.6 in /opt/iobroker/node_modules/iobroker.zigbee, node: v16.18.1, js-controller: 4.0.23
                                      2022-12-07 18:59:18.704 - info: zigbee.0 (416) Starting Zigbee npm ...
                                      2022-12-07 18:59:18.916 - info: zigbee.0 (416) Installed Version: iobroker.zigbee@1.7.6
                                      2022-12-07 18:59:18.953 - error: zigbee.0 (416) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: Permission denied, cannot open /dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L430042O-if00'"
                                      2022-12-07 18:59:18.954 - error: zigbee.0 (416) Failed to start Zigbee
                                      2022-12-07 18:59:18.954 - error: zigbee.0 (416) Error herdsman start
                                      2022-12-07 18:59:21.505 - info: admin.0 (343) ==> Connected system.user.admin from ::ffff:192.168.178.68
                                      2022-12-07 18:59:21.555 - error: zigbee.0 (416) getGroups: caught error: TypeError: Cannot read properties of undefined (reading 'getGroups')
                                      2022-12-07 18:59:28.956 - info: zigbee.0 (416) Try to reconnect. 1 attempts left
                                      2022-12-07 18:59:28.957 - info: zigbee.0 (416) Starting Zigbee npm ...
                                      2022-12-07 18:59:28.964 - info: zigbee.0 (416) Installed Version: iobroker.zigbee@1.7.6
                                      2022-12-07 18:59:29.047 - error: zigbee.0 (416) Starting zigbee-herdsman problem : "Error while opening serialport 'Error: Error: Permission denied, cannot open /dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L430042O-if00'"
                                      2022-12-07 18:59:29.048 - error: zigbee.0 (416) Failed to start Zigbee
                                      2022-12-07 18:59:29.048 - error: zigbee.0 (416) Error herdsman start
                                      2022-12-07 18:59:32.398 - info: admin.0 (343) <== Disconnect system.user.admin from ::ffff:192.168.178.68 
                                      

                                      Zigbee Adapter.png

                                      root@ioBroker:~# ls -l /dev
                                      total 0
                                      crw--w---- 1 root   tty     136, 0 Dec  7 18:50 console
                                      lrwxrwxrwx 1 root   root        11 Dec  7 18:50 core -> /proc/kcore
                                      lrwxrwxrwx 1 root   root        13 Dec  7 18:50 fd -> /proc/self/fd
                                      crw-rw-rw- 1 nobody nogroup   1, 7 Dec  7 12:41 full
                                      lrwxrwxrwx 1 root   root        12 Dec  7 18:50 initctl -> /run/initctl
                                      lrwxrwxrwx 1 root   root        28 Dec  7 18:50 log -> /run/systemd/journal/dev-log
                                      drwxrwxrwt 2 nobody nogroup     40 Dec  7 18:50 mqueue
                                      crw-rw-rw- 1 nobody nogroup   1, 3 Dec  7 12:41 null
                                      crw-rw-rw- 1 root   root      5, 2 Dec  7 19:20 ptmx
                                      drwxr-xr-x 2 root   root         0 Dec  7 18:50 pts
                                      crw-rw-rw- 1 nobody nogroup   1, 8 Dec  7 12:41 random
                                      drwxr-xr-x 3 root   root        60 Dec  7 18:50 serial
                                      drwxrwxrwt 2 root   root        40 Dec  7 18:50 shm
                                      lrwxrwxrwx 1 root   root        15 Dec  7 18:50 stderr -> /proc/self/fd/2
                                      lrwxrwxrwx 1 root   root        15 Dec  7 18:50 stdin -> /proc/self/fd/0
                                      lrwxrwxrwx 1 root   root        15 Dec  7 18:50 stdout -> /proc/self/fd/1
                                      crw-rw-rw- 1 nobody nogroup   5, 0 Dec  7 12:41 tty
                                      crw------- 1 root   tty     136, 1 Dec  7 19:20 tty1
                                      crw--w---- 1 root   tty     136, 2 Dec  7 18:50 tty2
                                      crw-rw-rw- 1 nobody nogroup 166, 0 Dec  7 12:41 ttyACM0
                                      crw-rw-rw- 1 nobody nogroup 188, 0 Dec  7 12:41 ttyUSB0
                                      crw-rw-rw- 1 nobody nogroup   1, 9 Dec  7 12:41 urandom
                                      crw-rw-rw- 1 nobody nogroup   1, 5 Dec  7 12:41 zero
                                      
                                      Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                                      Bus 001 Device 004: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
                                      Bus 001 Device 003: ID 0451:bef3 Texas Instruments, Inc. CC1352R1 Launchpad
                                      Bus 001 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
                                      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                                      
                                      root@Intel:~# ls /dev/serial/by-id/
                                      usb-FTDI_FT232R_USB_UART_A90782OJ-if00-port0  usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L430042O-if00  usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L430042O-if03
                                      root@Intel:~# 
                                      
                                      root@Intel:~# ls -l /dev/serial/by-id
                                      total 0
                                      lrwxrwxrwx 1 root root 13 Dec  7 12:41 usb-FTDI_FT232R_USB_UART_A90782OJ-if00-port0 -> ../../ttyUSB0
                                      lrwxrwxrwx 1 root root 13 Dec  7 12:41 usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L430042O-if00 -> ../../ttyACM0
                                      lrwxrwxrwx 1 root root 13 Dec  7 12:41 usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L430042O-if03 -> ../../ttyACM1
                                      root@Intel:~# 
                                      
                                        GNU nano 5.4                                                                                                        100.conf                                                                                                                  
                                      arch: amd64
                                      cores: 2
                                      features: nesting=1
                                      hostname: ioBroker
                                      memory: 4096
                                      net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=1A:BA:1E:27:F0:F7,ip=dhcp,ip6=dhcp,type=veth
                                      ostype: ubuntu
                                      rootfs: local-lvm:vm-100-disk-0,size=16G
                                      swap: 512
                                      unprivileged: 1
                                      lxc.cgroup2.devices.allow: c 189:* rwm
                                      lxc.mount.entry: usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L430042O-if00 dev/serial/by-id/usb-Texas_Instruments_XDS110__03.00.00.15__Embed_with_CMSIS-DAP_L430042O-if00 none bind,optional,create=file
                                      lxc.cgroup2.devices.allow: c 166:* rwm
                                      lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
                                      lxc.cgroup2.devices.allow: c 189:* rwm
                                      lxc.mount.entry: usb-FTDI_FT232R_USB_UART_A90782OJ-if00-port0 dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A90782OJ-if00-port0 none bind,optional,create=file
                                      lxc.cgroup2.devices.allow: c 188:* rwm
                                      lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
                                      
                                      
                                      AsgothianA Offline
                                      AsgothianA Offline
                                      Asgothian
                                      Developer
                                      wrote on last edited by
                                      #92

                                      @galli2k Du hast ein Problem damit das die Berechtigungen zum zugriff auf die serielle Schnittstelle nicht ausreicht. Das ist ein Problem des LXC Setups - da musst du suchen.

                                      Mehr kann ich dazu nicht sagen - ich setze das nicht ein.

                                      A

                                      ioBroker auf RPi4 - Hardware soweit wie möglich via Zigbee.
                                      "Shit don't work" ist keine Fehlermeldung, sondern ein Fluch.

                                      G 1 Reply Last reply
                                      0
                                      • AsgothianA Asgothian

                                        @galli2k Du hast ein Problem damit das die Berechtigungen zum zugriff auf die serielle Schnittstelle nicht ausreicht. Das ist ein Problem des LXC Setups - da musst du suchen.

                                        Mehr kann ich dazu nicht sagen - ich setze das nicht ein.

                                        A

                                        G Offline
                                        G Offline
                                        Galli2k
                                        wrote on last edited by
                                        #93

                                        @asgothian Falls es jemanden helfen sollte:
                                        Ich hatte vorher beim Anlegen des Lxc im Netzwerk DHCP gewählt.
                                        Nun habe ich einen neuen Container mit einer statische IP angelegt und alles läuft wunderbar.

                                        arteckA 1 Reply Last reply
                                        0
                                        • G Galli2k

                                          @asgothian Falls es jemanden helfen sollte:
                                          Ich hatte vorher beim Anlegen des Lxc im Netzwerk DHCP gewählt.
                                          Nun habe ich einen neuen Container mit einer statische IP angelegt und alles läuft wunderbar.

                                          arteckA Offline
                                          arteckA Offline
                                          arteck
                                          Developer Most Active
                                          wrote on last edited by
                                          #94

                                          @galli2k sagte in Zigbee iobroker Error while opening serialport:

                                          Ich hatte vorher beim Anlegen des Lxc im Netzwerk DHCP gewählt.

                                          da muss noch mehr gewesen sein .. DHCP hat nix mit USB belegun gzu tun.

                                          zigbee hab ich, zwave auch, nuc's genauso und HA auch

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          607

                                          Online

                                          32.6k

                                          Users

                                          82.1k

                                          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