Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. ham.homebridge-devolo fehler

    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 ham.homebridge-devolo fehler

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

      @BaronT Da ist was doppelt.
      /usr/lib/node_modules sollte (so) nicht existieren. Mal als root angemeldet und dann iobroker installiert?

      B 1 Reply Last reply Reply Quote 0
      • B
        BaronT @Thomas Braun last edited by BaronT

        @Thomas-Braun Das möchte ich nicht ausschließen.
        Kann ich das einfach über die Konsole löschen oder muss ich den iobroker neu installieren?

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

          @BaronT Da wäre ich äußerst vorsichtig. Ich würde da vielleicht erstmal nur den Verzeichnisnamen nur umbenennen. Z.B. in node_modules_test oder so. Das kannst du dann leichter wieder korrigieren.

          B 1 Reply Last reply Reply Quote 1
          • B
            BaronT @Thomas Braun last edited by

            @Thomas-Braun Okay dann probiere ich es morgen mal aus.

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

              @BaronT Da liegt Zeuch von node bzw. npm drin, aber eigentlich keine Module direkt vom iobroker.

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

                @BaronT sagte in ham.homebridge-devolo fehler:

                Das möchte ich nicht ausschließen

                Das ist halt auch so ein Grund warum man sich nicht als root direkt anmeldet.

                B 1 Reply Last reply Reply Quote 0
                • B
                  BaronT @Thomas Braun last edited by BaronT

                  @Thomas-Braun Das habe ich mittlerweile auch verstanden, dass man damit viel schaden anrichten kann.😕
                  Aber bei manchen Installationen muss man dies doch machen oder nicht?
                  Wie z.B. bei Node da ging es ohne root meine ich nicht.

                  Aber zurück zum Thema: 😊
                  Ich habe den Ordner unbenannt danach ging npm nicht mehr. Habe alles wieder zurück benannt und habe die Plugins im Ornder gelöscht.
                  Danach bekamm ich im Debug eine fehlermeldung das "homebridge-plugin" nicht im package.json unter keyword steht, habe dort "Homebride-plugin" eingegeben. Dannach hatte ich diese fehlermeldung weg.

                  Jetzt wird mir das im Debug angezeigtt wo ich nicht verstehe, was er mir sagen möchte:

                  2020-09-03 20:14:40.196 - info: host.raspberrypi instance system.adapter.ham.0 started with pid 11044
                  2020-09-03 20:14:41.098 - debug: ham.0 (11044) Redis Objects: Use Redis connection: 127.0.0.1:9001
                  2020-09-03 20:14:41.129 - debug: ham.0 (11044) Objects client ready ... initialize now
                  2020-09-03 20:14:41.132 - debug: ham.0 (11044) Objects create System PubSub Client
                  2020-09-03 20:14:41.134 - debug: ham.0 (11044) Objects create User PubSub Client
                  2020-09-03 20:14:41.135 - debug: ham.0 (11044) Objects client initialize lua scripts
                  2020-09-03 20:14:41.151 - debug: ham.0 (11044) Objects connected to redis: 127.0.0.1:9001
                  2020-09-03 20:14:41.158 - debug: ham.0 (11044) objectDB connected
                  2020-09-03 20:14:41.160 - debug: ham.0 (11044) Redis States: Use Redis connection: 127.0.0.1:9000
                  2020-09-03 20:14:41.167 - debug: ham.0 (11044) States create User PubSub Client
                  2020-09-03 20:14:41.170 - debug: ham.0 (11044) States create System PubSub Client
                  2020-09-03 20:14:41.180 - debug: ham.0 (11044) States connected to redis: 127.0.0.1:9000
                  2020-09-03 20:14:41.181 - debug: ham.0 (11044) statesDB connected
                  2020-09-03 20:14:41.493 - info: ham.0 (11044) starting. Version 1.1.2 in /opt/iobroker/node_modules/iobroker.ham, node: v12.18.3, js-controller: 3.1.6
                  2020-09-03 20:14:41.522 - info: ham.0 (11044) Install/Update the following Libraries: homebridge-devolo
                  2020-09-03 20:14:41.523 - info: ham.0 (11044) Install/Update homebridge-devolo
                  2020-09-03 20:14:41.524 - info: ham.0 (11044) All Libraries installed/updated
                  2020-09-03 20:14:42.965 - debug: ham.0 (11044) [2020-9-3 20:14:42] Loaded plugin: homebridge-devolo
                  2020-09-03 20:14:42.968 - debug: ham.0 (11044) [2020-9-3 20:14:42] Registering platform 'homebridge-devolo.Devolo'
                  2020-09-03 20:14:42.969 - debug: ham.0 (11044) [2020-9-3 20:14:42] ---
                  2020-09-03 20:14:42.985 - debug: ham.0 (11044) [2020-9-3 20:14:42] Loading 1 platforms...
                  2020-09-03 20:14:42.986 - debug: ham.0 (11044) [2020-9-3 20:14:42] [Devolo] Initializing Devolo platform...
                  2020-09-03 20:14:42.992 - debug: ham.0 (11044) [2020-9-3 20:14:42] [Devolo] HBDevoloPlatform > Searching for Devolo Central Unit.
                  2020-09-03 20:14:43.006 - debug: ham.0 (11044) [2020-9-3 20:14:43] Loading 0 accessories...
                  2020-09-03 20:14:43.464 - debug: ham.0 (11044) Trying to connect to socket.
                  2020-09-03 20:14:43.529 - debug: ham.0 (11044) Websocket open
                  2020-09-03 20:14:43.533 - debug: ham.0 (11044) [2020-9-3 20:14:43] [Devolo] HBDevoloPlatform > Central Unit found.
                  2020-09-03 20:14:44.593 - debug: ham.0 (11044) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it.
                  > Model: %s
                  > ProductID: %s
                  > ProductTypeID: %s
                  > Sensors: %s
                  2020-09-03 20:14:44.594 - debug: ham.0 (11044) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it.
                  > Model: %s
                  > ProductID: %s
                  > ProductTypeID: %s
                  > Sensors: %s
                  2020-09-03 20:14:44.594 - debug: ham.0 (11044) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it.
                  > Model: %s
                  > ProductID: %s
                  > ProductTypeID: %s
                  > Sensors: %s
                  2020-09-03 20:14:44.595 - debug: ham.0 (11044) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it.
                  > Model: %s
                  > ProductID: %s
                  > ProductTypeID: %s
                  > Sensors: %s
                  2020-09-03 20:14:44.595 - debug: ham.0 (11044) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it.
                  > Model: %s
                  > ProductID: %s
                  > ProductTypeID: %s
                  > Sensors: %s
                  2020-09-03 20:14:44.596 - debug: ham.0 (11044) Device > %s < is not supported (yet) or devolo has something changed. Open an issue on github and ask for adding it.
                  > Model: %s
                  > ProductID: %s
                  > ProductTypeID: %s
                  > Sensors: %s
                  2020-09-03 20:14:45.182 - error: ham.0 (11044) uncaught exception: Cannot read property 'length' of undefined
                  2020-09-03 20:14:45.185 - error: ham.0 (11044) TypeError: Cannot read property 'length' of undefined
                  at /opt/iobroker/node_modules/iobroker.ham/node_modules/node-devolo/dist/Devolo.js:363:47
                  at /opt/iobroker/node_modules/iobroker.ham/node_modules/node-devolo/dist/DevoloApi.js:185:17
                  at IncomingMessage. (/opt/iobroker/node_modules/iobroker.ham/node_modules/node-devolo/dist/DevoloApi.js:69:21)
                  at IncomingMessage.emit (events.js:327:22)
                  at endReadableNT (_stream_readable.js:1220:12)
                  at processTicksAndRejections (internal/process/task_queues.js:84:21)
                  2020-09-03 20:14:45.187 - info: ham.0 (11044) cleaned everything up...
                  2020-09-03 20:14:45.203 - warn: ham.0 (11044) Exception: TypeError: Cannot read property 'length' of undefined
                  2020-09-03 20:14:45.644 - info: ham.0 (11044) terminating
                  2020-09-03 20:14:45.645 - info: ham.0 (11044) Terminated (NO_ERROR): Without reason
                  2020-09-03 20:14:46.180 - error: host.raspberrypi Caught by controller[0]: [2020-9-3 20:14:42] ====================
                  2020-09-03 20:14:46.180 - error: host.raspberrypi Caught by controller[1]: [2020-9-3 20:14:42] ERROR LOADING PLUGIN homebridge-plugin-wrapper:
                  2020-09-03 20:14:46.181 - error: host.raspberrypi Caught by controller[2]: [2020-9-3 20:14:42] Error: Plugin /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper does not contain the 'homebridge' package in 'engines'.
                  2020-09-03 20:14:46.181 - error: host.raspberrypi Caught by controller[2]: at Plugin.load (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/plugin.js:49:11)
                  2020-09-03 20:14:46.181 - error: host.raspberrypi Caught by controller[2]: at Server. (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/server.js:153:14)
                  2020-09-03 20:14:46.181 - error: host.raspberrypi Caught by controller[2]: at Array.forEach ()
                  2020-09-03 20:14:46.182 - error: host.raspberrypi Caught by controller[2]: at Server._loadPlugins (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/server.js:145:22)
                  2020-09-03 20:14:46.182 - error: host.raspberrypi Caught by controller[2]: at new Server (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/homebridge/server.js:57:24)
                  2020-09-03 20:14:46.182 - error: host.raspberrypi Caught by controller[2]: at HomebridgeWrapper.init (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper/index.js:221:19)
                  2020-09-03 20:14:46.182 - error: host.raspberrypi Caught by controller[2]: at Object.start (/opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js:111:23)
                  2020-09-03 20:14:46.182 - error: host.raspberrypi Caught by controller[2]: at /opt/iobroker/node_modules/iobroker.ham/main.js:276:39
                  2020-09-03 20:14:46.183 - error: host.raspberrypi Caught by controller[2]: at /opt/iobroker/node_modules/iobroker.ham/main.js:177:27
                  2020-09-03 20:14:46.183 - error: host.raspberrypi Caught by controller[2]: at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4008:33
                  2020-09-03 20:14:46.183 - error: host.raspberrypi Caught by controller[3]: [2020-9-3 20:14:42] ====================
                  2020-09-03 20:14:46.184 - info: host.raspberrypi instance system.adapter.ham.0 terminated with code 0 (NO_ERROR)
                  2020-09-03 20:14:46.184 - info: host.raspberrypi Restart adapter system.adapter.ham.0 because enabled
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @BaronT last edited by

                    @BaronT sagte in ham.homebridge-devolo fehler:

                    Aber bei manchen Installationen muss man dies doch machen oder nicht? Wie z.B. bei Node da ging es ohne root meine ich nicht.

                    Doch, auch die Installation via apt geht ohne root. sudo davor und gut ist. Unter Debian meldet man sich nie als root an. Der ist ja auch eigentlich gesperrt, aus Gründen.

                    Nach dem Umbenennen hättest du einfach nodeJS nochmal auf das System bügeln können. Aber so scheint es auch zu funktionieren, die Doublette ist wohl weg.

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      BaronT @Thomas Braun last edited by

                      @Thomas-Braun said in ham.homebridge-devolo fehler:

                      @BaronT sagte in ham.homebridge-devolo fehler:

                      Aber bei manchen Installationen muss man dies doch machen oder nicht? Wie z.B. bei Node da ging es ohne root meine ich nicht.

                      Doch, auch die Installation via apt geht ohne root. sudo davor und gut ist. Unter Debian meldet man sich nie als root an. Der ist ja auch eigentlich gesperrt, aus Gründen.

                      Nach dem Umbenennen hättest du einfach nodeJS nochmal auf das System bügeln können. Aber so scheint es auch zu funktionieren, die Doublette ist wohl weg.

                      Achso also nur sudo davor. Ich packe den root nicht mehr an.

                      Jap die ist weg. Kannst du denn erkennen was jetzt nicht richtig läuft?

                      (Anders gefragt ist mein Problem ggf. weg wenn ich alles nochmal neu installiere, also den kompletten Raspberry)

                      Mfg Tobi

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

                        @BaronT Von ham habe ich wie gesagt keine Ahnung.

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        568
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        devolo devolo homebridge ham homebridge accessories manager homebridge-devolo
                        2
                        18
                        552
                        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