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.
    • apollon77
      apollon77 @gelberlemmy last edited by

      @gelberlemmy Also im Log sieht man das nachdem du den Wert geschrieben hast er vom Plugin quqsi bestätigt wurde ... warum keine Schaltaktion rausging ist daher eher ne Plugin frage.

      Vllt musst du doch dem Plugin sagen das es ein Light Device ist?

      1 Reply Last reply Reply Quote 0
      • P
        PhoenixCR last edited by

        Lieber Forum,
        ich versuche auch den Homebridge Adapter (in Wraper Modus und Ver 4.01) in laufe zu kriegen, leide ohne Erfolg.
        Nach der Installation der Modul und Einstellung in die Konfigurationsdatei komme ich nicht weiter, es wird kein Objekt angezeigt sowie auf die config-seite bleibt es hängen, sobald ich der Config schlüssel betätige.

        2410b8c9-ec86-4ae8-85f8-2241287db438-image.png

        Vielleicht habt ihr auch schon der Fehler gehabt.
        Was könnte es sein?

        Danke im Voraus für eure Hilfe.

        UncleSam 1 Reply Last reply Reply Quote 0
        • UncleSam
          UncleSam Developer @PhoenixCR last edited by

          @phoenixcr Kannst du mal deine Browser Konsole (F12 bei Chrome) öffnen und schauen, ob das Fehlermeldungen kommen?

          Hast du die Module über das Tab (das, was du im Screenshot zeigst) konfiguriert oder über die Instanz Konfigurations-Seite (unter Instanzen)?

          P 1 Reply Last reply Reply Quote 0
          • P
            PhoenixCR @UncleSam last edited by

            @unclesam Hi,

            das meinst du?

            Screenshot 2021-05-12 065707.png

            Die Module habe ich über die Instanz Konfigurations-Seite configuriert.

            UncleSam 1 Reply Last reply Reply Quote 0
            • UncleSam
              UncleSam Developer @PhoenixCR last edited by

              @phoenixcr OK, danke. Kannst du mal die genaue JSON posten, wie du die Module auf der Instanz Konfigurations-Seite konfiguriert hast?

              P 1 Reply Last reply Reply Quote 0
              • P
                PhoenixCR @UncleSam last edited by

                @unclesam anbei

                {
                  "platform": "Govee",
                  "name": "Govee",
                  "apiKey": "Api",
                  "model": "H6104",
                  "controllable": true,
                  "retrievable": true,
                  "supportCmds": [
                    "turn",
                    "brightness",
                    "color",
                    "colorTem"
                  ]
                }
                

                beim API steht natürlich mein API

                UncleSam Neuschwansteini 2 Replies Last reply Reply Quote 0
                • UncleSam
                  UncleSam Developer @PhoenixCR last edited by

                  @phoenixcr Das ist der komplette Inhalt im Tab "Konfigurationsdatei"?

                  Das wäre nämlich falsch: du musst jedes Gerät einzeln in Unterobjekte eintagen.

                  {
                   "description": "Add configuration for your accessories or platforms according to the docs of the plugins.",
                   "accessories": [
                     {
                       "name": "MacBook",
                       "services": [
                         "increase-button",
                         "decrease-button",
                         "speaker",
                         "lightbulb"
                       ],
                       "switchVolumeDelta": 5,
                       "switchDelay": 10,
                       "accessory": "ComputerSpeakers"
                     },
                     {
                       "accessory": "SunPosition",
                       "name": "Sun",
                       "location": {
                         "lat": 49,
                         "long": 8
                       }
                     }
                   ],
                   "platforms": [
                     {
                       "platform": "TadoAC",
                       "username": "user@name.com",
                       "password": "*************"
                     },
                     {
                       "platform": "Ring",
                       "refreshToken": "my-secret-token1"
                     },
                     {
                       "platform": "WeatherPlus",
                       "service": "openweathermap",
                       "key": "YOUR_API_KEY",
                       "locationId": 2950159,
                       "locationCity": "Berlin, DE",
                       "locationGeo": [
                         52.5200066,
                         13.404954
                       ]
                     },
                     {
                       "platform": "TuyaWebPlatform",
                       "name": "TuyaWebPlatform",
                       "options": {
                         "platform": "form"
                       },
                       "scenes": false
                     }
                   ]
                  }
                  

                  Aber sonst leer doch einfach das Feld (also einfach {} rein schreiben) und verwende für alles den Tab. Das sollte auch gehen. Dort kannst du Module hinzufügen und entfernen und konfigurieren.

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

                    @phoenixcr
                    Hi,
                    bei mir funktioniert das alle so in der Configdatei:

                    {
                      "description": "Add configuration for your accessories or platforms according to the docs of the plugins.",
                      "accessories": [],
                      "platforms": [
                        {
                          "name": "Govee",
                          "lightDevices": [
                            {}
                          ],
                          "platform": "Govee",
                          "apiKey": "blablablaapikey",
                          "refreshTime": 30,
                          "controlInterval": 500,
                          "forceUpdates": true,
                          "debug": true
                        },
                        {
                          "name": "eWeLink",
                          "mode": "auto",
                          "platform": "eWeLink",
                          "countryCode": "49",
                          "username": "email",
                          "password": "password"
                        },
                        {
                          "platform": "yeelight",
                          "name": "Yeelight"
                        }
                      ]
                    }
                    

                    Wichtig war, sonst funktioniert Govee nicht, anschliessend in der HAM Config-Seite den Schraubenschlüssel aufzurufen und dort folgendes eintragen:

                    5ef6e951-3eb6-40c1-b1e7-f7f058b2da48-grafik.png

                    so funktionierts hier auf jeden Fall.. 🙂

                    P gelberlemmy 2 Replies Last reply Reply Quote 0
                    • P
                      PhoenixCR @UncleSam last edited by

                      @unclesam leider kriege ich nur ein gerät in Konfig rein
                      bin ein Anfänger aber offen zum Lernen.

                      Habe es nach deine Anleitung versucht allerdings der installiert kein Modul.
                      Bleibt so hängen

                      484ed778-c581-4101-9b9e-87c59a42ff42-image.png

                      eed025e3-7a5f-4fe1-a0b0-0bb13f75c400-image.png

                      und im LOG keine neue Eintrag

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

                        @ilovegym genau das ist mein Problem, wenn ich der Schraubenschlüssel aufrufe, bleibt der Homebridge Tab hängen ...

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

                          @phoenixcr dann stimmt ja irgendwas in der Konfig nicht. Logfile?

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

                            @ilovegym habe es nochmal versucht mit deine einstellungen ...
                            anbei der Log ...

                            ham.0	2021-05-12 09:45:19.362	info	(83738) All NPM Modules got reinstalled/updated ... restarting ...
                            ham.0	2021-05-12 09:45:19.343	info	Run `npm audit` for details.
                            ham.0	2021-05-12 09:45:19.343	info	a different dependency.
                            ham.0	2021-05-12 09:45:19.343	info	Some issues need review, and may require choosing
                            ham.0	2021-05-12 09:45:19.343	info	npm audit fix
                            ham.0	2021-05-12 09:45:19.343	info	To address issues that do not require attention, run:
                            ham.0	2021-05-12 09:45:19.343	info	5 high severity vulnerabilities
                            ham.0	2021-05-12 09:45:19.343	info	(83738)
                            ham.0	2021-05-12 09:45:19.301	info	run `npm fund` for details
                            ham.0	2021-05-12 09:45:19.301	info	(83738) 1 package is looking for funding
                            ham.0	2021-05-12 09:45:19.299	info	(83738)
                            ham.0	2021-05-12 09:45:19.297	info	up to date, audited 208 packages in 8s
                            ham.0	2021-05-12 09:45:19.297	info	(83738)
                            javascript.0	2021-05-12 09:45:19.082	info	(23009) script.js.Schrank.Server_Kühlung_PWM: PWM AUS
                            ham.0	2021-05-12 09:45:10.942	info	(83738) npm install homebridge-govee --production --loglevel error (System call)
                            ham.0	2021-05-12 09:45:10.940	info	(83738) Install/Update homebridge-govee
                            ham.0	2021-05-12 09:45:10.939	info	(83738) Install/Update the following Libraries: homebridge-govee
                            ham.0	2021-05-12 09:45:10.904	info	(83738) starting. Version 4.0.1 in /opt/iobroker/node_modules/iobroker.ham, node: v14.16.1, js-controller: 3.2.16
                            host.HomeAutomation	2021-05-12 09:45:09.695	info	instance system.adapter.ham.0 started with pid 83738
                            
                            1 Reply Last reply Reply Quote 0
                            • UncleSam
                              UncleSam Developer last edited by

                              @PhoenixCR Jetzt gibt es glaube ich ein Durcheinander:

                              • zuerst muss die Konfiguration des Adapters stimmen oder leer sein (in den Instanz-Einstellungen, nicht im Tab)
                              • wenn die Konfiguration dort stimmt, sollte der Tab funktionieren

                              Welche Module willst du nun installieren (unten hattest du Govee und Homesung, nun hast du homesung-tv)?

                              Kannst du nochmals die gesamte Konfigurationsdatei aus der Instanz-Konfiguration zeigen (siehe unten)?
                              603a8049-7616-4149-8ac2-925b2daa3395-image.png

                              P 1 Reply Last reply Reply Quote 0
                              • P
                                PhoenixCR @UncleSam last edited by

                                @unclesam
                                der ist leer,
                                aber über den Tab kann ich nicht der Homesung Modul installieren.

                                e4c010d5-6e7e-4716-943e-f2613f98e1f1-image.png

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

                                  @phoenixcr sehe gerade, du verwendest V4.01, zieh dir mal die aktuelle 4.0.2 aus dem latest.. vielleicht hilft das.
                                  Und mach anschliessend n upload, sicher ist sicher...

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

                                    @ilovegym es gibt aber keine neuere Version ...
                                    wie soll ich es updaten?

                                    6af8b09d-e152-4bbb-a968-fe9a56520439-image.png

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      PhoenixCR last edited by

                                      Ich habe es über terminal gemacht steht aber trotzdem 4.01 ...

                                      
                                      ham.0	2021-05-13 05:02:46.349	info	(164338) No additional Libraries to install ...
                                      ham.0	2021-05-13 05:02:46.314	info	(164338) starting. Version 4.0.2 in /opt/iobroker/node_modules/iobroker.ham, node: v14.16.1, js-controller: 3.2.16
                                      

                                      ae10f4f0-b913-4de5-afb1-0c9d40cef14b-image.png

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

                                        @phoenixcr Moin, hast du danach n Upload gemacht?

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

                                          @ilovegym Moin. Nein und leider weis ich auch nicht wie ...
                                          Kannst du bitte es mir erklären?
                                          Danke!

                                          BBTown 1 Reply Last reply Reply Quote 0
                                          • BBTown
                                            BBTown @PhoenixCR last edited by

                                            @phoenixcr Adapter-Upload.gif

                                            P 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