Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Zigbee Adapter will auf einmal nicht mehr...??? Hilfe

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Zigbee Adapter will auf einmal nicht mehr...??? Hilfe

    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      Zodiac2812 last edited by

      Hallo Leute, bei mir hat sich von jetzt auf gleich sowohl mein Zigbee als auch mein Z-Wave adapter verabschiedet.... Ich habe nun auch mehrere zum Teil ältere und bis Dato immer funktionierende Backups (Komplettes SD Card Image) zum wiederherstellen probiert aber es geht nicht.
      Bekomme von Zigbee immer folgendes Log:

      zigbee.02020-11-02 16:43:29.142errorat binding.open.then.err (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12)zigbee.02020-11-02 16:43:29.142errorat SerialPort._error (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)zigbee.02020-11-02 16:43:29.142errorat SerialPort.serialPort.open (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:134:49)zigbee.02020-11-02 16:43:29.142errorat __awaiter (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:23:12)zigbee.02020-11-02 16:43:29.142errorat new Promise (<anonymous>)zigbee.02020-11-02 16:43:29.142errorat /opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:27:71zigbee.02020-11-02 16:43:29.142errorat Generator.next (<anonymous>)zigbee.02020-11-02 16:43:29.142errorat Znp.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:136:32)zigbee.02020-11-02 16:43:29.142error(611) Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'zigbee.02020-11-02 16:43:29.140error(611) Failed to start Zigbeezigbee.02020-11-02 16:43:28.933info(611) Starting Zigbee...zigbee.02020-11-02 16:43:28.932info(611) Try to reconnect. 1 attempts leftzigbee.02020-11-02 16:43:18.929errorat rejected (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:25:65)zigbee.02020-11-02 16:43:18.929errorat Generator.throw (<anonymous>)zigbee.02020-11-02 16:43:18.929errorat ZStackAdapter.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:89:31)zigbee.02020-11-02 16:43:18.929error(611) Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)zigbee.02020-11-02 16:43:18.917error(611) Failed to start Zigbee
      Kann da jemand etwas mit anfangen oder kennt den Fehler?
      Vielen Dank ...
      VG
      Daniel

      Thomas Braun Asgothian 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Zodiac2812 last edited by

        @Zodiac2812
        Kannst du das bitte in CodeTags packen?
        Danke.

        1 Reply Last reply Reply Quote 0
        • Asgothian
          Asgothian Developer @Zodiac2812 last edited by

          @Zodiac2812 sagte in Zigbee Adapter will auf einmal nicht mehr...??? Hilfe:

          Hallo Leute, bei mir hat sich von jetzt auf gleich sowohl mein Zigbee als auch mein Z-Wave adapter verabschiedet....

          Von jetzt auf gleich glaub ich nicht.

          Was hast du gemacht bevor die Adapter nicht mehr gingen ?

          A.

          1 Reply Last reply Reply Quote 0
          • Z
            Zodiac2812 last edited by

            Ich habe wirklich nichts gemacht, zuvor habe ich alles Upgedatet inkl. Node JS etc. also alles mal wieder auf den neusten Stand. Mache aber auch davor immer Backups in Form eines kompletten SD Karten Images nur zur Sicherheit (Dann gibt es immer einen Weg zurück)

            Jetzt helfen aber auch die alten Images nicht mehr....

            Sorry hier jetzt übersichtlicher:

            igbee.0	2020-11-03 15:17:09.623	error	at binding.open.then.err (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12)
            zigbee.0	2020-11-03 15:17:09.623	error	at SerialPort._error (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)
            zigbee.0	2020-11-03 15:17:09.623	error	at SerialPort.serialPort.open (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:134:49)
            zigbee.0	2020-11-03 15:17:09.623	error	at __awaiter (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:23:12)
            zigbee.0	2020-11-03 15:17:09.623	error	at new Promise (<anonymous>)
            zigbee.0	2020-11-03 15:17:09.623	error	at /opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:27:71
            zigbee.0	2020-11-03 15:17:09.623	error	at Generator.next (<anonymous>)
            zigbee.0	2020-11-03 15:17:09.623	error	at Znp.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:136:32)
            zigbee.0	2020-11-03 15:17:09.623	error	(1951) Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'
            zigbee.0	2020-11-03 15:17:09.621	error	(1951) Failed to start Zigbee
            zigbee.0	2020-11-03 15:17:09.396	info	(1951) Starting Zigbee...
            zigbee.0	2020-11-03 15:17:09.395	info	(1951) Try to reconnect. 1 attempts left
            zigbee.0	2020-11-03 15:16:59.393	error	at rejected (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:25:65)
            zigbee.0	2020-11-03 15:16:59.393	error	at Generator.throw (<anonymous>)
            zigbee.0	2020-11-03 15:16:59.393	error	at ZStackAdapter.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/adapter/zStackAdapter.js:89:31)
            zigbee.0	2020-11-03 15:16:59.393	error	(1951) Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
            zigbee.0	2020-11-03 15:16:59.391	error	(1951) Failed to start Zigbee
            zigbee.0	2020-11-03 15:16:39.435	info	(1951) Starting Zigbee...
            zigbee.0	2020-11-03 15:16:39.378	info	(1951) starting. Version 1.2.1 in /opt/iobroker/node_modules/iobroker.zigbee, node: v10.20.0
            host.raspberrypi	2020-11-03 15:16:35.675	info	instance system.adapter.zigbee.0 started with pid 1951
            host.raspberrypi	2020-11-03 15:16:33.687	info	instance system.adapter.zigbee.0 terminated with code 156 (156)
            host.raspberrypi	2020-11-03 15:16:33.687	error	Caught by controller[1]: (node:1933) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js proce
            host.raspberrypi	2020-11-03 15:16:33.687	error	Caught by controller[1]: (node:1933) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by r
            host.raspberrypi	2020-11-03 15:16:33.686	error	Caught by controller[0]: at stop (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:7226:22)
            host.raspberrypi	2020-11-03 15:16:33.686	error	Caught by controller[0]: at Zigbee.emit (events.js:198:13)
            host.raspberrypi	2020-11-03 15:16:33.686	error	Caught by controller[0]: at Zigbee.onUnload (/opt/iobroker/node_modules/iobroker.zigbee/main.js:438:41)
            host.raspberrypi	2020-11-03 15:16:33.685	error	Caught by controller[0]: at ZigbeeController.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:302:20)
            host.raspberrypi	2020-11-03 15:16:33.685	error	Caught by controller[0]: at ZigbeeController.callExtensionMethod (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:185:42)
            host.raspberrypi	2020-11-03 15:16:33.685	error	Caught by controller[0]: at DeviceAvailability.stop (/opt/iobroker/node_modules/iobroker.zigbee/lib/zbDeviceAvailability.js:118:43)
            host.raspberrypi	2020-11-03 15:16:33.684	error	Caught by controller[0]: at ZigbeeController.getClients (/opt/iobroker/node_modules/iobroker.zigbee/lib/zigbeecontroller.js:199:49)
            host.raspberrypi	2020-11-03 15:16:33.684	error	Caught by controller[0]: at Controller.getDevices (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/controller.js:231:31)
            host.raspberrypi	2020-11-03 15:16:33.683	error	Caught by controller[0]: at Function.all (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:234:16)
            host.raspberrypi	2020-11-03 15:16:33.683	error	Caught by controller[0]: at Function.loadFromDatabaseIfNecessary (/opt/iobroker/node_modules/zigbee-herdsman/dist/controller/model/device.js:214:55)
            host.raspberrypi	2020-11-03 15:16:33.682	error	Caught by controller[0]: (node:1933) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'getEntries' of null
            
            Thomas Braun Asgothian JLeg 3 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Zodiac2812 last edited by

              @Zodiac2812 sagte in Zigbee Adapter will auf einmal nicht mehr...??? Hilfe:

              node: v10.20.0

              Würde ich auf node12 bringen.

              1 Reply Last reply Reply Quote 0
              • Asgothian
                Asgothian Developer @Zodiac2812 last edited by

                @Zodiac2812 sagte in Zigbee Adapter will auf einmal nicht mehr...??? Hilfe:

                Ich habe wirklich nichts gemacht, zuvor habe ich alles Upgedatet inkl. Node JS etc. also alles mal wieder auf den neusten Stand. Mache aber auch davor immer Backups in Form eines kompletten SD Karten Images nur zur Sicherheit (Dann gibt es immer einen Weg zurück)
                Jetzt helfen aber auch die alten Images nicht mehr....

                Das ist nicht "nichts gemacht".

                Durch das Update von NodeJS ist die SerialPort Library veraltet. Diese musst du durch "npm rebuild" (auszuführen im /opt/iobroker Verzeichnis) neu übersetzen.

                Dann geht es auch mit der seriellen Schnittstelle.

                A.

                1 Reply Last reply Reply Quote 0
                • JLeg
                  JLeg @Zodiac2812 last edited by

                  @Zodiac2812 sagte in Zigbee Adapter will auf einmal nicht mehr...??? Hilfe:

                  Jetzt helfen aber auch die alten Images nicht mehr....

                  sowas wie "Error Resource temporarily unavailable Cannot lock port" hatte ich auch schon ab und zu mal, das war aber nie per "Software" (Restore, "Images", Update etc.) zu beheben, sondern immer nur durch "Hardware" (Zigbee-Stick abziehen, bzw. bei mir auch LXC-Container neu starten).

                  1 Reply Last reply Reply Quote 0
                  • Z
                    Zodiac2812 last edited by

                    Habe jetzt mal das neue Image wieder drauf gezogen mit allem aktuell...
                    nun habe ich mal den Zwave Stick raus gelassen und nur den Zigbee Stick versucht zu starten.
                    Funktioniert.

                    Wenn ich den Zigbe Stick entferne und nur den Zwave Stick versuche kommt wieder ein Fehler:

                    host.raspberrypi	2020-11-03 16:20:26.155	info	Restart adapter system.adapter.zwave.0 because enabled
                    host.raspberrypi	2020-11-03 16:20:26.154	info	instance system.adapter.zwave.0 terminated with code 0 (NO_ERROR)
                    zwave.0	2020-11-03 16:20:25.618	info	(1406) Terminated (NO_ERROR): Without reason
                    zwave.0	2020-11-03 16:20:25.615	info	(1406) terminating
                    zwave.0	2020-11-03 16:20:25.529	error	(1406) Error: The module '/opt/iobroker/node_modules/openzwave-shared/build/Release/openzwave_shared.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 64. This version o
                    zwave.0	2020-11-03 16:20:25.527	error	(1406) uncaught exception: The module '/opt/iobroker/node_modules/openzwave-shared/build/Release/openzwave_shared.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 64. T
                    zwave.0	2020-11-03 16:20:24.143	info	(1406) starting. Version 2.0.1 in /opt/iobroker/node_modules/iobroker.zwave, node: v12.19.0, js-controller: 3.1.6
                    host.raspberrypi	2020-11-03 16:20:21.482	info	instance system.adapter.zwave.0 started with pid 1406
                    host.raspberrypi	2020-11-03 16:19:51.468	info	Restart adapter system.adapter.zwave.0 because enabled
                    host.raspberrypi	2020-11-03 16:19:51.467	info	instance system.adapter.zwave.0 terminated with code 0 (NO_ERROR)
                    

                    Oder hat der Zwave Stick einen Weg?

                    NPM rebuild habe ich durchgeführt nach den Updates --> Es hat ja auch zunächst funktioniert aber 2 Tage später nicht mehr...Oder muss ich den Befehl in einem speziellen Ordner ausführen?

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Zodiac2812 last edited by

                      @Zodiac2812 sagte in Zigbee Adapter will auf einmal nicht mehr...??? Hilfe:

                      was compiled against a different Node.js version using NODE_MODULE_VERSION 64.

                      iobroker rebuild
                      

                      probieren.

                      Z 1 Reply Last reply Reply Quote 0
                      • Z
                        Zodiac2812 @Thomas Braun last edited by

                        @Thomas-Braun Dann meldet er mir

                        Type Error: cannot read property ìndexof`of undefinded
                                          
                        

                        💆‍♂️ son ***

                        Da ja auch neu aufsetzen nix hilft muss es doch theoretisch was mit der Hardware zu tun haben oder?

                        Thomas Braun AlCalzone 2 Replies Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Zodiac2812 last edited by

                          @Zodiac2812
                          Im Moment weiß ich nicht wie du da aufgestellt bist. Zeig mal die Ausgabe von:

                          which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                          
                          1 Reply Last reply Reply Quote 0
                          • AlCalzone
                            AlCalzone Developer @Zodiac2812 last edited by AlCalzone

                            npm rebuild muss genau wie npm install im richtigen Ordner ausgeführt werden. In übergeordneten Ordnern hatte ich schon oft den Fall, dass npm rebuild einfach nichts wirklich tut.

                            Das Modul, was neu kompiliert werden muss, liegt in /opt/iobroker/node_modules/openzwave-shared (immer das erste Verzeichnis nach dem letzten node_modules)
                            Also:

                            cd /opt/iobroker/node_modules/openzwave-shared
                            npm rebuild
                            

                            oder

                            cd /opt/iobroker/node_modules/openzwave-shared
                            npm install --production
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @AlCalzone last edited by

                              @AlCalzone
                              Stimmt.
                              Zuunterst muss aber nodeJS auch sauber sein.

                              1 Reply Last reply Reply Quote 0
                              • Z
                                Zodiac2812 last edited by

                                @AlCalzone sagte in Zigbee Adapter will auf einmal nicht mehr...??? Hilfe:

                                cd /opt/iobroker/node_modules/openzwave-shared
                                npm rebuild

                                Nodejs 12.19.0
                                npm 6.14.8

                                in dem Verzeichnis schreibt er done und das wars.

                                Was aber extrem auffällt ist, sobald der Zwave Stick drin ist, streikt auch einfach der
                                Zigbee Stick (beide in USB Ports) sobald der ZMEEUZB Stick raus ist und ich den Pi
                                neu starte läuft Zigbee wieder... als ob de Zwave Stick nen Fehler auf den Serial Port
                                speist...?

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Zodiac2812 last edited by

                                  @Zodiac2812

                                  which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                  
                                  Z 1 Reply Last reply Reply Quote 0
                                  • Z
                                    Zodiac2812 @Thomas Braun last edited by

                                    @Thomas-Braun sagte in Zigbee Adapter will auf einmal nicht mehr...??? Hilfe:

                                    which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs

                                    pi@raspberrypi:~ $ which nodejs && nodejs -v && which node && node -v && which n                                                                             pm && npm -v && apt policy nodejs
                                    /usr/bin/nodejs
                                    v12.19.0
                                    /usr/bin/node
                                    v12.19.0
                                    /usr/bin/npm
                                    6.14.8
                                    nodejs:
                                      Installiert:           12.19.0-1nodesource1
                                      Installationskandidat: 12.19.0-1nodesource1
                                      Versionstabelle:
                                     *** 12.19.0-1nodesource1 500
                                            500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                            100 /var/lib/dpkg/status
                                         10.21.0~dfsg-1~deb10u1+rpi1 500
                                            500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                    
                                    
                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      FlUtZ @Zodiac2812 last edited by

                                      @Zodiac2812
                                      Konntest du dein Problem mittlerweile beheben? Ich kämpfe mit dem gleichen scheiß. Gefühlt ist mein Adapter aber ausgestiegen, als ich im Obergeschoss den FI ausgelöst habe. Dort hängt eine Zigbee-Steckdose im Netz, ich bild mir ein, dass danach nichts mehr ging.

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate
                                      FAQ Cloud / IOT
                                      HowTo: Node.js-Update
                                      HowTo: Backup/Restore
                                      Downloads
                                      BLOG

                                      896
                                      Online

                                      31.9k
                                      Users

                                      80.1k
                                      Topics

                                      1.3m
                                      Posts

                                      zigbee adapter
                                      6
                                      17
                                      1805
                                      Loading More Posts
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      Community
                                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                      The ioBroker Community 2014-2023
                                      logo