Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [erledigt] von Raspi 2 auf Raspi 4: Zigbee Problem

    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

    SOLVED [erledigt] von Raspi 2 auf Raspi 4: Zigbee Problem

    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User @Guest last edited by A Former User

      @Sauermann Keiner eine Lösung?

      ODER FALSCH UNTERKATEGORIEN?

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User last edited by

        DANKE AN ALLE

        es lag an der Firmware 😊 😊 😊

        Ich habe dies Firmware ohne CCDebugger / Arduino benutzt und er rennt.
        😂 😂 😂

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

          @Sauermann
          3 Fragen:

          • wie wurde umgestellt ?
          • wie wurden die Adapter auf dem Pi4 aktiviert ?
          • Welche Version des Zigbee-Adapters hast du ?

          Als Lösungsansatz kannst Du diesen versuchen.

          A.

          ? 1 Reply Last reply Reply Quote 0
          • arteck
            arteck Developer Most Active last edited by arteck

            @Sauermann sagte in Umzug von Raspi 2 auf Raspi 4: Zigbee Problem:

            Error: Error Resource temporarily unavailable Cannot lock port

            wasndas

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User @Asgothian last edited by Negalein

              @Asgothian

              wie wurde umgestellt ?

              Ich habe zwei Varianten probiert.

              1. Original Image von
              2. Installationsanleitung
              curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
              sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
              sudo reboot
              

              wie wurden die Adapter auf dem Pi4 aktiviert ?

              über admin Installation

              Welche Version des Zigbee-Adapters hast du ?

              steht oben im ersten Spoiler

              arteck 1 Reply Last reply Reply Quote 0
              • arteck
                arteck Developer Most Active @Guest last edited by arteck

                @Sauermann na und wo ist das rebuild ??? du hast nur dir das node installiert .. die Pakete müssen noch neu generiert werden

                also im Ordner /opt/iobroker /node-modules

                npm rebuild
                

                ausführen

                ? arteck 2 Replies Last reply Reply Quote 0
                • ?
                  A Former User @arteck last edited by A Former User

                  @arteck

                  Nein hatte ich noch nicht gemacht.

                  Hier der Log von heute:


                  pi@ioBroker:/opt/iobroker/node_modules $ npm rebuild

                  iobroker@2.0.3 install /opt/iobroker/node_modules/iobroker
                  node lib/checkVersions.js

                  NPM version: 6.10.3

                  iobroker@2.0.3 postinstall /opt/iobroker/node_modules/iobroker
                  node lib/install.js

                  lib/install.js is not being run as part of an installation - skipping...

                  @serialport/bindings@2.0.8 install /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings
                  prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild

                  prebuild-install WARN install No prebuilt binaries found (target=10.16.3 runtime=node arch=arm libc= platform=linux)
                  gyp ERR! clean error
                  gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
                  gyp ERR! System Linux 4.19.66-v7l+
                  gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                  gyp ERR! cwd /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport/bindings
                  gyp ERR! node -v v10.16.3
                  gyp ERR! node-gyp -v v5.0.3
                  gyp ERR! not ok
                  npm ERR! code ELIFECYCLE
                  npm ERR! errno 1
                  npm ERR! @serialport/bindings@2.0.8 install: prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
                  npm ERR! Exit status 1
                  npm ERR!
                  npm ERR! Failed at the @serialport/bindings@2.0.8 install script.
                  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

                  npm ERR! A complete log of this run can be found in:
                  npm ERR! /home/pi/.npm/_logs/2019-08-20T19_09_09_478Z-debug.log

                  brachte auch nichts

                  1 Reply Last reply Reply Quote 0
                  • arteck
                    arteck Developer Most Active @arteck last edited by arteck

                    @Sauermann
                    da stimmt was mit dem serialport nicht

                    rm -R /opt/iobroker/node_modules/iobroker.discovery/node_modules/@serialport
                    rm -R /opt/iobroker/node_modules/node_modules/@serialport
                    

                    dann sind die schon mal weg..

                    ? 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @arteck last edited by

                      @arteck
                      Danke erst einmal für Deine Hilfe.
                      Ich habe Deine Anweisungen befolgt. Brachte aber auch keinen Erfolg.
                      Ich habe keine Ahnung, warum der Stick auf einmal nicht mehr funktioniert.
                      Entweder liegt es am Raspbian-Buster oder am Raspberry PI 4.

                      Ich versuche gerade meinen alten PI 2 erneut zu beleben. Die Alarmanlage läuft leider über ZIGBEE.

                      Ich dachte Raspberry bleibt Raspberry. Sch..... mein Kopf raucht.

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User last edited by Negalein

                        Ich glaube der Stick ist defekt. Unter Raspbian-Stretch, node -v
                        v8.16.1 , nodejs -v v8.16.1 , npm -v 6.4.1 geht er plötzlich auch nicht mehr richtig.
                        LED ist anfänglich grün und geht nach einigen Sekunden aus. Auf Reset im Adapter reagiert er allerdings.

                        Kann es an der Stick Firmware liegen? Leider habe ich ihn fertig gekauft.

                        EDIT: Habe gerade zigbee2mqtt installiert und gestartet. Dabei kommt auch ein Abbruch.

                        pi@raspberrypi:/opt/zigbee2mqtt $ npm start
                        
                        > zigbee2mqtt@1.5.1 start /opt/zigbee2mqtt
                        > node index.js
                        
                         zigbee2mqtt:info 8/21/2019, 7:00:12 PM Logging to directory: '/opt/zigbee2mqtt/data/log/2019-08-21.19-00-11'
                         zigbee2mqtt:info 8/21/2019, 7:00:13 PM Starting zigbee2mqtt version 1.5.1 (commit #ac3b924)
                         zigbee2mqtt:info 8/21/2019, 7:00:13 PM Starting zigbee-shepherd
                         zigbee2mqtt:info 8/21/2019, 7:00:26 PM Error while starting zigbee-shepherd, attempting to fix... (takes 60 seconds) (Error: Timed out after 10000 ms)
                         zigbee2mqtt:info 8/21/2019, 7:01:26 PM Starting zigbee-shepherd
                         zigbee2mqtt:error 8/21/2019, 7:01:38 PM Error while starting zigbee-shepherd! (Error: request timeout)
                         zigbee2mqtt:error 8/21/2019, 7:01:38 PM Press the reset button on the stick (the one closest to the USB) and start again
                         zigbee2mqtt:error 8/21/2019, 7:01:38 PM Failed to start
                               {"message":"request timeout","stack":"Error: request timeout\n    at CcZnp.<anonymous> (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/cc-znp/index.js:208:22)\n    at Object.onceWrapper (events.js:286:20)\n    at CcZnp.emit (events.js:198:13)\n    at Timeout.<anonymous> (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/cc-znp/index.js:192:18)\n    at ontimeout (timers.js:436:11)\n    at tryOnTimeout (timers.js:300:5)\n    at listOnTimeout (timers.js:263:5)\n    at Timer.processTimers (timers.js:223:10)"}
                         zigbee2mqtt:error 8/21/2019, 7:01:38 PM Exiting...
                        npm ERR! code ELIFECYCLE
                        npm ERR! errno 1
                        npm ERR! zigbee2mqtt@1.5.1 start: `node index.js`
                        npm ERR! Exit status 1
                        npm ERR!
                        npm ERR! Failed at the zigbee2mqtt@1.5.1 start script.
                        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/pi/.npm/_logs/2019-08-21T18_01_43_865Z-debug.log
                        

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User last edited by

                          DANKE AN ALLE

                          es lag an der Firmware 😊 😊 😊

                          Ich habe dies Firmware ohne CCDebugger / Arduino benutzt und er rennt.
                          😂 😂 😂

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          620
                          Online

                          31.8k
                          Users

                          80.0k
                          Topics

                          1.3m
                          Posts

                          raspberry 4 zigbee adapter zigbee adapter cc2531
                          3
                          11
                          1432
                          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