Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Homebridge-Adapter: Funktionierende Plugins und Beispiele

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Homebridge-Adapter: Funktionierende Plugins und Beispiele

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SkeeveKlah @Boardy last edited by

      @Boardy Super!!
      Warum auch immer, mit der angepassten Konfig von Dir hat es bei mir jetzt auch geklappt! Danke!

      B 1 Reply Last reply Reply Quote 0
      • B
        Boardy @SkeeveKlah last edited by

        @SkeeveKlah Hi, ich will meien AC Daten auslesen - klappt das mit dem debug Mode bei Dir? AC geräte werden nicht unterstützt, aber in der App im Debug mode sehe ich alles was ich benötige... nur im IOBroker kommt nicht mehr an...

        S 1 Reply Last reply Reply Quote 0
        • T
          TheAriba last edited by

          Hallo zusammen!
          Wie ich tatsächlich ein homebridge plugin in ioBroker zum Laufen bekomme würde mir an der Stelle auch helfen. Irgendwie verstehe ich da nur Bahnhof 🙂 .
          Fehlt hier noch etwas an den Einstellungen? Es knallt im Log ein wenig.

          f6789800-8d22-42df-a0b8-78640dd60144-image.png fd5a655d-ec1e-4207-b2cb-2ced501fb391-image.png

          host.raspberrypi	2021-01-13 23:38:00.586	info	Restart adapter system.adapter.ham.0 because enabled
          host.raspberrypi	2021-01-13 23:38:00.585	info	instance system.adapter.ham.0 terminated with code 0 (NO_ERROR)
          host.raspberrypi	2021-01-13 23:38:00.585	error	Caught by controller[3]: [1/13/2021, 22:38:00] Error loading platform requested in your config.json at position 1
          host.raspberrypi	2021-01-13 23:38:00.585	error	Caught by controller[2]: [1/13/2021, 22:38:00] ====================
          host.raspberrypi	2021-01-13 23:38:00.585	error	Caught by controller[2]: at Server.start (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js:71:28)
          host.raspberrypi	2021-01-13 23:38:00.585	error	Caught by controller[2]: at PluginManager.initializeInstalledPlugins (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/pluginManager.js:61:22)
          host.raspberrypi	2021-01-13 23:38:00.585	error	Caught by controller[2]: at Map.forEach (<anonymous>)
          host.raspberrypi	2021-01-13 23:38:00.584	error	Caught by controller[2]: at /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/pluginManager.js:63:24
          host.raspberrypi	2021-01-13 23:38:00.584	error	Caught by controller[2]: at Plugin.load (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/plugin.js:124:31)
          host.raspberrypi	2021-01-13 23:38:00.584	error	Caught by controller[2]: at require (internal/modules/cjs/helpers.js:74:18)
          host.raspberrypi	2021-01-13 23:38:00.584	error	Caught by controller[2]: at Module.require (internal/modules/cjs/loader.js:887:19)
          host.raspberrypi	2021-01-13 23:38:00.584	error	Caught by controller[2]: at Function.Module._load (/opt/iobroker/node_modules/mock-require/index.js:30:22)
          host.raspberrypi	2021-01-13 23:38:00.584	error	Caught by controller[2]: at Function.Module._load (internal/modules/cjs/loader.js:667:27)
          host.raspberrypi	2021-01-13 23:38:00.583	error	Caught by controller[2]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
          host.raspberrypi	2021-01-13 23:38:00.583	error	Caught by controller[2]: - /opt/iobroker/node_modules/iobroker.ham/main.js
          host.raspberrypi	2021-01-13 23:38:00.583	error	Caught by controller[2]: - /opt/iobroker/node_modules/iobroker.ham/lib/wrapper-handler.js
          host.raspberrypi	2021-01-13 23:38:00.583	error	Caught by controller[2]: - /opt/iobroker/node_modules/homebridge-plugin-wrapper/index.js
          host.raspberrypi	2021-01-13 23:38:00.583	error	Caught by controller[2]: - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/server.js
          host.raspberrypi	2021-01-13 23:38:00.583	error	Caught by controller[2]: - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/api.js
          host.raspberrypi	2021-01-13 23:38:00.582	error	Caught by controller[2]: - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/pluginManager.js
          host.raspberrypi	2021-01-13 23:38:00.582	error	Caught by controller[2]: - /opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/plugin.js
          host.raspberrypi	2021-01-13 23:38:00.582	error	Caught by controller[2]: Require stack:
          host.raspberrypi	2021-01-13 23:38:00.582	error	Caught by controller[2]: [1/13/2021, 22:38:00] Error: Cannot find module '/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-doorbird/dist/index.js'
          host.raspberrypi	2021-01-13 23:38:00.582	error	Caught by controller[2]: [1/13/2021, 22:38:00] ERROR LOADING PLUGIN homebridge-doorbird:
          host.raspberrypi	2021-01-13 23:38:00.582	error	Caught by controller[1]: [1/13/2021, 22:38:00] ====================
          host.raspberrypi	2021-01-13 23:38:00.581	error	Caught by controller[0]: [1/13/2021, 22:38:00] Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'.
          ham.0	2021-01-13 23:38:00.059	info	(4089) Terminated (NO_ERROR): Without reason
          ham.0	2021-01-13 23:38:00.058	info	(4089) terminating
          ham.0	2021-01-13 23:38:00.050	info	(4089) cleaned everything up...
          ham.0	2021-01-13 23:38:00.049	error	(4089) Error: The requested platform 'Doorbird' was not registered by any plugin. at PluginManager.getPluginForPlatform (/opt/iobroker/node_modules/homebridge-plugin-wrapper/homebridge/pluginManag
          ham.0	2021-01-13 23:38:00.045	error	(4089) unhandled promise rejection: The requested platform 'Doorbird' was not registered by any plugin.
          ham.0	2021-01-13 23:38:00.045	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
          ham.0	2021-01-13 23:38:00.041	debug	(4089) [1/13/2021, 22:38:00] Loading 1 platforms...
          ham.0	2021-01-13 23:37:58.965	info	(4089) All Libraries installed/updated
          ham.0	2021-01-13 23:37:58.964	error	(4089) Error: Library https://github.com/hjdhjd/homebridge-doorbird not installed after 3 attempts
          ham.0	2021-01-13 23:37:58.925	info	(4089) found 0 vulnerabilities
          ham.0	2021-01-13 23:37:58.846	info	(4089) + homebridge-doorbird@1.0.1 updated 1 package and audited 39 packages in 14.395s
          ham.0	2021-01-13 23:37:43.153	info	(4089) npm install https://github.com/hjdhjd/homebridge-doorbird --production --loglevel error (System call)
          ham.0	2021-01-13 23:37:43.119	info	(4089) found 0 vulnerabilities
          ham.0	2021-01-13 23:37:43.043	info	(4089) + homebridge-doorbird@1.0.1 updated 1 package and audited 39 packages in 20.522s
          ham.0	2021-01-13 23:37:21.253	info	(4089) npm install https://github.com/hjdhjd/homebridge-doorbird --production --loglevel error (System call)
          ham.0	2021-01-13 23:37:21.213	info	(4089) found 0 vulnerabilities
          ham.0	2021-01-13 23:37:21.121	info	(4089) + homebridge-doorbird@1.0.1 updated 1 package and audited 39 packages in 13.538s
          ham.0	2021-01-13 23:37:06.277	info	(4089) npm install https://github.com/hjdhjd/homebridge-doorbird --production --loglevel error (System call)
          ham.0	2021-01-13 23:37:06.276	info	(4089) Install/Update https://github.com/hjdhjd/homebridge-doorbird
          ham.0	2021-01-13 23:37:06.275	info	(4089) Install/Update the following Libraries: https://github.com/hjdhjd/homebridge-doorbird
          ham.0	2021-01-13 23:37:06.246	info	(4089) starting. Version 3.0.2 in /opt/iobroker/node_modules/iobroker.ham, node: v12.20.1, js-controller: 3.1.6
          host.raspberrypi	2021-01-13 23:37:05.107	info	instance system.adapter.ham.0 started with pid 4089
          host.raspberrypi	2021-01-13 23:37:02.604	info	instance system.adapter.ham.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
          ham.0	2021-01-13 23:37:02.072	info	(3781) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
          ham.0	2021-01-13 23:37:02.071	info	(3781) terminating
          ham.0	2021-01-13 23:37:02.070	info	(3781) cleaned everything up...
          ham.0	2021-01-13 23:37:02.069	info	(3781) Got terminate signal TERMINATE_YOURSELF
          host.raspberrypi	2021-01-13 23:37:02.066	info	stopInstance system.adapter.ham.0 send kill signal
          host.raspberrypi	2021-01-13 23:37:02.065	info	stopInstance system.adapter.ham.0 (force=false, process=true)
          ham.0	2021-01-13 23:37:02.042	info	(3781) All NPM Modules got reinstalled/updated ... restarting ...
          ham.0	2021-01-13 23:37:02.041	error	(3781) Error: Library https://github.com/hjdhjd/homebridge-doorbird not installed after 3 attempts
          ham.0	2021-01-13 23:37:02.001	info	(3781) found 0 vulnerabilities
          ham.0	2021-01-13 23:37:01.912	info	(3781) + homebridge-doorbird@1.0.1 updated 1 package and audited 39 packages in 14.307s
          ham.0	2021-01-13 23:36:46.329	info	(3781) npm install https://github.com/hjdhjd/homebridge-doorbird --production --loglevel error (System call)
          ham.0	2021-01-13 23:36:46.296	info	(3781) found 0 vulnerabilities
          ham.0	2021-01-13 23:36:46.220	info	(3781) + homebridge-doorbird@1.0.1 updated 1 package and audited 39 packages in 14.364s
          ham.0	2021-01-13 22:36:30.521	info	(3781) npm install https://github.com/hjdhjd/homebridge-doorbird --production --loglevel error (System call)
          ham.0	2021-01-13 22:36:30.484	info	(3781) found 0 vulnerabilities
          ham.0	2021-01-13 22:36:30.402	info	updated 1 package and audited 39 packages in 14.212s
          ham.0	2021-01-13 22:36:30.402	info	(3781) + homebridge-doorbird@1.0.1
          ham.0	2021-01-13 22:36:14.865	info	(3781) npm install https://github.com/hjdhjd/homebridge-doorbird --production --loglevel error (System call)
          ham.0	2021-01-13 22:36:14.864	info	(3781) Install/Update https://github.com/hjdhjd/homebridge-doorbird
          ham.0	2021-01-13 22:36:14.863	info	(3781) Install/Update the following Libraries: https://github.com/hjdhjd/homebridge-doorbird
          ham.0	2021-01-13 22:36:14.834	info	(3781) starting. Version 3.0.2 in /opt/iobroker/node_modules/iobroker.ham, node: v12.20.1, js-controller: 3.1.6
          

          Ich bedanke mich vorab für eure Unterstützung!

          apollon77 1 Reply Last reply Reply Quote 0
          • apollon77
            apollon77 @TheAriba last edited by

            @enoceaneltako said in Homebridge-Adapter: Funktionierende Plugins und Beispiele:

            Error loading platform requested in your config.json at position 1

            Naja teht doch alles in der Fehlermeung. DU musst in der Liste der Pakete auch die nötigen Plugin Pakete aufzählen das Sie installiert werden können.

            1 Reply Last reply Reply Quote 0
            • S
              SkeeveKlah @Boardy last edited by

              @boardy Tja... ich habe ne Waschmaschine im Adapter und die wird wohl nur als Schalter angezeigt, irgendwo hatte ich das auch mal gelesen, hatte etwas Hoffnung das mittlerweile ein bischen mehr geht, ist aber wohl nicht.
              ManN kann eben (noch) nicht alles haben 😳

              1 Reply Last reply Reply Quote 0
              • A
                amiethaner last edited by

                Hey @apollon77
                Ich kenn mich mit der Programmiererei so leider ned aus, aber wollte mal vorsichtig anfragen
                obs für Fibaro HC2 mal ne erweiterung geben wird, oder ob das technisch überhaupt geht.
                Hier wären ja deutlich mehr values der einzelnen Devices vorhanden als über den Ham zum IOB kommen.
                Ansonsten aber echt n dicken Danke für den Adapter! Super arbeit!

                apollon77 1 Reply Last reply Reply Quote 0
                • apollon77
                  apollon77 @amiethaner last edited by

                  @amiethaner Keine ahnug obs das mal geben wird 🙂 Gibts einen Adapter Request dazu?

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    amiethaner @apollon77 last edited by

                    @apollon77 sagte in Homebridge-Adapter: Funktionierende Plugins und Beispiele:

                    @amiethaner Keine ahnug obs das mal geben wird 🙂 Gibts einen Adapter Request dazu?

                    Ich glaub ned, meinst es bringt was wenn ich einen aufmach

                    1 Reply Last reply Reply Quote 0
                    • Neuschwansteini
                      Neuschwansteini @apollon77 last edited by

                      @apollon77

                      Hier ein Beispiel für die Govee-Ambiente H6104, hab 2 Stück, es werden beide automatisch gefunden, läuft so:

                      d0b1121b-5181-48d9-b1ff-59c8caed166a-grafik.png

                      {
                        "description": "Add configuration for your accessories or platforms according to the docs of the plugins.",
                        "accessories": [],
                        "platforms": [
                          {
                            "platform": "Govee",
                            "name": "Govee",
                            "apiKey": "api-key",
                            "model": "H6104",
                            "controllable": true,
                            "retrievable": true,
                            "supportCmds": [
                              "turn",
                              "brightness",
                              "color",
                              "colorTem"
                            ]
                          }
                        ]
                      }
                      

                      6fe6c368-e88b-41f9-83b3-edeb4fafdd7a-grafik.png

                      gelberlemmy 1 Reply Last reply Reply Quote 1
                      • M
                        marcfe @apollon77 last edited by marcfe

                        homebridge-keylights (Version 1.2.4)funktioniert leider nicht richtig mit der Plugin-Version 4.0.1: https://www.npmjs.com/package/homebridge-keylights

                        Meine NodeJS-Version war v10.24.0 und ist jetzt v12.22.1 (kein Unterschied)

                        es wird zwar mit folgender Konfiguration erkannt (useIP muss true sein) und auch der Status aktualisiert, wenn ich zum Beispiel Setting über die App ändere, leider kann ich das Keylight über den iobroker nur ein und wieder aus-schalten.

                        Konfig:

                          "platforms": [
                            {
                              "name": "Elgato Key Lights",
                              "switchOnDurationMs": 100,
                              "platform": "ElgatoKeyLights",
                              "useIP": true
                            }
                          ]
                        

                        Objekte:
                        e9053fdb-993f-4300-a291-1ac033ee7a05-image.png

                        Logs:

                        # Ändern über Objekte (es passiert nichts am Licht)
                        ham.0	2021-04-15 12:55:06.729	info	(14551) stateChange ham.0.Elgato-Key-Light-C70B.Lightbulb.Brightness {"val":25,"ack":true,"ts":1618484106722,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1618484106712}
                        ham.0	2021-04-15 12:55:06.717	info	(14551) stateChange ham.0.Elgato-Key-Light-C70B.Lightbulb.Brightness {"val":25,"ack":false,"ts":1618484106712,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1618484106712}
                        
                        # Licht über Objekte ausschalten (funktioniert)
                        ham.0	2021-04-15 12:59:00.943	info	(14551) stateChange ham.0.Elgato-Key-Light-C70B.Lightbulb.On {"val":false,"ack":true,"ts":1618484340939,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1618484340708}
                        ham.0	2021-04-15 12:59:00.767	info	(14551) stateChange ham.0.Elgato-Key-Light-C70B.Lightbulb.On {"val":false,"ack":true,"ts":1618484340763,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1618484340708}
                        ham.0	2021-04-15 12:59:00.713	info	(14551) stateChange ham.0.Elgato-Key-Light-C70B.Lightbulb.On {"val":false,"ack":false,"ts":1618484340708,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1618484340708}
                        
                        
                        # Ändern über die App (kommt im iobroker an)
                        ham.0	2021-04-15 12:54:48.702	info	(14551) stateChange ham.0.Elgato-Key-Light-C70B.Lightbulb.Brightness {"val":52,"ack":true,"ts":1618484088698,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1618484088698}
                        

                        getestet im wrapper und local mode

                        apollon77 1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @marcfe last edited by

                          @marcfe naja das brauchst man etwas mehr Log 🙂 Bitte Adaoter auf Debug Log stellen und starten. Dann gesamtes Log aus dem Logfile von der Platte /opt/iobroker/log/... und posten

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            M240-Swiss @apollon77 last edited by

                            Nach dem Update auf 4.0.1 funktioniert das Plugin „homebridge-logi-circle-controls“ nicht mehr. Die Schalter zur Bedienung der Kameras sind zwar vorhanden aber ohne Funktion.
                            Ein Downgrade auf 3.0.2 und alles läuft wieder

                            apollon77 1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @M240-Swiss last edited by apollon77

                              @m240-swiss auch hier ... log bitte

                              Und ggf auch im Plugin schauen ob das ggf ne neue Version braucht für homebridge 1.3.x ?! Da gab es Plugins die Updates brauchen.

                              Neuschwansteini 1 Reply Last reply Reply Quote 0
                              • Neuschwansteini
                                Neuschwansteini @apollon77 last edited by

                                @apollon77 kann man in den HAM Adapter einbauen, dass er die Anzahl an Updates für installierte Plugins anzeigt, wie im Adapter-Tab ?

                                apollon77 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @Neuschwansteini last edited by

                                  @ilovegym Haste Dir mal den neuen Tab des Adapters angeschaut den es seit dern 4.0. gibt?? ggf ists da schon drin ... sonst wäre ein Feature Request im Github ne idee

                                  Neuschwansteini 1 Reply Last reply Reply Quote 0
                                  • Neuschwansteini
                                    Neuschwansteini @apollon77 last edited by

                                    @apollon77 🙂 ja, da ist es mir ja auch aufgefallen, dass es neue Versionen gibt..
                                    ich meine halt in der Leiste links, wie bei "Adapter" wenn da neue sind, zeigt er ja auch die Anzahl an Updates an..
                                    😉
                                    ... halt für die ganz Blinden, wie mich, in extra groß und rot, wenn es geht..? 🙂

                                    apollon77 1 Reply Last reply Reply Quote 0
                                    • apollon77
                                      apollon77 @Neuschwansteini last edited by

                                      @ilovegym Ne für solche "sub updates" gibt es keine optionen die ich kennen würde

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        M240-Swiss @apollon77 last edited by

                                        @apollon77 : Es gibt tatsächlich eine neue Version des Plugins. Kannst Du mir sagen wie ich es im HAM Adapter Updaten kann? (Und vielleicht auch wie ich sehe welche Version eines Plugins installiert ist) Besten Dank im Voraus

                                        apollon77 1 Reply Last reply Reply Quote 0
                                        • apollon77
                                          apollon77 @M240-Swiss last edited by

                                          @m240-swiss Updaten: Im Admin gibts nen "update plugins" checkbox. drücken, speichern, warten.

                                          Sehen neue version sollte in dem neuen Homebridge Tab (siehe infos Changelog zur 4.0 version) drin sein

                                          M 1 Reply Last reply Reply Quote 1
                                          • M
                                            M240-Swiss @apollon77 last edited by

                                            @apollon77 : Super, vielen Dank. Plugin upgedatet und die neue Version des Adapters geladen –> alles funktioniert

                                            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

                                            867
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            62
                                            238
                                            42155
                                            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