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

      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
                  • H
                    hlwerschner last edited by

                    Hallo,

                    ich häng mich mal dran, heute auch versucht Harmony 0.5.2 zu installieren - in frisches iobroker , gestern installiert, homematic geht alles.

                    Beim Install des Harmony Adapters bekomme ich

                    iobroker	2015-09-15 17:51:43	info	exit 25
                    iobroker	2015-09-15 17:51:43	error	host.Hans-PC Cannot install iobroker.harmony: 1
                    iobroker	2015-09-15 17:51:43	info	npm
                    iobroker	2015-09-15 17:51:43	info	
                    iobroker	2015-09-15 17:51:43	info	npm ERR! code ELIFECYCLE
                    iobroker	2015-09-15 17:51:43	info	npm ERR! npm -v 1.4.28
                    iobroker	2015-09-15 17:51:43	info	npm ERR! node -v v0.10.35
                    iobroker	2015-09-15 17:51:43	info	npm ERR! cwd C:\WINDOWS\system32
                    iobroker	2015-09-15 17:51:43	info	System Windows_NT 6.2.9200npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.harmony" "--production" "--prefi
                    iobroker	2015-09-15 17:51:43	info	
                    iobroker	2015-09-15 17:51:43	info	ERR! There is likely additional logging output above.npm ERR!
                    iobroker	2015-09-15 17:51:43	info	
                    iobroker	2015-09-15 17:51:43	info	npm owner ls node-stringprepnpm
                    iobroker	2015-09-15 17:51:43	info	ERR!
                    iobroker	2015-09-15 17:51:43	info	ERR! You can get their info via:npm
                    iobroker	2015-09-15 17:51:43	info	
                    iobroker	2015-09-15 17:51:43	info	npm
                    iobroker	2015-09-15 17:51:43	info	node-gyp rebuild
                    iobroker	2015-09-15 17:51:43	info	ERR!
                    iobroker	2015-09-15 17:51:43	info	
                    iobroker	2015-09-15 17:51:43	info	npm
                    iobroker	2015-09-15 17:51:43	info	Tell the author that this fails on your system:
                    iobroker	2015-09-15 17:51:43	info	ERR!
                    iobroker	2015-09-15 17:51:43	info	npm
                    iobroker	2015-09-15 17:51:43	info	ERR! not with npm itself.
                    iobroker	2015-09-15 17:51:43	info	npm
                    iobroker	2015-09-15 17:51:43	info	This is most likely a problem with the node-stringprep package,
                    iobroker	2015-09-15 17:51:43	info	ERR!
                    iobroker	2015-09-15 17:51:43	info	
                    iobroker	2015-09-15 17:51:43	info	npm
                    iobroker	2015-09-15 17:51:43	info	Failed at the node-stringprep@0.6.2 install script.
                    iobroker	2015-09-15 17:51:43	info	ERR!
                    iobroker	2015-09-15 17:51:43	info	npm
                    iobroker	2015-09-15 17:51:43	info	ERR!
                    iobroker	2015-09-15 17:51:43	info	npm
                    iobroker	2015-09-15 17:51:43	info	Exit status 1
                    iobroker	2015-09-15 17:51:43	info	ERR!
                    iobroker	2015-09-15 17:51:43	info	npm
                    iobroker	2015-09-15 17:51:43	info	node-stringprep@0.6.2 install: `node-gyp rebuild`
                    iobroker	2015-09-15 17:51:43	info	ERR!
                    iobroker	2015-09-15 17:51:43	info	
                    iobroker	2015-09-15 17:51:43	info	npm
                    iobroker	2015-09-15 17:51:43	info	
                    iobroker	2015-09-15 17:51:43	info	gyp
                    iobroker	2015-09-15 17:51:41	info	gyp
                    iobroker	2015-09-15 17:51:41	info	cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.35","npm":"1.4.28"})
                    iobroker	2015-09-15 17:51:41	info	engine
                    iobroker	2015-09-15 17:51:41	info	
                    iobroker	2015-09-15 17:51:41	info	WARN
                    iobroker	2015-09-15 17:51:41	info	
                    iobroker	2015-09-15 17:51:41	info	npm
                    iobroker	2015-09-15 17:51:41	info	hoek@2.15.0: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.35","npm":"1.4.28"})
                    iobroker	2015-09-15 17:51:41	info	engine
                    iobroker	2015-09-15 17:51:41	info	
                    iobroker	2015-09-15 17:51:41	info	WARN
                    iobroker	2015-09-15 17:51:41	info	
                    iobroker	2015-09-15 17:51:41	info	npm
                    iobroker	2015-09-15 17:51:41	info	gyp
                    iobroker	2015-09-15 17:51:40	info	hoek@2.15.0: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.35","npm":"1.4.28"})
                    iobroker	2015-09-15 17:51:40	info	engine
                    iobroker	2015-09-15 17:51:40	info	
                    iobroker	2015-09-15 17:51:40	info	WARN
                    iobroker	2015-09-15 17:51:40	info	
                    iobroker	2015-09-15 17:51:40	info	npm
                    iobroker	2015-09-15 17:51:40	info	cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.35","npm":"1.4.28"})
                    iobroker	2015-09-15 17:51:40	info	engine
                    iobroker	2015-09-15 17:51:40	info	
                    iobroker	2015-09-15 17:51:40	info	WARN
                    iobroker	2015-09-15 17:51:40	info	
                    iobroker	2015-09-15 17:51:40	info	npm
                    iobroker	2015-09-15 17:51:39	info	gyp
                    iobroker	2015-09-15 17:51:36	info	npm install iobroker.harmony --production --prefix "d:/Program Files/ioBroker" (System call)
                    iobroker	2015-09-15 17:51:36	info	add harmony
                    

                    …Auszug aus dem log.

                    Kann mir noch jemand helfen 🙂

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

                      Es sieht so aus, als ob ein Paket gebaut werden muss.

                      Du kannst VS2012+ (Community edition) installieren und dann Versuchen harmony wieder zu installieren.

                      P.S. Auf linux ist es viel einfacher.

                      1 Reply Last reply Reply Quote 0
                      • H
                        hlwerschner last edited by

                        Wenn denn unter Linux alles viel einfacher ist …

                        Hab auf nem INTEL NUC2820 das Ubuntu 15. desktop installiert, iobroker dann drauf, noch all die Kleinigkeiten dazu ---> iobroker läuft und läd auch brav die Datenpunkte.

                        Dann alos Harmony adapter... Install Versuch brauchte gleiche Meldungen, aber ein sudo --- und manuelles install ohne webui ging dann. So, jetzt hab ich ne instanz und kann sie konfigurieren, bevor ich sie enable ?

                        Der config-Dialog zeigt ein Feld"Hub Name" da trag ich HarmonyHub ein, die folgenden Felder sind ausgegraut. Button "Find Hub" gedrückt bringt ein kleines Fenster Mit

                        Select a Hub:

                        Harmony Hub

                        ich klick da drauf und ein grosses Fenster geht auf und da steht in der ersten, einzigen Zeile

                        [object Object]

                        und im Terminal Fenster gibts ein längeres JSON zu sehen. Das wars.

                        Wenn ich das aussagekräftige Fenster zu mache, ist alles beim alten. Die Adapter-Instanz ist da, aber unter Objekte gibts nix.

                        Ich vermute mal, dass das nicht ganz perfekt läuft…auch nicht unter Linux 🙂
                        2858_yamaha.txt

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

                          @hlwerschner:

                          Ich vermute mal, dass das nicht ganz perfekt läuft…auch nicht unter Linux `
                          Deine Vermutung ist falsch!

                          Es läuft bei mir einwandfrei!

                          Ich nutze es sogar produktiv.

                          Vielleicht liegt es aber an Bluefox' Aussage:
                          @Bluefox:

                          Auf linux ist es viel einfacher. `

                          Die voll ausgesprochen sicher heissen sollte:

                          "Auf einem ARM Computer mit Debian Linux ist alles viel einfacher"

                          Ich habe Ubuntu aufgegeben, aber vielleicht liegt es an der nodejs-Version

                          Oder, oder, oder…

                          Gruß

                          Rainer

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

                            Ich muss mich ein wenig revidieren.

                            Ich habe mal eben schnell einen neuen ioBroker aufgesetzt, auf einer bisher noch nicht getesteten Umgebung.

                            Odroid U3 mit debian-wheezy-lxde-odroid-u-20140910.

                            Installation lief, iobroker auch, Installation von harmony ohne Probleme, Konfiguration über "Suche Hub" ergab auch keine Probleme.

                            Anschließend stieg der Harmony-Adapter jedoch aus:

                            ! ````
                            2015-09-16 19:08:51.769 - info: harmony.0 starting. Version 0.5.2 in /opt/iobroker/node_modules/iobroker.harmony
                            2015-09-16 19:08:51.846 - info: harmony.0 hub not initialized
                            2015-09-16 19:08:53.033 - info: harmony.0 discovered Kino
                            2015-09-16 19:08:54.451 - error: uncaught exception: Cannot read property 'identity' of undefined
                            2015-09-16 19:08:54.455 - error: TypeError: Cannot read property 'identity' of undefined
                            at Client. <anonymous>(/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/lib/login/hub.js:63:15)
                            at Client.EventEmitter.emit (events.js:95:17)
                            at Client.onStanza (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/index.js:224:14)
                            at Connection.EventEmitter.emit (events.js:95:17)
                            at Connection.onStanza (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/Connection.js:370:14)
                            at StreamParser. <anonymous>(/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/Connection.js:226:14)
                            at StreamParser.EventEmitter.emit (events.js:95:17)
                            at SaxLtx. <anonymous>(/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/StreamParser.js:59:22)
                            at SaxLtx.EventEmitter.emit (events.js:95:17)
                            at SaxLtx._handleTagOpening (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/node_modules/ltx/lib/parsers/ltx.js:30:18)
                            2015-09-16 19:08:54.757 - info: harmony.0 terminating
                            2015-09-16 19:08:54.773 - error: host.odroid-wheezy instance system.adapter.harmony.0 terminated with code 6 (uncaught exception)
                            2015-09-16 19:08:54.774 - info: host.odroid-wheezy Restart adapter system.adapter.harmony.0 because enabled
                            2015-09-16 19:09:16.048 - info: host.odroid-wheezy instance system.adapter.harmony.0 started with pid 3847</anonymous></anonymous></anonymous>

                            Datenpunkte werden nicht angelegt!
                            
                            Dies war mehrfach reproduzierbar!
                            
                            Gruß
                            
                            Rainer
                            1 Reply Last reply Reply Quote 0
                            • Bluefox
                              Bluefox last edited by

                              Ich hoffe Pman konnte es anschauen. Weil ich nicht mal Harmony habe.

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

                                Habe eben ein issue auf githaub eröffnet

                                Gruß

                                Rainer

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

                                  Ich kann den Fehler reproduzieren, muss aber noch herausfinden woran es liegt. So weit ich das sehe nutzt das eingebundene harmonyhubjs-client ein Paket node-xmpp-client, dort muss sich etwas verändert haben in der letzten Version (1.0.0).

                                  Workaround:

                                  cd /opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client
                                  npm remove node-xmpp-client
                                  npm install node-xmpp-client@1.0.0-alpha23 
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    Pman last edited by

                                    In Version 0.5.3 sollte nun wieder alles funktionieren.

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      hlwerschner last edited by

                                      So, ich bin wieder ein Stück weiter … mit dieser tatkräftigen Hilfe hier!

                                      Ich hab diese alpha23 version installier - wie oben angegeben und mit npm --installed list geprüft, danach den controller wieder gestartet.

                                      Unter Instanzen geht die config weiter hin nicht, gleiche Fensterinhalte wie von mir zuerst beschrieben.

                                      Ich hab das dann mal "ignoriert" und hab unter "Objekte" mir die Zeile "system.adapter.harmony.0" angesehn, die zeigt, dass der adapter läuft. In der Zeile kann man AUCH die config (Zahnrad-Icon rechts) einsehen.

                                      In dem Config Fenster kann man auch die Harmony account Informationen eingeben! Das hab ich gemacht und auch dort den Namen auf "Harmony Hub" eingestellt.

                                      Und siehe da, es klappt und ein paar Sekunden später sehe ich, dass die Hub-Properties als JSON übertragen werden.

                                      Ein beherzter Neustart /Resync des iobroker controllers liefert dann unter Objekte eine neue Zeile "harmony.0", darunter "Harmony Hub" und darunter die Hub Werte.

                                      Ist doch schon ganz nett und ich bedanke mich nochmals 🙂

                                      Ich werde das jetzt auch nochmal unter Win testen, vielleicht ist es dort "einfacher" 😉

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

                                        Das erklärt auch, warum ey unter einer bestehenden Installation funktioniert.

                                        Dort ist die Konfiguration ja bereits richtig.

                                        Hast du es nicht mit der 0.5.3 gemacht?

                                        Das workaround stand ja für die alte Version.

                                        Gruß

                                        Rainer

                                        Gesendet von meinem LIFETAB_S785X mit Tapatalk

                                        1 Reply Last reply Reply Quote 0
                                        • H
                                          hlwerschner last edited by

                                          die Adapters Seite zeigt in der Spalte "version" = 0.5.2 und in "installed" 0.5.3 (ich glaube, das kommt erst seit dem _alpha23 install). Wenn ich den Adapter remove und dann neu installiere, ist er immer 0.5.2. Keine Bemerkung, dass da ein 0.5.3 verfügbar ist.

                                          PS: unter windows 10 bleibt der Fehler. Ich hab Python 2.73 und Visual Studio 2015 installiert, danach noch versucht "gyp" und dann "node-gyp" zu installieren aber das brachte für den Adapter nix. Was mich ein wenig wundert sind die Meldunge für Win NT 6.2 und die "Code:ELIFECYCLE" Passage. Sind da Abfragen auf das System und/oder Signaturen drin, die vieleicht schief laufen. Für die VSBUILD habe ich msvs_version=2015 gesetzt und das funktionierte auch!?

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

                                            Mach mal im Installationsverzeichnis

                                            iobroker upload harmony

                                            Gesendet von meinem LIFETAB_S785X mit Tapatalk
                                            261_bildschirmfoto_2018-04-25_um_22.45.45.jpg

                                            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

                                            549
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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