Skip to content
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Logitech Harmony Adapter

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.1k

Logitech Harmony Adapter

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
118 Beiträge 22 Kommentatoren 28.7k Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • BluefoxB Offline
    BluefoxB Offline
    Bluefox
    schrieb am zuletzt editiert von
    #68

    Das ist das Problem mit iconv Paket.

    Das habe ich gefunden:

    https://github.com/bnoordhuis/node-icon … -147357686

    ` > node-gyp is picking up what I suspect is the distro-maintained version of node.js and that's missing the REPLACE_INVALID_UTF8 patch. Running export npm_config_nodedir=$HOME/.nvm/versions/node/v4.1.2 should fix it.

    Note that this is not an issue with node-iconv, but with nan, and it's not really nan's fault either - there is no way for it to distinguish between versions with the patch, and ones without.

    node-gyp -v v0.10.6

    That is a really, really ancient version of node-gyp. `

    1 Antwort Letzte Antwort
    0
    • coyoteC Offline
      coyoteC Offline
      coyote
      Most Active
      schrieb am zuletzt editiert von
      #69

      Hallo Bluefox,

      wenn ich es jetzt richtig verstanden habe sollte ich in der Console > export npm_config_nodedir=$HOME/.nvm/versions/node/v4.1.2 eingeben.

      Bringt aber nichts, habe immer noch die gleichen Fehler, wenn ich den Harmony Adapter installieren will.

      1 Antwort Letzte Antwort
      0
      • P Offline
        P Offline
        Pman
        schrieb am zuletzt editiert von
        #70

        Von welcher node Version kamst du?

        Bei mir wird node-gyp neu erstellt, das dauert dann ein wenig:

        npm install iobroker.harmony
        > node-stringprep@0.6.2 install /opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-stringprep
        > node-gyp rebuild
        
        

        Vielleicht mal npm cache clean und npm cache clean -g machen, den Harmony Adapter komplett löschen und nochmal versuchen.

        Jetzt ist auch schon nodejs 4.2.0 mit LTS raus.

        1 Antwort Letzte Antwort
        0
        • coyoteC Offline
          coyoteC Offline
          coyote
          Most Active
          schrieb am zuletzt editiert von
          #71

          Ich glaube es war v11.7 oder so, auf jeden Fall ne 11er Version.

          Nutzt du auch die v4.1.2, Pman?

          Habe jetzt nochmal

          npm cache clean

          npm cache clean -g

          npm install iobroker-harmony

          dann kommt zum Schluss wieder Error. Muss leider ein Screenshot vom Smartphone anhängen.

          536_unnamed.png

          1 Antwort Letzte Antwort
          0
          • P Offline
            P Offline
            Pman
            schrieb am zuletzt editiert von
            #72

            Nutzt du Debian Jessie? Ich glaube node 4.x ist nicht kompatibel mit Wheezy. Außerdem ist ein Update eines bereits installierten ioBroker direkt von den alten Versionen vor 4.x schwierig, da etliche Abhängigkeiten neu erstellt werden müssen. Ich habe ioBroker komplett neu installiert mit allen nötigen Adaptern und danach dann das alte data-Verzeichnis rein kopiert.

            Auf jeden fall sollten build.essentials installiert sein (apt-get install build-essential), für node-gyp außerdem auch python 2.7.x (python –version)

            Ich habe mit 4.0.0 angefangen und bin seit heute auf 4.2, gab nie Probleme nach den Updates innerhab der 4.x Versionen.

            1 Antwort Letzte Antwort
            0
            • coyoteC Offline
              coyoteC Offline
              coyote
              Most Active
              schrieb am zuletzt editiert von
              #73

              Hmm ok. Nein hab noch Wheezy drauf.

              Na klasse, hätte ich dann besser sein lassen mit der v4.x.x, wobei ich sonst eigentlich keine Probleme habe laut log. Läuft auch soweit alles, bis auf den Harmony.

              In dem Linux Kram bin ich leider blutiger Anfänger. Ich habe vor paar Monaten erstmals iobroker auf meinem Raspi2 installiert nach der Anleitung von Homoran.

              Evtl. könntest du mir vllt etwas helfen wie ich jetzt am Besten vorgehe. Entweder wieder zurück zu einer 12er Version oder neu aufsetzen.

              Ich kenne leider die ganzen Befehle nicht.

              Edit: Kann ich so auch wieder zurück zu einer "alten" Version? So hab ich das Update auf v4.1.2 gemacht

              cd /opt
              iobroker stop
              cd
              
              apt-get remove node
              apt-get remove nodejs
              wget https://nodejs.org/dist/latest/node-v4.1.2-linux-armv7l.tar.gz
              tar -xvf node-v4.1.2-linux-armv7l.tar.gz 
              cd node-v4.1.2-linux-armv7l/
              sudo cp -R * /usr/local/
              hash -r
              
              node -v
              
              cd /opt
              iobroker start
              
              
              1 Antwort Letzte Antwort
              0
              • P Offline
                P Offline
                Pman
                schrieb am zuletzt editiert von
                #74

                Ich glaube z. B. der gcc ist zu alt bei wheezy.

                Wenn du das neue nodejs mit apt-get weg bekommst müsstest du danach wieder das alte wie gewohnt installieren.

                1 Antwort Letzte Antwort
                0
                • coyoteC Offline
                  coyoteC Offline
                  coyote
                  Most Active
                  schrieb am zuletzt editiert von
                  #75

                  Mist, geht natürlich nicht :x

                  Hast du sonst noch eine Idee? Ansonsten müsste ich wohl neu aufsetzen. Kann ich nach dem neu aufsetzen einfach die ganzen Adapter neu installieren und dann den "alten" iobroker-data Ordner wieder einfügen?

                  Sorry, dass ich jetzt gerade deinen Thread so zu texte, hat ja jetzt nix mehr mit deinem Adapter zu tun

                  1 Antwort Letzte Antwort
                  0
                  • P Offline
                    P Offline
                    Pman
                    schrieb am zuletzt editiert von
                    #76

                    Ja genau, das sollte klappen.

                    1 Antwort Letzte Antwort
                    0
                    • S Offline
                      S Offline
                      shortyle
                      schrieb am zuletzt editiert von
                      #77

                      Hi,

                      also ich konnte den Adapter erfolgreich installieren und die Datenpunkte hat er auch korrekt gezogen. Jetzt wäre meine Frage, wie gehe ich weiter mit diesen Datenpunkten vor? Ich würde einfach testhalber mal einen Button in VIS erstellen (welchen auch immer ich da nehmen kann?) um eine bestimmte Aktion (datenpunkt findet man im adminbild unter Objekte) zu starten.

                      Das mit der Taste zum SChalten einer Aktion hab ich hinbekommen…war gar nicht so schwer 🙂

                      Dann würde ich gerne noch versuchen, das er bei der Anwesenheitserkennung (diese läuft schon) z.B. Die Aktion startet, dass der TV und der A/V Receiver angeht.

                      Wie kann man sowas am schlanksten realisieren?

                      1 Antwort Letzte Antwort
                      0
                      • P Offline
                        P Offline
                        Pman
                        schrieb am zuletzt editiert von
                        #78

                        Das sind eher Fragen zu vis bzw. scene.

                        Für einen Button in Vis kannst du den jqui Icon toggle nehmen, den mit harmony.0.Hubname.activities.Activityname verknüpfen.

                        Für ein automatisches Starten einer Aktivität eine Szene im Scene Adapter erstellen, als Trigger deine Anwesenheitserkennung nehmen und deine Activity auf 2 setzen.

                        1 Antwort Letzte Antwort
                        0
                        • S Offline
                          S Offline
                          shortyle
                          schrieb am zuletzt editiert von
                          #79

                          super … das mit dem Button klappt schon super. Das mit der Szene probier ich auch... Danke nochmal für den tollen Adapter :mrgreen:

                          1 Antwort Letzte Antwort
                          0
                          • Samson71S Offline
                            Samson71S Offline
                            Samson71
                            Global Moderator
                            schrieb am zuletzt editiert von
                            #80

                            Moin Gemeinde,

                            habe mich heute endlich an die Installation auf meinem Synology Selbstbau gewagt (bisher nur ccu.io-Anwender). Scheint geklappt zu haben, auch wenn ich noch so meine Schwierigkeiten in der Bedienung habe…

                            Habe mich dann erstmal daran gemacht die einzelnen Adapter/Instanzen zu installieren (bis ich begriffen habe, dass ich hm-rpc mehrfach anlegen muss :roll: ).

                            Beim Harmony Adapter scheitere ich leider. Jemand ne Idee?

                            Gruß, Markus

                            $ ./iobroker add harmony
                            npm install iobroker.harmony --production --prefix "/opt/iobroker" (System call)
                            gyp 
                            ERR! build error 
                            gyp
                            
                            ERR! 
                            stack
                             Error: not found: make
                            gyp
                            
                            ERR! 
                            stack     at F (/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:72:28)
                            gyp ERR! stack     at E (/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:75:29)gyp ERR! stack     at /volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:83:16
                            gyp 
                            ERR! stack     at FSReqWrap.oncomplete (fs.js:95:15)gyp ERR! System Linux 3.2.40
                            gyp 
                            ERR! command "node" "/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-stringprep
                            gyp ERR! node -v v0.12.6
                            gyp ERR!
                             node-gyp -v v2.0.1gyp ERR! not ok 
                            
                            gyp
                            
                            ERR!
                             build error
                            
                            gyp
                             ERR! 
                            stack Error: not found: makegyp ERR!
                             stack     at F (/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:72:28)gyp ERR! stack     at E (/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:75:29)
                            gyp 
                            ERR! 
                            stack     at /volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:83:16gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:95:15)
                            gyp ERR! System Linux 3.2.40
                            gyp ERR! command "node" "/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                            gyp ERR! cwd /opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-core/node_modules/node-stringprep
                            gyp 
                            ERR! node -v v0.12.6gyp ERR! node-gyp -v v2.0.1
                            gyp ERR! not ok 
                            
                            gyp
                            
                            ERR!
                            
                            build error
                            
                            gyp
                            
                            ERR!
                             stack
                             Error: not found: make
                            gyp
                             ERR! stack     at F (/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:72:28)
                            gyp
                             ERR! stack     at E (/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:75:29)
                            gyp ERR!
                             stack     at /volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:83:16gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:95:15)
                            
                            gyp ERR! System Linux 3.2.40gyp
                             ERR! command "node" "/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-core/node_modules/ltx/node_modules/node-expat/node_modules/iconv
                            gyp ERR! node -v
                             v0.12.6gyp ERR! node-gyp -v v2.0.1
                            gyp ERR! not ok 
                            
                            npm
                             ERR!
                             Linux 3.2.40
                            npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.harmony" "--production" "--prefix" "/opt/iobroker"
                            npm ERR! node v0.12.6npm ERR!
                             npm  v2.11.2npm ERR! code ELIFECYCLE
                            
                            npm 
                            ERR! node-stringprep@0.6.2 install: `node-gyp rebuild`npm ERR! Exit status 1
                            npm ERR! 
                            npm ERR! Failed at the node-stringprep@0.6.2 install script 'node-gyp rebuild'.
                            npm ERR! This is most likely a problem with the node-stringprep package,
                            npm
                             ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:
                            npm 
                            ERR!     node-gyp rebuildnpm ERR! You can get their info via:
                            npm ERR!     npm owner ls node-stringprep
                            npm ERR! There is likely additional logging output above.
                            
                            npm ERR! Please include the following file with any support request:npm ERR!     /opt/npm-debug.log
                            
                            ERROR: host.DiskStation Cannot install iobroker.harmony: 1
                            ERROR: process exited with code 25
                            
                            1 Antwort Letzte Antwort
                            0
                            • wendy2702W Online
                              wendy2702W Online
                              wendy2702
                              schrieb am zuletzt editiert von
                              #81

                              @shortyle:

                              Hi,

                              also ich konnte den Adapter erfolgreich installieren und die Datenpunkte hat er auch korrekt gezogen. Jetzt wäre meine Frage, wie gehe ich weiter mit diesen Datenpunkten vor? Ich würde einfach testhalber mal einen Button in VIS erstellen (welchen auch immer ich da nehmen kann?) um eine bestimmte Aktion (datenpunkt findet man im adminbild unter Objekte) zu starten.

                              Das mit der Taste zum SChalten einer Aktion hab ich hinbekommen…war gar nicht so schwer 🙂 `

                              Hi,

                              ich habe den Adapter auch installiert und würde gerne einige Aktionen schalten.

                              Habe zum Testen den "jqui -icon toogle" Button gewählt, dann z.B. die Activity

                              harmony.0.Wohnzimmer.activities.100,5_Das_Hitradio
                              ````ausgewählt.
                              
                              Nach drücken des Button kommt das im log:
                              
                              

                              harmony.0 2016-01-22 15:07:55 info harmony.0 hub busy, stateChange delayed: harmony.0.Wohnzimmer.activities.100,5_Das_Hitradio=1
                              harmony.0 2016-01-22 15:07:54 info harmony.0 hub busy, stateChange delayed: harmony.0.Wohnzimmer.activities.100,5_Das_Hitradio=0

                              
                              Bei Wert steht eine "1" aber es tut sich nichts, was mache ich falsch bzw. was muss ich machen damit die Aktion ausgeführt wird?
                              
                              Danke und Gruß

                              Bitte keine Fragen per PN, die gehören ins Forum!

                              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                              1 Antwort Letzte Antwort
                              0
                              • P Offline
                                P Offline
                                Pman
                                schrieb am zuletzt editiert von
                                #82

                                Spontane Vermutung: Das Komma im Namen könnte schuld sein, kannst du es mal mit einer anderen Aktivität versuchen?

                                1 Antwort Letzte Antwort
                                0
                                • wendy2702W Online
                                  wendy2702W Online
                                  wendy2702
                                  schrieb am zuletzt editiert von
                                  #83

                                  Hi,

                                  habe es hinbekommen. Beim Wert muss eine "2" eingetragen werden.

                                  999_1live_widget.jpg

                                  Danke

                                  Bitte keine Fragen per PN, die gehören ins Forum!

                                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                  1 Antwort Letzte Antwort
                                  0
                                  • A Offline
                                    A Offline
                                    Arminhh
                                    schrieb am zuletzt editiert von
                                    #84

                                    moin bei mir verliert der Adapter alle 15 min. die Verbindung zum Hub.

                                    Hier die Log Fehlermeldung

                                    harmony-0 2016-02-06 21:38:29 info connected to Harmony Hub

                                    harmony-0 2016-02-06 21:38:27 info connecting to Harmony Hub

                                    harmony-0 2016-02-06 21:38:27 info discovered Harmony Hub

                                    harmony-0 2016-02-06 21:37:50 warn client ended

                                    harmony-0 2016-02-06 21:37:50 warn lost Harmony Hub

                                    Dadurch spielt meine Beleuchtung die ich per Szene steuere verrückt, da ich einen Datenpunkt vom Adapter abfrage.

                                    Ist der Fehler bekannt? Was könnte ich tun?

                                    Danke für die Hilfe!

                                    mfg

                                    Arminhh

                                    1 Antwort Letzte Antwort
                                    0
                                    • Jey CeeJ Online
                                      Jey CeeJ Online
                                      Jey Cee
                                      Developer
                                      schrieb am zuletzt editiert von
                                      #85

                                      Japp fehler ist bekannt und sehr lästig, hat aber nix mit dem Adapter zu tun.

                                      Das liegt an der wlan verbindung. Entweder ein oder mehrere wlans nutzen den gleichen funkkanal, oder ein anderes wlan in Reichweite des hubs hat den selben namen.

                                      Das Problem ist Logitech seit mindestens 2 Jahren bekannt.

                                      Edit: Lösung ist WLAN Funkkanal wechseln und/oder SSID(WLAN name) ändern. Funkkanal ändern hilft bei mir für eine weile.

                                      Gesendet von meinem Jolla mit Tapatalk

                                      Persönlicher Support
                                      Spenden -> paypal.me/J3YC33

                                      1 Antwort Letzte Antwort
                                      0
                                      • P Offline
                                        P Offline
                                        Pman
                                        schrieb am zuletzt editiert von
                                        #86

                                        Ansonsten das Szene schalten nur machen, wenn AUCH "connected" beim Logitech Adapter true ist.

                                        1 Antwort Letzte Antwort
                                        0
                                        • T Offline
                                          T Offline
                                          tommyms
                                          schrieb am zuletzt editiert von
                                          #87

                                          Hi,

                                          ich bekomme den Adapter nicht installiert:

                                          npm install iobroker.harmony --production --prefix "/mnt/pidrive/iobroker" (System call)
                                          npm WARN package.json harmony@0.0.1 No repository field.
                                          npm http GET https://registry.npmjs.org/iobroker.harmony
                                          npm http 304 https://registry.npmjs.org/iobroker.harmony
                                          npm http GET https://registry.npmjs.org/harmonyhubjs-client
                                          npm http GET https://registry.npmjs.org/semaphore
                                          npm http GET https://registry.npmjs.org/harmonyhubjs-discover
                                          npm http 304 https://registry.npmjs.org/harmonyhubjs-discover
                                          npm http 304 https://registry.npmjs.org/harmonyhubjs-client
                                          npm http 304 https://registry.npmjs.org/semaphore
                                          npm WARN engine harmonyhubjs-client@1.1.8: wanted: {"npm":">=3.0.0"} (current: {"node":"v0.10.22","npm":"1.3.14"})
                                          npm http GET https://registry.npmjs.org/debug
                                          npm http 304 https://registry.npmjs.org/debug
                                          npm http GET https://registry.npmjs.org/node-xmpp-client
                                          npm http GET https://registry.npmjs.org/node-xmpp-stanza
                                          npm http GET https://registry.npmjs.org/request
                                          npm http GET https://registry.npmjs.org/q
                                          npm http GET https://github.com/swissmanu/ltx.git#cdata-for-ltx-parser
                                          npm http 304 https://registry.npmjs.org/request
                                          npm http 304 https://registry.npmjs.org/node-xmpp-client
                                          npm http 304 https://registry.npmjs.org/q
                                          npm http 304 https://registry.npmjs.org/node-xmpp-stanza
                                          npm http 200 https://github.com/swissmanu/ltx.git#cdata-for-ltx-parser
                                          npm http GET https://registry.npmjs.org/ms/0.7.1
                                          npm http 304 https://registry.npmjs.org/ms/0.7.1
                                          npm ERR! not a package /root/tmp/npm-3507-wMupj7dW/1474655048107-0.5825331499800086/tmp.tgz
                                          npm ERR! Error: ENOENT, open '/root/tmp/npm-3507-wMupj7dW/1474655048107-0.5825331499800086/package/package.json'
                                          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 4.1.19-v7+
                                          npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "iobroker.harmony" "--production" "--prefix" "/mnt/pidrive/iobroker"
                                          npm ERR! cwd /mnt/pidrive/iobroker
                                          npm ERR! node -v v0.10.22
                                          npm ERR! npm -v 1.3.14
                                          npm ERR! path /root/tmp/npm-3507-wMupj7dW/1474655048107-0.5825331499800086/package/package.json
                                          npm ERR! code ENOENT
                                          npm ERR! errno 34
                                          npm ERR!
                                          npm ERR! Additional logging details can be found in:
                                          npm ERR!     /mnt/pidrive/iobroker/npm-debug.log
                                          npm ERR! not ok code 0
                                          host.raspberrypi Cannot install iobroker.harmony: 34</npm-@googlegroups.com></http:>
                                          

                                          Was mache ich falsch?

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          749

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe