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.
    • B
      Blackeye last edited by

      Hi,

      wieso bekommt der Adapter teilweise den Statuswechsel nicht mit?

      Ich hatte einen Harmony Adapter bei Openhab installiert und da lief das Teil wirklich ohne Probleme.

      Gruß

      Lars

      1 Reply Last reply Reply Quote 0
      • D
        Desti last edited by

        @Blackeye:

        Hi,

        geht es nur um GIT? Bei mir ist das in der Paketquelle http://packages.synocommunity.com drin.

        Jetzt muss mir aber jemand sagen wie ich über Alexa den Fernseher an und ausschalten kann….

        @Desti:

        @BabooN-Syno:

        gibt es auch eine Lösung für die Git Installation auf einer Synology? =/ `

        Das würde mich auch brennend interessieren 😞

        Hab nun meine Elite eingerichtet und hatte Hoffnung es in IO zu integrieren. Mein IO Broker läuft auf nem Docker auf Synology DS716+II

        Fehlermeldung:

        $ ./iobroker add harmony
        npm install iobroker.harmony --production --prefix "/opt/iobroker" (System call)
        npm
         WARN engine harmonyhubjs-client@1.1.10: wanted: {"npm":">=3.0.0"} (current: {"node":"4.7.3","npm":"2.15.11"})
        npm
         WARN addRemoteGit Error: not found: gitnpm WARN addRemoteGit     at getNotFoundError (/usr/lib/node_modules/npm/node_modules/which/which.js:14:12)
        npm
         WARN addRemoteGit     at F (/usr/lib/node_modules/npm/node_modules/which/which.js:69:19)npm WARN addRemoteGit
             at E (/usr/lib/node_modules/npm/node_modules/which/which.js:81:29)npm
         WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/which.js:90:16npm WARN 
        addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5npm WARN addRemoteGit     at /usr/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
        npm WARN addRemoteGit     at FSReqWrap.oncomplete (fs.js:82:15)
        
        npm WARN addRemoteGit  git+https://github.com/swissmanu/ltx.git#cdata-for-ltx-parser resetting remote /root/.npm/_git-remotes/https-github-com-swissmanu-ltx-git-634cc128 because of error: { [Error: not found: git] code: 'ENOGIT' }
        npm
         WARN deprecated node-xmpp-stanza@1.1.0: use @xmpp/xml package <https: www.npmjs.com/package/@xmpp/xml="">npm
         ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/swissmanu/ltx.git /root/.npm/_git-remotes/https-github-com-swissmanu-ltx-git-634cc128: undefinednpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror https://github.com/swissmanu/ltx.git /root/.npm/_git-remotes/https-github-com-swissmanu-ltx-git-634cc128:
         undefined
        npm
         ERR! Linux 3.10.77npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.harmony" "--production" "--prefix" "/opt/iobroker"
        npm ERR! node v4.7.3
        npm ERR! npm  v2.15.11
        
        npm ERR! code ENOGIT
        npm ERR! not found: git
        npm ERR! 
        npm ERR! Failed using git.
        npm ERR! This is most likely not a problem with npm itself.
        npm ERR! Please check if you have git installed and in your PATH.
        
        npm ERR! Please include the following file with any support request:npm ERR!     /opt/npm-debug.log
        
        ERROR: host.DestiNas Cannot install iobroker.harmony: 1
        ERROR: process exited with code 25</https:> 
        ```` `  `  
        

        Leider ist das nicht ganz so einfach, da iobroker in nem docker installiert ist 😞

        UPDATE: Hab es dann doch hinbekommen auf der Synology im Docker.

        Ab in terminal und mit "apt-get install git" im Docker installiert. Installation des Adapters mit Fehlermeldungen, aber es lief durch :))))

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

          @Blackeye:

          Hi,

          wieso bekommt der Adapter teilweise den Statuswechsel nicht mit?

          Ich hatte einen Harmony Adapter bei Openhab installiert und da lief das Teil wirklich ohne Probleme.

          Gruß

          Lars `

          Habe das gleiche Problem…. ab und zu bekommt der Adapter den Statusechsel (e.g. Fernsehen, FireTV) nicht mit.

          Ist dies ein bekanntes Problem?

          1 Reply Last reply Reply Quote 0
          • 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

                                          765
                                          Online

                                          31.8k
                                          Users

                                          79.9k
                                          Topics

                                          1.3m
                                          Posts

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