Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Logitech Harmony Adapter

    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

    Logitech Harmony Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Pman last edited by

      Radio auf 0 setzen reicht schon.

      Es kann ohnehin immer nur eine Aktivität gleichzeitig laufen (=2), alles anderen sind dann schon 0.

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators last edited by

        Danke!

        klappt alles.

        Nochmals danke für den Super-Adapter!

        Bleibt nur das (systembedingte) Fehlen eine Lautstärke einzugeben.

        Im Moment haben wir nur die Möglichkeit mit zehntel dB inkrements zu arbeiten, ohne dass man den vorherigen Status kennt.

        Mal sehen, wir ich das löse. (Widget, dass automatisch 10 Impulse gibt?)

        Gruß

        Rainer

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

          Die meisten Geräte in Harmony kennen keinen Zustand, es wird einfach ein Infrarot- oder Bluetoothbefehl gesendet, die Geräte antworten aber nicht. Man hat auch keinerlei Bestätigung, ob der Befehl jemals beim Gerät angekommen ist.

          Auch die Lautstärkestufen, welche bei VolUp geändert werden sind bei jedem Gerät unterschiedlich, manche Geräte haben hunderte Stufen, manche sind bei 10 schon auf maximum. Ich fürchte da musst du dir was individuelles basteln.

          Vielleicht immer erst ganz oft VolDown, bis auf jeden Fall die unterste Stufe erreicht ist und dann eine definierte Anzahl VolUp, bis die gewünschte Lautstärke erreicht ist?

          1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators last edited by

            @Pman:

            Ich fürchte da musst du dir was individuelles basteln. `

            Denke ich auch.

            Dein Ansatz ähnelt meinem, jetzt muss ich halt noch ein Widget finden, dass ich nicht 453 mal (Zimmerlautstärke) tippen muss :mrgreen:

            Gruß

            Rainer

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

              Ich habe nochmal eine Menge am Adapter geändert und jetzt funktioniert er so wie ich es gerne hätte 8-) .

              Wäre super wenn der ein oder andere mal testen könnte!

              iobroker del harmony.0
              npm install https://github.com/Pmant/ioBroker.harmony/tarball/master
              iobroker upload harmony
              iobroker add harmony 
              

              Wer die alte Version schon drauf hat sollte vorher die Instanz einmal löschen, damit alle alten Datenpunkte gelöscht werden, da sich die Objektstruktur verändert hat.

              Näheres zur Benutzung des Adapters steht dann in der Readme auf github.

              1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators last edited by

                ich will die Instanz löschen.

                Das popup schliesst sich nach einigen Minuten nicht von selbst.

                ist er dann noch nicht fertig, oder kann ich es manuell schließen:

                $ ./iobroker del harmony.0
                Counted 1 instances of harmony.0
                Counted 6 states "system.adapter.harmony.0*" from states
                Counted 329 states "io.harmony.0*" from states
                Counted 329 states "harmony.0*" from states
                Counted 351 objects of harmony.0
                Counted 1 devices of harmony.0
                Counted 16 channels of harmony.0
                Counted 333 objects of states of harmony.0Deleting 351 object(s).
                

                Der fehlende Zeilenumbruch ist original!

                RasPi2!

                admin 0.5.7

                js-controller 0.7.8 (experimantal)

                Gruß

                Rainer

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

                  Das ist Teil vom js-controller, da weiß ich nicht genau, ob was falsch gelaufen ist.

                  Es kann auf jeden fall kurz dauern, bis die ganzen states gelöscht sind, wobei es bei mir eher Sekunden als Minuten waren.

                  1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators last edited by

                    ich hatte mich dann in der Zwischenzeit getraut in einem weiteren Tab die objects aufzumachen.

                    sind noch alle da 😞

                    dann beende ich mal das popup und versuche es noch mal

                    Kann es an History-Daten liegen?

                    EDIT: er ist weg!

                    kam noch:

                    200 states left to be deleted

                    200 ??? left to be deleted

                    dann endete er mit code 0

                    EDIT2:

                    Installation ist durchgelaufen alle Datenpunkte wieder da!

                    Alle? Nein - sogar zu viele!

                    Unter states sehe ich einen Datenpunkt namens harmony.0.192_168_xxx_yyy.connected

                    Bei der ersten Installation hatte der Adapter noch mit IP-Adressen funktioniert.

                    Dieses Objekt habe ich zwischenzeitlich gelöscht (unter Objects ist auch nichts mehr)

                    Gruß

                    Rainer

                    1 Reply Last reply Reply Quote 0
                    • coyote
                      coyote Most Active last edited by

                      Hatte hier gerade so den gleichen Spaß wie Homoran.

                      Löschte nicht komplett bzw. blieb hängen beim löschen der Instanz. Musste den Raspi komplett rebooten und danach konnte ich die Instanz ohne Probleme löschen und auch innerhalb Sekunden

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

                        In der Tat konnte unter Umständen ein falscher State erstellt werden, habe es gefixt, sollte jetzt hoffentlich nicht mehr vorkommen.

                        Einfach nochmal npm install machen…

                        Allgemein zeigt mir Admin manchmal aber auch noch States an, welche nicht mehr vorhanden sind, ich lade dann immer einmal die Seite neu.

                        Zum Thema löschen der alten Instanz:

                        Den Fehler hatte ich nicht, bin auf js-controller 0.7.8, bei mir lief das Löschen immer sauber durch. Die neue Version erstell die Objekte streng nach bluefox Vorgaben, ich hoffe da passiert so was nicht mehr 🙂

                        EDIT:

                        da war noch ein Flüchtigkeitsfehler drin :lol:

                        1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators last edited by

                          Habe gerade nach updates gesucht und mich gefreut, dass der Harmony-Adapter jetzt auch im repository ist.

                          Aber: 😢 😢 😢

                          Nur Errors:

                          ! ````
                          $ ./iobroker upgrade harmony
                          npm install iobroker.harmony --production --prefix "/opt/iobroker/node_modules" (System call)
                          npm http GET https://registry.npmjs.org/iobroker.harmony
                          npm http
                          404 https://registry.npmjs.org/iobroker.harmony
                          npm ERR! TypeError: Cannot call method 'match' of undefinednpm ERR! at RegClient. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:119:29)
                          npm
                          ERR! at cb (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:158:9)npm
                          ERR! at RegClient. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:252:14)npm ERR! at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:129:22)
                          npm ERR! at Request.EventEmitter.emit (events.js:98:17)
                          npm ERR! at Request. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/request/request.js:873:14)
                          npm ERR! at Request.EventEmitter.emit (events.js:117:20)
                          npm ERR! at IncomingMessage. <anonymous>(/usr/local/lib/node_modules/npm/node_modules/request/request.js:824:12)
                          npm ERR! at IncomingMessage.EventEmitter.emit (events.js:117:20)
                          npm ERR! at _stream_readable.js:920:16
                          ! npm ERR! If you need help, you may report this log at:npm ERR! <http: github.com/isaacs/npm/issues="">
                          npm ERR! or email it to:
                          npm ERR! npm-@googlegroups.com
                          ! npm ERR! System Linux 3.18.11-v7+
                          npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.harmony" "--production" "--prefix" "/opt/iobroker/node_modules"
                          npm ERR! cwd /
                          npm ERR! node -v v0.10.22
                          npm ERR! npm -v 1.3.14
                          npm ERR! type non_object_property_call
                          ! npm ERR! npm ERR! Additional logging details can be found in:
                          npm ERR! /npm-debug.log
                          npm ERR! not ok code 0
                          ! Cannot install iobroker.harmony: 1
                          ERROR: process exited with code 25/npm-@googlegroups.com</http:></anonymous></anonymous></anonymous></anonymous>

                          
                          Gruß
                          
                          Rainer
                          1 Reply Last reply Reply Quote 0
                          • P
                            Pman last edited by

                            ist noch nicht auf npmjs, das mache ich wenn die aktuelle Version funktioniert.

                            1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators last edited by

                              ok, das erklärt einiges, aber es gab einen updatebutton im admin :?: :?: :?:
                              144_iobroker_harmony_update.jpg

                              Gruß

                              Rainer

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

                                Installation und Updates sollten jetzt auch über admin funktionieren.

                                1 Reply Last reply Reply Quote 0
                                • coyote
                                  coyote Most Active last edited by

                                  Installation bzw Update über Admin funktioniert. Danke dir

                                  1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators last edited by

                                    Ich weiss nicht, ob das mit dem harmony adapter zusammenhängt. Auf jeden FAll verschwinden immer wieder meine History Einstellungen zu den Datenpunkten.

                                    Soll heißen, die sind nicht mehr grün 😉

                                    Gruß

                                    Rainer

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

                                      Nur bei Harmony?

                                      Da bräuchte ich nochmal Input von bluefox, wird beim update eines states mit setObject die History Einstellung gelöscht?

                                      1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators last edited by

                                        Habe gerade ein update bei hm-rpc gemacht. Da sind die history flags noch da.

                                        Muss dann wohl doch am harmony Adapter liegen.

                                        Sorry

                                        Rainer

                                        EDIT: Die Datenpunkte des harmony-Adapters scheinen ihre History Flags von selbst zu verlieren (???!!!)

                                        EDIT2: Habe das im log gefunden:

                                        ! ````
                                        2015-08-18 16:36:00.291 - warn: harmony.0 lost Kino
                                        2015-08-18 16:36:05.631 - info: harmony.0 discovered Kino
                                        2015-08-18 16:36:07.030 - info: harmony.0 connected to Kino
                                        2015-08-18 16:36:07.554 - warn: harmony.0 keep alive cannot get current Activity: Error: Timed out after 5000 ms
                                        2015-08-18 16:36:08.286 - info: harmony.0 creating activities and devices
                                        2015-08-18 16:36:08.478 - info: harmony.0 updated hub config
                                        2015-08-18 16:36:08.719 - info: history.0 disabled logging of harmony.0.Kino.activities.currentActivity
                                        2015-08-18 16:36:12.086 - info: history.0 disabled logging of harmony.0.Kino.GigaBlue-DVR.DirectionDown
                                        2015-08-18 16:36:12.219 - info: history.0 disabled logging of harmony.0.Kino.GigaBlue-DVR.DirectionUp
                                        2015-08-18 16:48:01.037 - info: history.0 enabled logging of harmony.0.Kino.activities.currentActivity
                                        2015-08-18 16:48:55.771 - info: history.0 enabled logging of harmony.0.Kino.GigaBlue-DVR.DirectionDown
                                        2015-08-18 16:49:44.512 - info: history.0 enabled logging of harmony.0.Kino.GigaBlue-DVR.DirectionUp
                                        2015-08-18 17:22:26.462 - info: history.0 moving 480 entries to couchdb
                                        2015-08-18 17:22:27.997 - info: history.0 moved 480 history datapoints from Redis history.system.host.quad-pi.load to CouchDB history.system.host.quad-pi.load.20150818

                                        Der adapter hat den hub verloren, die Konfig neu eingelesen und dabei die History-Flags entfernt :cry: :cry: :cry:
                                        
                                        Gesendet von meinem Cynus T7 mit Tapatalk
                                        1 Reply Last reply Reply Quote 0
                                        • coyote
                                          coyote Most Active last edited by

                                          Hab heute auf die 0.5.2 geupdatet, dabei hab ich mal einen Screenshot gemacht.

                                          Pman, weißt du was das für "Warnings" sind? Fehlt mir was?
                                          536_screenshot_2015-08-19-17-35-47.png

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

                                            Die Warnings kann ich nicht richtig zuordnen, werden aber von einem der eingebundenen Pakete ausgelöst. Solang alles läuft sind die erstmal egal, ich versuche bei Gelegenheit mehr rauszufinden.

                                            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

                                            517
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            22
                                            118
                                            25185
                                            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