Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Zigbee Adapter Problem nach Update

    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

    UNSOLVED Zigbee Adapter Problem nach Update

    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DocGame @Thomas Braun last edited by

      @Thomas-Braun
      Fällt dir auch nichts mehr ein ?

      D 1 Reply Last reply Reply Quote 0
      • D
        DocGame @DocGame last edited by DocGame

        Wie bekomme ich denn die alte Instasllation des Adapters komplett weg?
        Unter Adapter steht nicht installiert.
        In den Instanzen habe ich ihn gelöscht.
        Ordner zogbee.0 im iobroker-data verzeichnis gelöscht.
        zigbee.admin in files gelöscht.

        Es klappt trotzdem nicht mit der Adapter Neuinstallation.

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

          @DocGame

          iobroker del zigbee
          

          Von Hand fummelt man da nicht im Dateisystem herum.

          D 1 Reply Last reply Reply Quote 0
          • D
            DocGame @Thomas Braun last edited by

            @Thomas-Braun sagte in Zigbee Adapter Problem nach Update:

            iobroker del zigbee

            ich bin verzweifelt....sonst hätte ich das nicht versucht. Hier hängt wirklich alles dran (Vielleicht auch ein Fehler....)
            Hier der CL Log:

            C:\iobroker_NUC\SHome>iobroker del zigbee
            Delete adapter "zigbee"
            host.DESKTOP-24U17KH(SHome) Counted 1 instances of zigbee
            host.DESKTOP-24U17KH(SHome) Counted 1 meta of zigbee
            host.DESKTOP-24U17KH(SHome) Counted 1 adapter for zigbee
            host.DESKTOP-24U17KH(SHome) Counted 35 devices of zigbee
            host.DESKTOP-24U17KH(SHome) Counted 1 channels of zigbee
            host.DESKTOP-24U17KH(SHome) Counted 365 states of zigbee
            host.DESKTOP-24U17KH(SHome) Counted 14 states of system.adapter.zigbee
            host.DESKTOP-24U17KH(SHome) Counted 260 states (io.zigbee.*) from states
            host.DESKTOP-24U17KH(SHome) Counted 12 states (system.adapter.zigbee.*) from states
            host.DESKTOP-24U17KH(SHome) file zigbee.admin deleted
            host.DESKTOP-24U17KH(SHome) object zigbee.admin deleted
            host.DESKTOP-24U17KH(SHome) Deleting 418 object(s).
            host.DESKTOP-24U17KH(SHome): Only 400 objects left to be deleted.
             Cannot write files: C:\iobroker_NUC\SHome\iobroker-data\files\zigbee.admin\_data.json: ENOENT: no such file or directory, open 'C:\iobroker_NUC\SHome\iobroker-data\files\zigbee.admin\_data.json'
            host.DESKTOP-24U17KH(SHome): Only 200 objects left to be deleted.
            host.DESKTOP-24U17KH(SHome) Deleting 272 state(s).
            host.DESKTOP-24U17KH(SHome): Only 200 states left to be deleted.
            Error deleting adapter zigbee from disk: Error: Cannot find module 'iobroker.zigbee/io-package.json'
            Require stack:
            - C:\iobroker_NUC\SHome\node_modules\iobroker.js-controller\lib\setup\setupInstall.js
            - C:\iobroker_NUC\SHome\node_modules\iobroker.js-controller\lib\setup.js
            - C:\iobroker_NUC\SHome\node_modules\iobroker.js-controller\iobroker.js
            You might have to delete it yourself!
            

            und hier der neuinstallationsversuch:

            $ ./iobroker add zigbee  --host DESKTOP-24U17KH(SHome)
            NPM version: 6.14.6
            npm install iobroker.zigbee@1.2.1 --loglevel error (System call)
            gyp
             ERR! UNCAUGHT EXCEPTION gyp ERR! stack
             TypeError: tar.extract is not a functiongyp ERR! stack     at Request.<anonymous> (C:\iobroker_NUC\SHome\nodejs\node_modules\npm\node_modules\node-gyp\lib\install.js:199:22)gyp ERR! stack     at Request.emit (events.js:327:22)gyp ERR! stack     at Request.onRequestResponse (C:\iobroker_NUC\SHome\nodejs\node_modules\npm\node_modules\request\request.js:1066:10)gyp ERR! stack     at ClientRequest.emit (events.js:315:20)gyp ERR! stack     at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:596:27)gyp ERR! stack     at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)gyp ERR! stack     at TLSSocket.socketOnData (_http_client.js:469:22)gyp ERR! stack     at TLSSocket.emit (events.js:315:20)gyp ERR! stack     at addChunk (_stream_readable.js:295:12)gyp ERR! stack     at readableAddChunk (_stream_readable.js:271:9)
            gyp ERR! System Windows_NT 10.0.19041gyp ERR! command "C:\\iobroker_NUC\\SHome\\nodejs\\node.exe" "C:\\iobroker_NUC\\SHome\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"gyp ERR! cwd C:\iobroker_NUC\SHome\node_modules\zigbee-herdsman\node_modules\@serialport\bindingsgyp ERR! node -v
             v12.18.3gyp ERR! node-gyp -v v5.1.0gyp ERR! This is a bug in `node-gyp`.gyp ERR! Try to update node-gyp and file an Issue if it does not help:gyp ERR!     <https://github.com/nodejs/node-gyp/issues>
            npm
             ERR! code ELIFECYCLEnpm ERR! errno 7
            npm
             ERR! @serialport/bindings@9.0.2 install: `prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild`npm ERR! Exit status 7npm ERR! npm ERR! Failed at the @serialport/bindings@9.0.2 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!     C:\iobroker_NUC\SHome\env\npm-cache\_logs\2020-10-26T17_07_58_405Z-debug.log
            ERROR: host.DESKTOP-24U17KH(SHome) Cannot install iobroker.zigbee@1.2.1: 7
            ERROR: process exited with code 25
            
            Thomas Braun Asgothian 2 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @DocGame last edited by Thomas Braun

              @DocGame sagte in Zigbee Adapter Problem nach Update:

              Ich bin raus, Windows ist mir auch zu fremd.
              Google wirft das raus, ist allerdings Linux-lastig:

              https://github.com/nodejs/node-gyp/issues/1871

              I think this is normally a sign of mixed installs - one version is trying to use code from another - or an install that didn't properly overwrite an older install (there was a bug a while back with npm that caused this exact error because upgrading npm didn't wipe out older files and directories, leaving a jumbled mess).
              Clean out your global npm installs, it's going to be /usr/local/lib/node_modules or /usr/lib/node_modules - npm config get prefix shows you the first part of this and it'll depend on how Node was installed on your machine. Just blow that whole directory away because you're going to reinstall anyway. There may be global commands you installed with npm install -g which will be dangling symlinks to subdirectories of that directory, look in the bin with the same root, so /usr/local/bin/ or /usr/bin and look for symlinks that have node_modules in them and get rid of them. If you care about the things you installed globall, take not of them so you can reinstall later.
              Remove node, nodejs, npm, node-gyp from your system package manager (apt, dnf, yum, apk, etc.). Full purge, leave nothing, these cause too much chaos with the way npm handles dependencies.
              Install Node from somewhere other than your package manager, I recommend using the NodeSource distributions: https://github.com/nodesource/distributions for servers but the Snap (maintained by me) https://snapcraft.io/node for development systems (I can't understate how nice it is to have the latest version of my chosen release line without asking for it on my dev machine). You could also take a more manual approach such as https://gist.github.com/rvagg/742f811be491a49ba0b9

              bitcoinvsalts created this issue in nodejs/node-gyp

              closed gyp ERR! stack TypeError: tar.extract is not a function #1871

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

                @DocGame
                Verifiziere doch bitte mal das genau eine nodejs und node version auf dem System vorhanden sind. Das gleiche mit npm.

                Auch die Frage - führst du den Befehl wirklich in dem Verzeichnis aus, in dem sich zum ioBroker auch die node_modules befinden ?

                A

                D 2 Replies Last reply Reply Quote 0
                • D
                  DocGame @Asgothian last edited by

                  @Asgothian
                  in meiner panik habe ich über den installer noch eine Instanz installiert wie kann ich die wieder löschen?

                  1 Reply Last reply Reply Quote 0
                  • D
                    DocGame @Asgothian last edited by DocGame

                    @Asgothian
                    Erkennst du hierauf was?
                    Verzeichnis.PNG
                    CL.PNG

                    In der Info steht folgendes:
                    Plattform: Windows
                    Betriebssystem: win32
                    Die Architektur: x64
                    CPUs: 6
                    Geschwindigkeit: 2208 MHz
                    Modell: Intel(R) Core(TM) i5-9500T CPU @ 2.20GHz
                    RAM: 7.8 GB
                    System-Betriebszeit: 00:00:00
                    Node.js: v12.18.3
                    NPM: 6.14.8
                    Adapter-Anzahl: 308
                    Datenträgergröße: 237.5 GiB
                    Datenträger verfügbar: 155.6 GiB
                    Betriebszeit: 00:07:22
                    Aktive Instanzen: 36

                    Alle Anderen Adapter sind grün.
                    Wo finde ich Infos zu Node?

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      DocGame @DocGame last edited by

                      Wenn ich ein Backup einspiele(Iobroker und Zigbee) ist zwar die Instanz da (rot) aber unter Adapter steht keine installierte Instanz.

                      Asgothian D 2 Replies Last reply Reply Quote 0
                      • Asgothian
                        Asgothian Developer @DocGame last edited by

                        @DocGame such doch mal nach node.exe. (ich bin kein Windows Experte.. sorry)

                        was genau hast du ein 2. mal installiert ? node oder nen iobroker ?

                        A

                        1 Reply Last reply Reply Quote 0
                        • D
                          DocGame @DocGame last edited by

                          den iobroker über den Windowsinstaller. Aber erst vorhin, das wird nichts mit dem Problem zu tun haben. Will die Neue später nur wieder loswerden.
                          Ich habe woanders gelesen, dass ich node-gyp installieren soll.
                          Dann kommt folgende Meldung:

                          C:\iobroker_NUC\SHome>npm install -g node-gyp
                          npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                          npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                          C:\iobroker_NUC\SHome\env\npm\node-gyp -> C:\iobroker_NUC\SHome\env\npm\node_modules\node-gyp\bin\node-gyp.js
                          + node-gyp@7.1.2
                          added 96 packages from 66 contributors in 6.297s
                          
                          mikeal created this issue in request/request

                          open Request’s Past, Present and Future #3142

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

                            @DocGame hast du ein Backup der Konfiguration und der Skripte ?

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              DocGame @Asgothian last edited by

                              @Asgothian
                              Ja sowohl über den Backup-Adapter, als auch das exportieren der Scripts und das sichern des iobroker-data Verzeichnisses

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

                                @DocGame Windows 10 ? Dann installier dir doch mal nach der Anleitung die hier ist einen Docker container mit iobroker. Der läuft unabhängig von dem was du bei Windows installiert hast.

                                https://github.com/buanet/docker-iobroker

                                dann kannst du erst einmal den/die installierten iobroker stoppen, zur Not über den Taskmanager, und schaust ob du das ganze im Docker zum Laufen bekommst. Wenn es läuft kannst du das im Windows installierte loeschen und dann schauen ob du mit dem Docker Zeugs weiter machen willst oder nochmal nativ unter Windows installierst.

                                A.

                                D 1 Reply Last reply Reply Quote 0
                                • D
                                  DocGame @Asgothian last edited by

                                  @Asgothian Oh je... auf die schnelle blick ich das nicht.
                                  Zu allem Unglück ist jetzt gerade meine Frau gekommen und steht schreiend im dunkeln Flur.
                                  Muss mal Kerzen suchen und sie beruhigen. Vielleicht kommt ja noch ein Tip (der entscheidende und hoffentlich einfache) bis ich wieder vor dem PC sitze.

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

                                    @DocGame ich schau mal ob ich eine step by step Anleitung zur Installation finde. Es gibt eine.

                                    A.

                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      DocGame @Asgothian last edited by

                                      @Asgothian Habe jetzt auch noch auf Node.js v12.19.0 upgedatet. Es ist nach wie vor das gleiche....alles ist grün nur Zigbee nicht. Nach den 2 Updates mit dem Backup-Adapter ist zwar die Instanz da, da aber bei Adapter nichts ist bringt das natürlich wenig. Ich werde morgen einen halben Tag Urlaub machen und versuchen das ganze neu aufzusetzen. Wie bekomme ich die bestehenden 2 Instanzen vom iobroker am besten restlos entfernt damit sich nicht poch ein Dienst wo versteckt oder der Port ins Nirwana umgeleitet wird?

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

                                        @DocGame
                                        Ich mach das eigentlich immer in 2 Schritten:

                                        • im Admin (Instanz Ansicht) die Instanzen löschen
                                        • Sicherstellen das die Objekte im Objektbaum weg sind
                                        • dann die Bibliotheken über npm entfernen:

                                        im Verzeichnis wo der ioBroker installiert ist

                                        • npm remove iobroker.zigbee
                                        • npm remove zigbee-shepherd-converters
                                        D 2 Replies Last reply Reply Quote 0
                                        • D
                                          DocGame @Asgothian last edited by

                                          @Asgothian Hat leider alles nichts gebracht...
                                          Ich habe heute Urlaub gemacht und den ganzen Tag gebastelt. Am Ende habe ich alles alte geplättet und den iobroker komplett neu aufgesetzt. Gerade Habe ich die letzten Geräte angelernt. 😁
                                          Trotzdem vielen Dank für eure Tips.

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            DocGame @Asgothian last edited by

                                            @Asgothian
                                            Der Tread hat sich eigentlich erledigt. Eines ist mir noch aufgefallen.
                                            Du bist doch auch recht aktiv im Zigbee-Adapter.
                                            Ich habe viele Opple-Taster (1,2 und 3 fach) im einsatz. Lief alles sehr gut. Seit dem neu aufsetzen kommen jede Menge Meldungen im Log.
                                            Sagen dir die Meldungen was? Irgendwie will er nur noch den Single Click. Adapterversion ist V1.21

                                            2020-10-27 19:18:12.805 - info: iot.0 (1280) Request devices
                                            2020-10-27 19:21:34.979 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_1_double'
                                            2020-10-27 19:21:38.345 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_1_hold'
                                            2020-10-27 19:21:42.456 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_1_triple'
                                            2020-10-27 19:21:45.013 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_2_click'
                                            2020-10-27 19:21:47.438 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_2_double'
                                            2020-10-27 19:21:49.754 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_2_hold'
                                            2020-10-27 19:21:51.636 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_2_triple'
                                            2020-10-27 19:21:54.290 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_3_click'
                                            2020-10-27 19:21:55.304 - info: javascript.0 (8336) script.js.Bot-Scripts.Batterie_Telegramm: {"id":"mihome.0.devices.weather_v1_158d000346b780.percent","newState":{"val":62.4,"ts":1603822915303,"ack":true,"lc":1603822915303,"from":"system.adapter.mihome.0","q":0},"oldState":{"val":64.2,"ts":1603819539812,"ack":true,"lc":1602532744265,"from":"system.adapter.mihome.0","q":0},"state":{"val":62.4,"ts":1603822915303,"ack":true,"lc":1603822915303,"from":"system.adapter.mihome.0","q":0}}
                                            2020-10-27 19:21:56.984 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_3_double'
                                            2020-10-27 19:21:59.909 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_3_hold'
                                            2020-10-27 19:22:04.028 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_3_triple'
                                            2020-10-27 19:22:06.342 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_4_double'
                                            2020-10-27 19:22:08.600 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_4_hold'
                                            2020-10-27 19:22:10.976 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_4_triple'
                                            2020-10-27 19:22:14.169 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_5_double'
                                            2020-10-27 19:22:16.062 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_5_hold'
                                            2020-10-27 19:22:17.935 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_5_triple'
                                            2020-10-27 19:22:22.424 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_6_double'
                                            2020-10-27 19:22:25.035 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_6_hold'
                                            2020-10-27 19:22:26.950 - error: zigbee.0 (17972) No converter available for 'WXCJKG13LM' with key 'button_6_triple'
                                            
                                            
                                            arteck 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            877
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            zigbee-adapter
                                            6
                                            66
                                            3596
                                            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