Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Zigbee iobroker Error while opening serialport

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.5k

Zigbee iobroker Error while opening serialport

Geplant Angeheftet Gesperrt Verschoben Error/Bug
231 Beiträge 28 Kommentatoren 45.7k Aufrufe 24 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Y Yoshi

    @asgothian said in Zigbee iobroker Error while opening serialport:

    ps -ax | grep -e deconz

    16936 pts/0    S+     0:00 grep --color=auto -e deconz
    
    AsgothianA Offline
    AsgothianA Offline
    Asgothian
    Developer
    schrieb am zuletzt editiert von
    #74

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

    Danach nochmal den Adapter starten.

    A.

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

    Y 1 Antwort Letzte Antwort
    0
    • 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
      schrieb am zuletzt editiert von
      #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 Antworten Letzte Antwort
      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
        schrieb am zuletzt editiert von
        #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 Antwort Letzte Antwort
        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
          schrieb am zuletzt editiert von
          #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 Antwort Letzte Antwort
          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
            schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @yoshi

              systemctl status deconz deconz-gui
              
              Y Offline
              Y Offline
              Yoshi
              schrieb am zuletzt editiert von
              #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 Antwort Letzte Antwort
              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
                schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                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
                  schrieb am zuletzt editiert von
                  #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 Antwort Letzte Antwort
                  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
                    schrieb am zuletzt editiert von
                    #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 Antwort Letzte Antwort
                    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
                      schrieb am zuletzt editiert von
                      #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 Antwort Letzte Antwort
                      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
                        schrieb am zuletzt editiert von
                        #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 Antwort Letzte Antwort
                        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
                          schrieb am zuletzt editiert von
                          #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 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

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

                            AsgothianA Offline
                            AsgothianA Offline
                            Asgothian
                            Developer
                            schrieb am zuletzt editiert von
                            #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 Antwort Letzte Antwort
                            0
                            • H Offline
                              H Offline
                              Harry87
                              schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                              2
                              • K Offline
                                K Offline
                                klausiy123
                                schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                                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
                                  schrieb am zuletzt editiert von
                                  #89

                                  @klausiy123 zieh den coordinator ab und steck den wieder rein

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

                                  K 1 Antwort Letzte Antwort
                                  0
                                  • arteckA arteck

                                    @klausiy123 zieh den coordinator ab und steck den wieder rein

                                    K Offline
                                    K Offline
                                    klausiy123
                                    schrieb am zuletzt editiert von
                                    #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 Antwort Letzte Antwort
                                    0
                                    • G Offline
                                      G Offline
                                      Galli2k
                                      schrieb am zuletzt editiert von
                                      #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 Antwort Letzte Antwort
                                      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
                                        schrieb am zuletzt editiert von
                                        #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 Antwort Letzte Antwort
                                        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
                                          schrieb am zuletzt editiert von
                                          #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 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          775

                                          Online

                                          32.4k

                                          Benutzer

                                          81.6k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe