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.
    • 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

                            865
                            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