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

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Logitech Harmony Adapter

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

      Ich kann nur vermuten, dass der Hub zu diesem Zeitpunkt nicht korrekt im WLAN hängt oder es gibt noch einen Bug. Ich bräuchte dann zumindest mal LOGs, am besten mit aktiviertem DEBUG, um mir das näher anzusehen.

      1 Reply Last reply Reply Quote 0
      • F
        Findus last edited by

        Hi Pman,

        Danke.. Mache ich gerne … Kannst du mir kurz beschreiben was ich genau machen soll? Wie schalte ich debug ein, welches log... nur um Missverstaendnisse zu vermeiden...

        Gruesse

        Findus

        1 Reply Last reply Reply Quote 0
        • F
          Findus last edited by

          Habe jetzt nochmal ein bisschen experimentiert und habe folgendes herausgefunden.

          ich habe folgenden Status in IOBroker Obects Tab:

          harmony.0.Harmony_Hub.activities.currentActivity steht bei mir auf "Fernsehen" wenn ich bei iobroker unter Objects nachschaue.

          Wenn ich nun in javascript folgendes ausfuehre

          switch(getState("harmony.0.Harmony_Hub.activities.currentActivity").val)

          {

          case "Fernsehen":

          console.log("Fernsehen");

          break;

          case "Power_Off": // Raspi Mode

          console.log("Power_Off (raspi)");

          break;

          ….

          }

          dann lande ich nicht in "FERNSEHEN" sondern in "POWER_Off" was richtig ist.

          so wie es ausschaut ist die currentActivity korrekt aber die Darstellung im Inbroker Objects tab falsch ( kein update ....)

          Viele Gruesse

          Findus

          1 Reply Last reply Reply Quote 0
          • F
            Findus last edited by

            Habe leider weiterhin Probleme mit Harmony adapter

            wenn ich die activity setzen moechte kommt jetzt dieser Fehler. Harmony funktioniert tadellos und macht was sie soll… nur der Adapter scheint Probleme zu haben.

            Dies passiert natuerlich nur von Zeit zu Zeit.

            harmony.0 2017-04-14 10:27:26.404 warn error changing activity, client offline

            Gruss

            Findus

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

              Stand vorher schon was im LOG? "lost client" oder ähnliches?

              1 Reply Last reply Reply Quote 0
              • F
                Findus last edited by

                Am Vortag habe ich folgende Eintraege gefunden …

                2017-04-13 05:45:13.098 - ^[[32minfo^[[39m: harmony.0 client ended: Harmony_Hub

                2017-04-13 05:45:14.169 - ^[[32minfo^[[39m: harmony.0 keep alive failed: Error: Timed out after 5000 ms

                2017-04-13 05:45:24.204 - ^[[33mwarn^[[39m: harmony.0 could not connect to Harmony Hub: Error: Timed out after 5000 ms

                2017-04-13 05:45:42.002 - ^[[32minfo^[[39m: harmony.0 discovered Harmony Hub

                2017-04-13 05:45:42.071 - ^[[32minfo^[[39m: harmony.0 connecting to Harmony Hub

                2017-04-13 05:45:44.448 - ^[[32minfo^[[39m: harmony.0 connected to Harmony Hub

                2017-04-13 05:45:45.581 - ^[[32minfo^[[39m: harmony.0 synced hub config

                dies ist mehrmals aufgetreten

                ...

                2017-04-13 06:16:11.146 - ^[[32minfo^[[39m: harmony.0 keep alive failed: Error: Timed out after 5000 ms

                2017-04-13 06:16:11.148 - ^[[32minfo^[[39m: harmony.0 client ended: Harmony_Hub

                2017-04-13 06:16:11.423 - ^[[32minfo^[[39m: harmony.0 keep alive failed: Error: Timed out after 5000 ms

                2017-04-13 06:16:13.789 - ^[[33mwarn^[[39m: harmony.0 lost Harmony Hub

                2017-04-13 06:16:21.158 - ^[[33mwarn^[[39m: harmony.0 could not connect to Harmony Hub: Error: Timed out after 5000 ms

                2017-04-13 06:16:23.656 - ^[[32minfo^[[39m: harmony.0 discovered Harmony Hub

                2017-04-13 06:16:23.722 - ^[[32minfo^[[39m: harmony.0 connecting to Harmony Hub

                2017-04-13 06:16:26.101 - ^[[32minfo^[[39m: harmony.0 connected to Harmony Hub

                2017-04-13 06:16:27.197 - ^[[32minfo^[[39m: harmony.0 synced hub config

                danach aber war Ruhe... an diesem Tag mit Eintraegen

                erst am naechsten Tag dann sobald ich den HUB in den Airplaymode schalten wollte

                2017-04-14 09:58:28.666 - ^[[32minfo^[[39m: javascript.0 script.js.common.Activities: switch Harmony to Airplay mode

                2017-04-14 09:58:28.684 - ^[[33mwarn^[[39m: harmony.0 error changing activity, client offline

                2017-04-14 09:58:29.153 - ^[[32minfo^[[39m: javascript.0 script.js.common.Activities: Airplay

                Gruss

                Findus

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

                  Ich hatte früher das Problem, dass die WLAN Verbindung vom Hub abgebrochen ist (rote LED am Hub).

                  Das wäre eine Erklärung für den LOG-Eintrag.

                  Wenn die LED rot ist, funktioniert aber die "normale" Ferbedienung - man merkt also nix davon.

                  Seit ich einen neuen WLAN-AP habe, ist Ruhe.

                  Überprüfe vielleicht einmal ob es bei Problemen an der Verbindung liegt.

                  LG Schubi

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

                    Diese LOG Einträge sehen aus wie normale Verbindungsprobleme, die der Hub leider oft hat. WLAN-Kanal wechseln, Position des Hub oder Routers können helfen. Warum es dann genau im Moment der Nutzung passiert ist aber interessant, anscheinend wurde dieser Disconnect nicht vorzeitig erkannt.

                    1 Reply Last reply Reply Quote 0
                    • F
                      Findus last edited by

                      Vielen Dank fuer die Hinweise … benutzte Fritzbox 7390 Wlan und der Hub steht 1m davon entfernt...

                      leider hat der Adapter heute Morgen wieder die falsche Aktivitaet. Hub defindet sich eindeutig in der "Power_OFF" Aktivitaet aber die Objekte zeigen folgenden Zustand..... "Fernsehen"

                      Harmony_Hub device Harmony_Hub device Amazon_Fire_TV-Stick channel Amazon_Fire_TV-Stick channel media.device

                      Microsoft-Media_Player channel Microsoft-Media_Player channel media.device

                      Samsung_TV channel Samsung_TV channel media.device

                      Vu+_UNO_4K channel Vu+_UNO_4K channel media.device

                      Yamaha_AV-Empfänger channel Yamaha_AV-Empfänger channel media.device

                      activities channel activities channel media.activities

                      Airplay state activity:Airplay state switch 0

                      Fernsehen state activity:Fernsehen state switch 2

                      Fire_TV state activity:Fire_TV state switch 0

                      Power_Off state activity:Power_Off state switch 0

                      currentActivity state activity:currentActivity state indicator.activity Fernsehen

                      currentStatus state activity:currentStatus state indicator.status 2

                      hubBlocked state Harmony_Hub:hubBlocked state indicator.hubBlocked false

                      hubConnected state Harmony_Hub:hubConnected state indicator.hubConnected true

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

                        In diesem Moment wären dann die letzten LOG Einträge sehr interessant.

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

                          Ich habe momentan auch wieder massive Probleme mit dem Harmony Adapter, leider zeigt mein LOG gerade nichts weiter an, als dass die Activity nicht ausgeführt werden konnte, da der Adapter offline ist.

                          Ich habe momentan die neueste 0.7 Version. Ich weiß nicht wann das letzte Update war, ggf kürzlich und es hängt damit zusammen… vorher ging jedenfalls alles wochenlang bestens.

                          Es liegt jedenfall nicht an Verbindungsproblemen des Hubs, die Fernbedienung z.b. schaltet alles tadellos.

                          ****Achso, fast vergessen: -Ich habe in meiner VIS ein Symbol, ob Harmony verbunden ist oder nicht- das zeigt dann nicht verbunden an (hubConnected=false)

                          bei den Instanzen ist Harmony hingegen GRÜN, also Verbunden mit Host & Lebenszeichen. Das sieht für mich nach einem Fehler aus.****

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

                            Bin heute per Backup/Restore von Rasp zu OrangePi umgezogen.

                            Neuer Hostname und neue IP.

                            Jetzt macht mir der Harmony Adapter Probleme.

                            Ich hab ihn schon gelöscht und neu installiert, leider keine Veränderung.

                            Funktionieren tut an sich alles.

                            Bei Aktion "Fernseher ausschalten" läuft alles problemlos.

                            Bei Aktion "Fernseher einschalten" läuft eigentlich auch, Aktion wird ordnungsgemäß ausgeführt, allerdings im Log:

                            host.orangepiplus2e	2017-04-29 21:51:55.560	error	instance system.adapter.harmony.0 terminated with code 0 (OK)
                            harmony.0	2017-04-29 21:51:55.455	info	terminating
                            harmony.0	2017-04-29 21:51:55.454	error	Error: Q can't apply finally callback at Promise.fin.Promise.finally (/opt/iobroker/node_modules/q/q.js:1775:15) at switchActivity (/opt/iobroker/node_modules/iobroker.harmony/harmony.js:137:9
                            harmony.0	2017-04-29 21:51:55.452	error	uncaught exception: Q can't apply finally callback
                            

                            Fängt jemand damit was an?

                            OT: Wenn ich einen Adapter lösche, sind dann alle Daten weg oder bleibt irgendwo eine Datei mit den Einstellungen zurück welche ich manuell löschen müsste?

                            1 Reply Last reply Reply Quote 0
                            • K
                              Karim last edited by

                              Hallo alle zusammen,

                              Ich bin noch ganz neu in der Materie hier und bin schon echt stolz auf mich, dass ich es geschafft habe den Raspi auf zu setzten und ioBroker sowie die Adapter zu installieren.

                              In diesem Zuge auch schon mal vielen Dank für die ganze Arbeit, die ihr euch hier macht! Super!

                              Der Adapter funktioniert wirklich super, leider habe ich Probleme mit activitys in Szenen und ich weiß einfach nicht was ich falsch mache, oder ob ich einfach irgendwas vergessen habe.

                              Ich hoffe ich bin hier auch im richtigen Bereich. Das was ich nicht verstehe ist, dass es manchmal funktioniert und manchmal eben nicht.

                              Wenn etwas Zeit vergeht, ist die Wahrscheinlichkeit größer, dass es klappt. Wenn ich die activity aber einfach "nach bastel" und es als einzelne Befehle schicke, klappt alles prima.

                              Das hier spuckt der Log aus.

                              host.raspberrypi	2017-05-03 02:41:06.981	info	Restart adapter system.adapter.harmony.0 because enabled
                              host.raspberrypi	2017-05-03 02:41:06.981	error	instance system.adapter.harmony.0 terminated with code 0 (OK)
                              harmony.0	2017-05-03 02:41:06.960	info	terminating
                              harmony.0	2017-05-03 02:41:06.937	warn	change activities, not currentActivity
                              harmony.0	2017-05-03 02:41:06.923	info	terminating
                              harmony.0	2017-05-03 02:41:06.920	error	at null._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3030:38)
                              harmony.0	2017-05-03 02:41:06.920	error	at Adapter.emit (events.js:172:7)
                              harmony.0	2017-05-03 02:41:06.920	error	at emitTwo (events.js:87:13)
                              harmony.0	2017-05-03 02:41:06.920	error	at Adapter. (/opt/iobroker/node_modules/iobroker.harmony/harmony.js:34:15)
                              harmony.0	2017-05-03 02:41:06.920	error	at Object.semaphore.take (/opt/iobroker/node_modules/iobroker.harmony/node_modules/semaphore/lib/semaphore.js:45:9)
                              harmony.0	2017-05-03 02:41:06.920	error	at Object.item.task (/opt/iobroker/node_modules/iobroker.harmony/node_modules/semaphore/lib/semaphore.js:34:29)
                              harmony.0	2017-05-03 02:41:06.920	error	at /opt/iobroker/node_modules/iobroker.harmony/harmony.js:36:9
                              harmony.0	2017-05-03 02:41:06.920	error	at processStateChange (/opt/iobroker/node_modules/iobroker.harmony/harmony.js:67:21)
                              harmony.0	2017-05-03 02:41:06.920	error	at switchActivity (/opt/iobroker/node_modules/iobroker.harmony/harmony.js:137:92)
                              harmony.0	2017-05-03 02:41:06.920	error	at Promise.fin.Promise.finally (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/q/q.js:1775:15)
                              harmony.0	2017-05-03 02:41:06.920	error	Error: Q can't apply finally callback
                              harmony.0	2017-05-03 02:41:06.907	error	uncaught exception: Q can't apply finally callback
                              harmony.0	2017-05-03 02:40:39.602	warn	change activities, not currentActivity
                              harmony.0	2017-05-03 02:40:39.032	info	hub busy, stateChange delayed: harmony.0.Karim's_Harmony_Hub.activities.currentActivity=PowerOff
                              harmony.0	2017-05-03 02:40:25.498	info	synced hub config
                              harmony.0	2017-05-03 02:40:24.418	info	connected to Karim's Harmony Hub
                              harmony.0	2017-05-03 02:40:22.035	info	connecting to Karim's Harmony Hub
                              harmony.0	2017-05-03 02:40:21.919	info	discovered Karim's Harmony Hub
                              harmony.0	2017-05-03 02:40:20.660	info	searching for Harmony Hubs...
                              harmony.0	2017-05-03 02:40:20.615	info	starting. Version 0.7.0 in /opt/iobroker/node_modules/iobroker.harmony, node: v4.8.2
                              host.raspberrypi	2017-05-03 02:40:18.153	info	instance system.adapter.harmony.0 started with pid 10372
                              host.raspberrypi	2017-05-03 02:39:48.132	info	Restart adapter system.adapter.harmony.0 because enabled
                              host.raspberrypi	2017-05-03 02:39:48.131	error	instance system.adapter.harmony.0 terminated with code 0 (OK)
                              harmony.0	2017-05-03 02:39:48.106	info	terminating
                              harmony.0	2017-05-03 02:39:48.078	warn	change activities, not currentActivity
                              harmony.0	2017-05-03 02:39:48.055	info	terminating
                              harmony.0	2017-05-03 02:39:48.052	error	at null._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3030:38)
                              harmony.0	2017-05-03 02:39:48.052	error	at Adapter.emit (events.js:172:7)
                              harmony.0	2017-05-03 02:39:48.052	error	at emitTwo (events.js:87:13)
                              harmony.0	2017-05-03 02:39:48.052	error	at Adapter. (/opt/iobroker/node_modules/iobroker.harmony/harmony.js:34:15)
                              harmony.0	2017-05-03 02:39:48.052	error	at Object.semaphore.take (/opt/iobroker/node_modules/iobroker.harmony/node_modules/semaphore/lib/semaphore.js:45:9)
                              harmony.0	2017-05-03 02:39:48.052	error	at Object.item.task (/opt/iobroker/node_modules/iobroker.harmony/node_modules/semaphore/lib/semaphore.js:34:29)
                              harmony.0	2017-05-03 02:39:48.052	error	at /opt/iobroker/node_modules/iobroker.harmony/harmony.js:36:9
                              harmony.0	2017-05-03 02:39:48.052	error	at processStateChange (/opt/iobroker/node_modules/iobroker.harmony/harmony.js:67:21)
                              harmony.0	2017-05-03 02:39:48.052	error	at switchActivity (/opt/iobroker/node_modules/iobroker.harmony/harmony.js:137:92)
                              harmony.0	2017-05-03 02:39:48.052	error	at Promise.fin.Promise.finally (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/q/q.js:1775:15)
                              harmony.0	2017-05-03 02:39:48.052	error	Error: Q can't apply finally callback
                              harmony.0	2017-05-03 02:39:48.040	error	uncaught exception: Q can't apply finally callback
                              harmony.0	2017-05-03 02:39:26.314	warn	change activities, not currentActivity
                              harmony.0	2017-05-03 02:39:25.585	info	hub busy, stateChange delayed: harmony.0.Karim's_Harmony_Hub.activities.currentActivity=PowerOff
                              

                              Lieben Gruß, Karim.

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

                                Über die neuen Probleme bitte hier weiter diskutieren:

                                http://forum.iobroker.net/viewtopic.php?f=22&t=6228

                                1 Reply Last reply Reply Quote 0
                                • K
                                  Karim last edited by

                                  Ah okay, danke für den Link. Das beschreibt ja genau mein Problem!

                                  Lieben Gruß, Karim.

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

                                    Hallo zusammen,

                                    bin gerade beim Stöbern über https://www.myharmony.com/de-de/harmony-api gestolpert:

                                    Logitech arbeitet mit einer ausgesuchten Liste von Entwicklern an der Implementierung der Harmony-API. Wenn Sie teilnehmen möchten, geben Sie uns bekannt:
                                    

                                    Arbeitet da jemand dran?

                                    Gruß

                                    Rainer

                                    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

                                    509
                                    Online

                                    31.7k
                                    Users

                                    79.7k
                                    Topics

                                    1.3m
                                    Posts

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