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.
    • Homoran
      Homoran Global Moderator Administrators last edited by

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

      sind noch alle da 😞

      dann beende ich mal das popup und versuche es noch mal

      Kann es an History-Daten liegen?

      EDIT: er ist weg!

      kam noch:

      200 states left to be deleted

      200 ??? left to be deleted

      dann endete er mit code 0

      EDIT2:

      Installation ist durchgelaufen alle Datenpunkte wieder da!

      Alle? Nein - sogar zu viele!

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

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

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

      Gruß

      Rainer

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

        Hatte hier gerade so den gleichen Spaß wie Homoran.

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

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

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

          Einfach nochmal npm install machen…

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

          Zum Thema löschen der alten Instanz:

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

          EDIT:

          da war noch ein Flüchtigkeitsfehler drin :lol:

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

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

            Aber: 😢 😢 😢

            Nur Errors:

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

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

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

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

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

                Gruß

                Rainer

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

                  Installation und Updates sollten jetzt auch über admin funktionieren.

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

                    Installation bzw Update über Admin funktioniert. Danke dir

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

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

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

                      Gruß

                      Rainer

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

                        Nur bei Harmony?

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

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

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

                          Muss dann wohl doch am harmony Adapter liegen.

                          Sorry

                          Rainer

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

                          EDIT2: Habe das im log gefunden:

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

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

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

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

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

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

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

                                            Support us

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

                                            419
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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