Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. Unterputzaktor mit ZigBee funktioniert nicht richtig

    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

    Unterputzaktor mit ZigBee funktioniert nicht richtig

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

      @Asgothian Ich habe jetzt noch node js aktualisiert von 10 auf 12. Leider funktioniert mein ZigBee Adapter jetzt aber nicht mehr. Der bleibt auf rot 😖

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

        @Maatjes Hast du nach dem Update von Node 10 auf Node 12 ein "npm rebuild" durchgeführt ?

        A.

        M 1 Reply Last reply Reply Quote 0
        • M
          Maatjes @Asgothian last edited by

          @Asgothian Nein, wie geht das?

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

            @Maatjes

            • per ssh auf die Konsole
            • ins Verzeichnis /opt/iobroker
            • sudo npm rebuild

            warten.

            A.

            M 1 Reply Last reply Reply Quote 0
            • M
              Maatjes @Asgothian last edited by

              @Asgothian Okay, habe ich gemacht. Kann es auch sein, dass wenn man "npm rebuild" nicht gemacht hat, der zigbee adapter plötzlich nicht mehr funktioniert?

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

                @Maatjes Kann nicht nur, muss - zumindest bei einem Update von NodeJS

                Der Zigbee Adapter nutzt die Bibliothek "serialport". Diese muss als Hardwarenahe Bibliothek mit der aktuell verwendeten nodeJS Bibliothek übersetzt werden, sonst kann sie nicht auf die Hardware zugreifen.

                A.

                M 1 Reply Last reply Reply Quote 0
                • M
                  Maatjes @Asgothian last edited by

                  @Asgothian

                  Nach dem Rebuild habe ich folgende Error bekommen:

                  prebuild-install WARN install EACCES: permission denied, access '/root/.npm'
                  gyp ERR! clean error 
                  gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
                  gyp ERR! System Linux 5.4.79-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/@serialport/bindings
                  gyp ERR! node -v v12.20.1
                  gyp ERR! node-gyp -v v5.1.0
                  gyp ERR! not ok 
                  npm ERR! code ELIFECYCLE
                  npm ERR! errno 1
                  npm ERR! @serialport/bindings@9.0.4 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`
                  npm ERR! Exit status 1
                  npm ERR! 
                  npm ERR! Failed at the @serialport/bindings@9.0.4 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!     /root/.npm/_logs/2021-01-06T18_06_28_867Z-debug.log
                  

                  Was hat das zu bedeuten?

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

                    @Maatjes

                    sicher bin ich nicht. Er beschwert sich darüber das er ein Verzeichnis nicht löschen kann.

                    A.

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      Maatjes @Asgothian last edited by

                      @Asgothian da aber alles funktioniert scheint es nicht so schlimm zu sein. Ich bin froh dass ich endlich so weit gekommen bin.

                      Vielen Dank!

                      [Close]

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        Maatjes @Maatjes last edited by

                        [Gelöst]

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        780
                        Online

                        31.8k
                        Users

                        79.9k
                        Topics

                        1.3m
                        Posts

                        licht unterputzaktor zigbee
                        2
                        18
                        530
                        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