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

      @apollon77 das ist alles was der Adapter ausgibt...
      50c83f2b-b369-472f-8b2f-7bcba6494402-image.png

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

        @szett ja ich glaube das Video zeug ist sehr speziell. Das muss ich mir ansehen. Bitte mit den Details nochmal GitHub issue anlegen.

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

          Hallo zusammen,

          hat vielleicht einer den ham adapter mit dem laundrify plugin am laufen und kann mir die Konfiguration zukommen lassen?
          Bekomme es irgendwie nicht hin das er mir unter den Objekten was anlegt.
          Das Plugin läuft bei mir auf einer Homebridge auf einem pi.

          Hier mal meine Konfiguration:

          {
          "authCode": "XXX-XXX",
          "pollInterval": 60,
          "invertStatus": true,
          "platform": "laundrify"
          }

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

            @akuehnemann73 Debug Log bitte? und die vollständige Konfig mal bitte zeigen

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

              @apollon77

              ham.0
              	2021-12-20 22:19:31.858	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
              ham.0
              	2021-12-20 22:19:31.856	info	terminating
              ham.0
              	2021-12-20 22:19:31.849	info	cleaned everything up...
              ham.0
              	2021-12-20 22:19:31.841	error	Cannot read property 'status' of undefined
              ham.0
              	2021-12-20 22:19:31.841	error	TypeError: Cannot read property 'status' of undefined at LaundrifyApi.register (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-laundrify-official/src/helper/LaundrifyApi.ts:165:21) at processTicksAndRejections (internal/process/task_queues.js:95:5) at /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-laundrify-official/src/helper/LaundrifyApi.ts:56:38
              ham.0
              	2021-12-20 22:19:31.805	error	unhandled promise rejection: Cannot read property 'status' of undefined
              ham.0
              	2021-12-20 22:19:31.804	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-12-20 22:19:29.166	info	All Libraries installed/updated
              ham.0
              	2021-12-20 22:19:29.158	info	Install/Update homebridge-laundrify-official@1.2.0
              ham.0
              	2021-12-20 22:19:29.155	info	Install/Update the following Libraries: homebridge-laundrify-official@1.2.0
              ham.0
              	2021-12-20 22:19:29.105	info	starting. Version 4.0.2 in /opt/iobroker/node_modules/iobroker.ham, node: v14.18.1, js-controller: 3.3.21
              ham.0
              	2021-12-20 22:18:56.069	warn	Terminated (UNCAUGHT_EXCEPTION): Without reason
              ham.0
              	2021-12-20 22:18:56.067	info	terminating
              ham.0
              	2021-12-20 22:18:56.062	info	cleaned everything up...
              ham.0
              	2021-12-20 22:18:56.041	error	Cannot read property 'status' of undefined
              ham.0
              	2021-12-20 22:18:56.040	error	TypeError: Cannot read property 'status' of undefined at LaundrifyApi.register (/opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-laundrify-official/src/helper/LaundrifyApi.ts:165:21) at processTicksAndRejections (internal/process/task_queues.js:95:5) at /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-laundrify-official/src/helper/LaundrifyApi.ts:56:38
              ham.0
              	2021-12-20 22:18:56.010	error	unhandled promise rejection: Cannot read property 'status' of undefined
              ham.0
              	2021-12-20 22:18:56.008	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-12-20 22:18:53.417	info	All Libraries installed/updated
              ham.0
              	2021-12-20 22:18:53.415	info	Install/Update homebridge-laundrify-official@1.2.0
              ham.0
              	2021-12-20 22:18:53.413	info	Install/Update the following Libraries: homebridge-laundrify-official@1.2.0
              ham.0
              	2021-12-20 22:18:53.371	info	starting. Version 4.0.2 in /opt/iobroker/node_modules/iobroker.ham, node: v14.18.1, js-controller: 3.3.21
              ham.0
              	2021-12-20 22:18:46.811	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
              ham.0
              	2021-12-20 22:18:46.808	info	terminating
              ham.0
              	2021-12-20 22:18:46.802	info	cleaned everything up...
              ham.0
              	2021-12-20 22:18:46.798	info	Got terminate signal TERMINATE_YOURSELF
              

              Konfig:

              {
              "bridge": {
              "name": "Homebridge 365F",
              "username": "0E:62:A1:2D:36:5F",
              "port": 51559,
              "pin": "736-16-448"
              },
              "accessories": [],
              "platforms": [
              {
              "name": "Config",
              "port": 8581,
              "platform": "config"
              },
              {
              "authCode": "XXX-XXX",
              "pollInterval": 60,
              "invertStatus": true,
              "platform": "laundrify"
              }
              ]
              }

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

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

                homebridge-laundrify-official

                Dann solltest Du dich mal da hin wenden ... Ich denke das der Fehler hier liegt https://github.com/laundrify/homebridge-laundrify-official/blob/master/src/helper/LaundrifyApi.ts#L158 ... typischer Zugriff auf pot nicht initialisierte Variablen

                1 Reply Last reply Reply Quote 0
                • T
                  TT-Tom last edited by

                  @apollon77

                  Hallo ich habe das Plugin Homebridge-Calendar eingebunden. Ich nutze es, um meine Heizung nach meinen Schichtplan zu steuern.

                  Version 0.4.0 HAM 4.0.2

                  {
                        "platform": "Calendar",
                        "calendars": [
                          {
                            "name": "Cal 1",
                            "url": "webcal://",
                            "pollingInterval": 5,
                            "offset": "-8h",
                            "sensors": [
                              "Sensor 1",
                              "Sensor 2"
                            ]
                          }
                        ]
                      }
                  

                  PS: vielleicht könnte man diese Funktion in iCal einbinden.
                  Gruß Tom

                  apollon77 1 Reply Last reply Reply Quote 0
                  • apollon77
                    apollon77 @TT-Tom last edited by

                    @tt-tom wie meinen? iCal kann auf Text reagieren und States passend setzen. Der calendar adapter kann sowas ähnliches nur ohne iCal Kalender… aber ich weiß nicht mal genau was du meinst

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      TT-Tom @apollon77 last edited by

                      @apollon77 der Adapter bildet ein SensorContact nach und setzt zur Startzeit des Termins ein State auf 1 / true und beim Beenden wieder zurück. Der Termin wird genauso wie bei iCal gefiltert. Zusätzlich kann man zur Startzeit ein Offset setzen, was die Startzeit plus / minus verschiebt.

                      Ich kenne diesen Adapter von der Homebridge noch und konnte es in iCal nicht einstellen. Kann man das mit iCal auch bauen?

                      Gruß Tom

                      apollon77 1 Reply Last reply Reply Quote 0
                      • apollon77
                        apollon77 @TT-Tom last edited by

                        @tt-tom ohne den Offset kann das iCal auch. Heißt dort „Events“. Du definierst einen Text der in dem termin vorkommt und dann geht ein state auf true wenn Stein termin läuft und auf false wenn nicht mehr.

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          TT-Tom @apollon77 last edited by

                          @apollon77
                          Okay danke für die Info. Ich benötige aber diesen Offset für die Steuerung meiner Badheizung. Frühdienst beginnt um x Uhr, plus offset geht meine Heizung an.
                          Kannst du das als Option in iCal einbauen?

                          apollon77 1 Reply Last reply Reply Quote 0
                          • apollon77
                            apollon77 @TT-Tom last edited by

                            @tt-tom Mach ein Feature Request ... keine Ahnung wann jemand dafür zeit findet ... das ist recht schwierig dafür wie ical arbeitet

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              TT-Tom @apollon77 last edited by

                              @apollon77 okay muss ich in GitHub machen, oder? Benötige ich dort dann ein Account oder kann man das ohne machen?

                              apollon77 1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 @TT-Tom last edited by

                                @tt-tom Ja bitte im Github. Und ja brauchst einen Account (Email/Passwort) ... geht fix 🙂

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  TT-Tom @apollon77 last edited by

                                  Hallo @apollon77 habe Account angelegt und Feature Request angelegt. Da mein Englisch nicht das beste ist, hoffe ich es ist richtig platziert.
                                  PS: my englisch is not the yellow from the egg

                                  Gruß Tom

                                  apollon77 1 Reply Last reply Reply Quote 0
                                  • apollon77
                                    apollon77 @TT-Tom last edited by

                                    @tt-tom Koi Stress, Doitsch geht auch

                                    1 Reply Last reply Reply Quote 0
                                    • iPhilBln
                                      iPhilBln last edited by

                                      Gibt es hier jemanden, der das "homebridge-xiaomi-fan" Plugin erfolgreich zum laufen bekommen hat?
                                      Bekomme zwar alle Datenpunkte rein und rudimentäres Ein- / Ausschalten funktioniert auch, jedoch lässt sich die Geschwindigkeit nicht verändern. Der Adapter übermittelt nicht den Wert, sodass er beim nächsten Polling auf den Ursprungswert zurückspringt. Aus dem Log ("Debug") werde ich nicht so wirklich schlau, da auch keine Fehler angezeigt werden. Der Adapter funktioniert in meiner externen Homebridge installation aber einwandfrei.
                                      hb xiaomi.png

                                      hb dp.png

                                      
                                      ham.1
                                      2022-08-07 15:52:33.620	debug	lookup id: Standventilator.Standventilator.Rotation-Speed
                                      
                                      ham.1
                                      2022-08-07 15:52:33.620	info	stateChange ham.1.Standventilator.Standventilator.Rotation-Speed {"val":36,"ack":true,"ts":1659880353615,"q":0,"from":"system.adapter.ham.1","user":"system.user.admin","lc":1659880353615}
                                      
                                      ham.1
                                      2022-08-07 15:52:33.619	debug	lookup id: Standventilator.Standventilator.Active
                                      
                                      ham.1
                                      2022-08-07 15:52:33.619	info	stateChange ham.1.Standventilator.Standventilator.Active {"val":1,"ack":true,"ts":1659880353615,"q":0,"from":"system.adapter.ham.1","user":"system.user.admin","lc":1659880118500}
                                      
                                      ham.1
                                      2022-08-07 15:52:29.533	debug	lookup id: Standventilator.Standventilator.Rotation-Speed
                                      
                                      ham.1
                                      2022-08-07 15:52:29.532	info	stateChange ham.1.Standventilator.Standventilator.Rotation-Speed {"val":30,"ack":true,"ts":1659880349530,"q":0,"from":"system.adapter.ham.1","user":"system.user.admin","lc":1659880349524}
                                      
                                      ham.1
                                      2022-08-07 15:52:29.526	debug	ack is not set!
                                      
                                      ham.1
                                      2022-08-07 15:52:29.526	debug	lookup id: Standventilator.Standventilator.Rotation-Speed
                                      
                                      ham.1
                                      2022-08-07 15:52:29.526	info	stateChange ham.1.Standventilator.Standventilator.Rotation-Speed {"val":30,"ack":false,"ts":1659880349524,"q":0,"from":"system.adapter.admin.0","user":"system.user.admin","lc":1659880349524}
                                      
                                      apollon77 1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 @iPhilBln last edited by

                                        @iphilbln Also ddie Infos sagen jetzt was? 🙂

                                        Ich sehe das du den Wert 30 setzt. Der wird dann bestätigt und active wird auf 1 gesetzt und direkt drauf kommt die 36 ... Das ist falsch? Oder was sollte es sein? Sollte es die 30sein?

                                        Setze Loglevel bitte mal auf Silly und poste das Log von so einer Aktion damit bitte

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

                                          @apollon77 Ja das habe ich mich auch gefragt um ehrlich zu sein. Hab es jetzt nochmal auf silly gesetzt anstatt debug und direkt mit der Konsole für den Adapter gefiltert. Sprengt nur leider die Anzahl der Zeichen hier. Reicht es dir als log file?

                                          ham1.log

                                          Im Prinzip hast du es richtig verstanden. Der Wert der Lüftergeschwindigkeit war 36. Diesen wollte ich über den DP auf 30 ändern aber die Änderung wird nicht im Lüfter übernommen. Über die Homekit App kann ich den Wert aber problemlos setzen.
                                          Im jetzigen Versuch den Weert zu ändern wollte ich den Wert 1 auf 50 setzen.

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

                                            @iphilbln Und um sicherzugehen? Die Ham version ist die aktuellste 5.0.2 aus Beta? Oder noch ne 4? Wenn 4 dann bitte mit 5 versuchen bevor ich Geister suche. Musst dann aber ggf auch homebridge updaten und plugin oder so. Siehe Readme

                                            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

                                            888
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

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