Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Frage] Harmony adapter Neustart wenn keine Verbindung

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Frage] Harmony adapter Neustart wenn keine Verbindung

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

      @Pman:

      Puh, vielleicht wurde der Adapter bei der Installation der neuen Version nicht richtig beendet?!

      Was aber auch in dem Log auftaucht: `

      das kam nicht mit der Installation der neuen Harmony-Adapter-Version.

      Das passierte nach dem java script adapter bzw, ich glaube sogar nach jedem Adapter Update.

      vG Looxer

      1 Reply Last reply Reply Quote 0
      • L
        looxer01 last edited by

        kurzer Zwischenstand.

        Ich habe heute zwei Adapter aktualisiert (Rega und RPC).

        • Vor der ersten Aktualsierung standen blocked auf false und connected auf true

        • Nach der ersten Aktualsierung standen blocked auf true und connected auf true.

        Die Harmony funktioniert aber wie gewohnt. Warum aber blocked nun auf true steht weiß ich nicht.

        Es gab heute 2 ungeplante disconnects (vor der Aktualiseirung). Der Hub hat sich aber wie schnell verbunden.

        Also kein Problem.

        Im Moment sieht es also gut aus.

        vG Looxer

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

          Kannst du nochmal die neue Version testen?

          https://github.com/Pmant/ioBroker.harmony

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

            Hab die neue Version von Github auch getestet.

            Leider:

            2016-05-14 15:01:59.719  - info: harmony.0 starting. Version 0.5.6 in /Users/pix/Documents/iobroker/node_modules/iobroker.harmony
            2016-05-14 15:01:59.757  - info: harmony.0 hub not initialized
            
            ```` ![261_bildschirmfoto_2016-05-14_um_15.04.31.jpg](/assets/uploads/files/261_bildschirmfoto_2016-05-14_um_15.04.31.jpg) 
            Logs:
            

            2016-05-14 15:03:11.381 - info: admin.0 sendTo "browse" to system.adapter.harmony.0 from system.adapter.admin.0: 1000
            2016-05-14 15:03:11.395 - error: WARNING: cannot find message with id = 35473
            2016-05-14 15:03:11.393 - info: harmony.0 sendTo "browse" to system.adapter.admin.0 from system.adapter.harmony.0: "{"error":1,"message":"discover not active, see logs."}"

            
            Trotzdem zeigt die Ampel im Reiter Instanzen grün.
            
            Die Datenpunkte der installierten Geräte werden allerdings nicht angelegt.
            
            Der Hub lässt sich mit iOS App problemlos steuern.
            
            Gruß
            
            Pix
            1 Reply Last reply Reply Quote 0
            • P
              Pman last edited by

              Danke, habe noch einen Fehler beseitigt, bitte testen.

              Kannst du auch mal auf evtl. auftretende Warnings und Errors bei der Installation achten?

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

                Hallo,

                ich habe mit 0.5.6 des Adapters und auch den voran gegangenen Versionen leider das Problem, dass ein Restart des Adapters fehlschlägt, wenn hubBlocked auf true und/oder connected auf false geht.

                Beim restart des Adapters passiert folgendes:

                2016-05-26 12:35:36.075  - ^[[32minfo^[[39m: host.midget instance system.adapter.harmony.0 started with pid 4124
                2016-05-26 12:35:40.059  - ^[[32minfo^[[39m: harmony.0 starting. Version 0.5.6 in /opt/iobroker/node_modules/iobroker.harmony
                2016-05-26 12:35:40.222  - ^[[32minfo^[[39m: harmony.0 hub initialized
                2016-05-26 12:35:40.297  - ^[[32minfo^[[39m: harmony.0 discover started
                2016-05-26 12:35:40.351  - ^[[31merror^[[39m: uncaught exception: listen EADDRINUSE :::61991
                2016-05-26 12:35:40.361  - ^[[31merror^[[39m: Error: listen EADDRINUSE :::61991
                    at Object.exports._errnoException (util.js:870:11)
                    at exports._exceptionWithHostPort (util.js:893:20)
                    at Server._listen2 (net.js:1231:14)
                    at listen (net.js:1267:10)
                    at Server.listen (net.js:1363:5)
                    at ResponseCollector.start (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-discover/lib/responseCollector.js:33:5)
                    at Explorer.start (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-discover/lib/explorer.js:75:25)
                    at discoverStart (/opt/iobroker/node_modules/iobroker.harmony/harmony.js:273:14)
                    at /opt/iobroker/node_modules/iobroker.harmony/harmony.js:239:21
                    at /opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2550:60
                2016-05-26 12:35:40.365  - ^[[32minfo^[[39m: harmony.0 terminating
                
                

                Das sieht mir irgendwie so aus, als würde der Port nicht richtig geschlossen und kann daher beim Neustart des Adapters nicht geöffnet werden?!

                Das einzige, was dann hilft, ist ein kompletter Neustart von iobroker.

                Gibt es dafür Abhilfe?

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

                  Ich habe heute auch erstmalig folgende logs gesehen, danach ist definitiv keine Verbindung mehr möglich und der Adapter muss neu gestartet werden

                  harmony-0	03 16:52:20.500	warn	client ended
                  harmony-0	03 16:52:20.493	warn	lost Harmony Hub
                  harmony-0	03 16:52:20.103	info	keep alive cannot get current Activity: Error: Timed out after 5000 ms
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • P
                    Pman last edited by

                    Ich frage mich unter welchen Umständen das auftritt. Wenn ich das Wlan aus- und wieder einschalte oder den Hub kurz vom Strom nehme verbindet er sich definitiv wieder ohne Adapterneustart:

                    harmony-0	03 18:17:20.832	info	connected to Wohnzimmer Hub
                    harmony-0	03 18:17:19.468	info	connecting to Wohnzimmer Hub
                    harmony-0	03 18:17:19.466	info	discovered Wohnzimmer Hub
                    harmony-0	03 18:16:41.963	warn	client ended
                    harmony-0	03 18:16:41.949	warn	lost Wohnzimmer Hub
                    harmony-0	03 18:16:38.547	info	keep alive cannot get current Activity: Error: Timed out after 5000 ms
                    
                    1 Reply Last reply Reply Quote 0
                    • B
                      brufi last edited by

                      Hallo liebe Leute,

                      ich habe seit vorgestern auch den harmony-adapter installiert und kämpfe ebenfalls mit oben beschriebenen Verbindungsabbrüchen:

                      Gibt es hier mittlerweile Neuigkeiten?

                      Danke und Gruß,

                      Brufi

                      1 Reply Last reply Reply Quote 0
                      • M
                        Muskelkatermann last edited by

                        Hatte ich auch, nachdem ich aber auf Harmony selbst nochmal auf den aktuellen Softwarestand gebracht habe läuft es.

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

                          Bei mir gibt es auch immer noch Probleme mit der Verbindung.

                          ich lasse jetzt den Adapter über ein Skript neustarten wenn Block ture oder Connection false ansteht und dass länger wie 23 s.

                          1 Reply Last reply Reply Quote 0
                          • R
                            Rosim86 last edited by

                            @Patrick:

                            Bei mir gibt es auch immer noch Probleme mit der Verbindung.

                            ich lasse jetzt den Adapter über ein Skript neustarten wenn Block ture oder Connection false ansteht und dass länger wie 23 s. `

                            Wie machst du das ?

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

                              @Rosim86:

                              @Patrick:

                              Bei mir gibt es auch immer noch Probleme mit der Verbindung.

                              ich lasse jetzt den Adapter über ein Skript neustarten wenn Block ture oder Connection false ansteht und dass länger wie 23 s. `

                              Wie machst du das ? `

                              ich habe mir eine Bath Datei geschrieben die ich über einen Netzwerk-befehl ausführen lassen kann (leider weiß ich gerade nicht wie das Programm heißt kann ich nachschauen wenn es dich interessiert) gibt sicher auch Schönere Wege hatte damals von dem ganzen zeug keine Ahnung und seit dem läuft es :lol:

                              das ist mein Javascript Programm

                              reset = 23;
                              zaehler=0;
                              timer=0;
                              schedule("* * * * * *", function () {
                              connected = getState("harmony.0.Harmony_Hub.hubConnected"/*Harmony_Hub:hubConnected*/).val;
                              blocked = getState("harmony.0.Harmony_Hub.hubBlocked"/*Harmony_Hub:hubBlocked*/).val;
                              av = getState("upnp.0.STR-DN1060.MediaRenderer.Group.X_PowerState"/*X_PowerState*/).val;
                              harmony = getState("harmony.0.Harmony_Hub.activities.currentStatus"/*activity:currentStatus*/).val;
                              if(connected===false||blocked===true){
                              
                                      timer=timer+1;
                              
                                      log("Harmony Timer ="+timer);
                                      if (timer>reset){
                                          getState("Variablen.Variablen.Harmony.Harmony_reset_zaehler"/*Harmony_reset_zaehler*/).val;
                                          zaehler=zaehler+1;
                                          setState("Variablen.Variablen.Harmony.Harmony_reset_zaehler",zaehler);
                              
                                           log("Start Harmony Neustart");
                                  {
                                      var request = require("request");
                                      var url = 'http://192.168.178.29:8881/Harmony';
                                      request(url, function (err, state, body){
                                          if (body) {
                                              log('HarmonyRequest - alles ok Harmony wird neugestartet');
                                          } else {
                                              log('Harmony Request meldet Fehler!', 'error');  
                                          }
                                      });
                                  }
                              
                                      }
                              }else{
                                  //log("Alles ok");
                                      timer=0;
                                      //log(timer);
                                    //  log(connected);
                              
                              }
                              if(timer>reset){
                                      timer=0;
                                  }
                              
                              });
                              
                              1 Reply Last reply Reply Quote 0
                              • M
                                manne01 last edited by

                                Guten Tag,

                                ich habe ebenfalls Verbindungsprobleme. Harmony Adapter Version 0.7.0, auch sonst alles auf dem neuesten Stand.

                                Die Status-Variablen sehen bei mir dann so aus:

                                indicator.hubBlocked=false

                                indicator.hubConnected=false

                                Der Adapterstatus ist dabei ganz normal grün. Das ganze passiert bei mir ca. 2 x pro Woche. Neustart von Harmony-Hub und WLAN-Router nützt garnichts.

                                Im Log erscheint dazu leider garnichts (trotz debug) außer wenn ich ganz normal die Harmony Fernbedienung nutze. Dann wird geloggt:

                                 harmony.0	2017-05-07 16:39:33.950	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked
                                harmony.0	2017-05-07 16:39:33.947	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked
                                harmony.0	2017-05-07 16:39:33.943	warn	error changing activity, client offline
                                harmony.0	2017-05-07 16:39:33.942	debug	inMem message harmony.0.* harmony.0.xyz.activities.Radio
                                harmony.0	2017-05-07 16:39:32.661	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked
                                harmony.0	2017-05-07 16:39:32.658	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked
                                harmony.0	2017-05-07 16:39:32.652	warn	error changing activity, client offline
                                harmony.0	2017-05-07 16:39:32.652	debug	inMem message harmony.0.* harmony.0.xyz.activities.currentStatus
                                harmony.0	2017-05-07 16:39:31.445	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked
                                harmony.0	2017-05-07 16:39:31.442	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked
                                harmony.0	2017-05-07 16:39:31.436	warn	error changing activity, client offline
                                harmony.0	2017-05-07 16:39:31.433	debug	inMem message harmony.0.* harmony.0.xyz.activities.Fernsehen
                                harmony.0	2017-05-07 16:39:30.442	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked
                                harmony.0	2017-05-07 16:39:30.439	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked
                                harmony.0	2017-05-07 16:39:30.434	warn	error changing activity, client offline
                                harmony.0	2017-05-07 16:39:30.432	debug	inMem message harmony.0.* harmony.0.xyz.activities.Fernsehen
                                

                                Allerdings wird in den Events ca. alle 15 Sekunden folgendes angezeigt:

                                stateChange	system.adapter.harmony.0.outputCount	8	true	harmony.0	2017-05-07 16:36:52.504	2017-05-07 13:30:34.959
                                stateChange	system.adapter.harmony.0.inputCount	0	true	harmony.0	2017-05-07 16:36:52.503	2017-05-07 13:30:34.959
                                stateChange	system.adapter.harmony.0.uptime	303536	true	harmony.0	2017-05-07 16:36:52.503	2017-05-07 16:36:52.503
                                stateChange	system.adapter.harmony.0.memHeapUsed	21	true	harmony.0	2017-05-07 16:36:52.503	2017-05-07 16:36:52.503
                                stateChange	system.adapter.harmony.0.memHeapTotal	24.8	true	harmony.0	2017-05-07 16:36:52.503	2017-05-07 16:01:51.931
                                stateChange	system.adapter.harmony.0.memRss	27	true	harmony.0	2017-05-07 16:36:52.502	2017-05-07 16:36:37.496
                                stateChange	system.adapter.harmony.0.connected	true	true	harmony.0	2017-05-07 16:36:52.501	2017-05-04 04:18:13.186
                                stateChange	system.adapter.harmony.0.alive	true	true	harmony.0	2017-05-07 16:36:52.496	2017-05-04 04:18:13.184
                                

                                Hier steht Connected True drin… ich bin nun verwirrt - was ist denn da los?? Kann mir bitte jemand helfen?!

                                Ein Stop des Adapters (pause icon) mit anschl. kurzem Warten und dann Start (play icon) im ioBroker Admin führt dann zu:

                                ` > harmony.0 2017-05-07 14:46:40.051 error exception by stop: Cannot read property 'info' of undefined

                                harmony.0 2017-05-07 14:46:40.050 error at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:312:9)

                                harmony.0 2017-05-07 14:46:40.050 error at Socket. (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:659:25)

                                harmony.0 2017-05-07 14:46:40.050 error at process.exit (node.js:766:17)

                                harmony.0 2017-05-07 14:46:40.050 error at process.emit (events.js:169:7)

                                harmony.0 2017-05-07 14:46:40.050 error at emitOne (events.js:77:13)

                                harmony.0 2017-05-07 14:46:40.050 error at process.g (events.js:260:16)

                                harmony.0 2017-05-07 14:46:40.050 error at process.stop (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4499:18)

                                harmony.0 2017-05-07 14:46:40.050 error at Adapter.emit (events.js:169:7)

                                harmony.0 2017-05-07 14:46:40.050 error at emitOne (events.js:77:13)

                                harmony.0 2017-05-07 14:46:40.050 error at Adapter. (/opt/iobroker/node_modules/iobroker.harmony/harmony.js:145:16)

                                harmony.0 2017-05-07 14:46:40.050 error TypeError: Cannot read property 'info' of undefined

                                harmony.0 2017-05-07 14:46:40.047 error uncaught exception: Cannot read property 'info' of undefined

                                harmony.0 2017-05-07 14:46:40.040 error already running

                                harmony.0 2017-05-07 14:46:40.029 debug statesDB connected

                                harmony.0 2017-05-07 14:46:39.972 debug objectDB connected

                                host.mads 2017-05-07 14:46:37.592 info instance system.adapter.harmony.0 started with pid 125

                                host.mads 2017-05-07 14:46:37.571 info object change system.adapter.harmony.0

                                harmony.0 2017-05-07 14:46:27.149 error exception by stop: Not running

                                harmony.0 2017-05-07 14:46:27.149 info terminating

                                harmony.0 2017-05-07 14:46:27.148 error at emitNone (events.js:67:13)

                                harmony.0 2017-05-07 14:46:27.148 error at process.g (events.js:260:16)

                                harmony.0 2017-05-07 14:46:27.148 error at process.stop (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4499:18)

                                harmony.0 2017-05-07 14:46:27.148 error at Adapter.emit (events.js:169:7)

                                harmony.0 2017-05-07 14:46:27.148 error at emitOne (events.js:77:13)

                                harmony.0 2017-05-07 14:46:27.148 error at Adapter. (/opt/iobroker/node_modules/iobroker.harmony/harmony.js:147:18)

                                harmony.0 2017-05-07 14:46:27.148 error at Explorer.stop (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-discover/lib/explorer.js:82:12)

                                harmony.0 2017-05-07 14:46:27.148 error at Ping.stop (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-discover/lib/ping.js:42:14)

                                harmony.0 2017-05-07 14:46:27.148 error at Socket.close (dgram.js:380:8)

                                harmony.0 2017-05-07 14:46:27.148 error at Socket._healthCheck (dgram.js:486:11)

                                harmony.0 2017-05-07 14:46:27.148 error Error: Not running

                                harmony.0 2017-05-07 14:46:27.134 error uncaught exception: Not running

                                harmony.0 2017-05-07 14:46:27.074 info terminating

                                host.mads 2017-05-07 14:46:26.921 info stopInstance system.adapter.harmony.0 killing pid 49

                                host.mads 2017-05-07 14:46:26.921 info stopInstance system.adapter.harmony.0

                                host.mads 2017-05-07 14:46:26.919 info "system.adapter.harmony.0" disabled

                                host.mads 2017-05-07 14:46:26.915 info object change system.adapter.harmony.0 `

                                Vielleicht kann mir hier ein Profi einen Hinweis geben was hier los sein könnte?

                                Okay beim nächsten Versuch (Stop-Start) hat es dann wieder funktioniert. Gibts ein fertiges (und stabiles) Script um den Adapter automatisch neu starten zu lassen wenn connected=false ist?

                                Danke schon jetzt!

                                Euer

                                Manfred

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

                                  > ich habe ebenfalls Verbindungsprobleme. Harmony Adapter Version 0.7.0, auch sonst alles auf dem neuesten Stand.
                                  Harmony Adapter ist schon auf 0.7.1!

                                  indicator.hubConnected=false
                                  

                                  Bedeutet, dass der Adapter aktuell keine Verbindung zum Hub hat.

                                  stateChange   system.adapter.harmony.0.connected   true   true   harmony.0   2017-05-07 16:36:52.501   2017-05-04 04:18:13.186
                                  

                                  Bedeutet, dass der Adapter läuft. Sagt aber nichts über Adapter-interne Vorgänge aus!

                                  error	already running
                                  

                                  Ich vermute, da läuft noch eine nicht korrekt beendete Instanz von Harmony im Hintergrund. Entweder diese gezielt beenden, wie genau kommt auf das Betriebssystem an, oder einfach mal das komplette System neu starten.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    manne01 last edited by

                                    Hi,

                                    also bei https://github.com/Pmant/ioBroker.harmony sehe ich im Changelog derzeit nur die 0.7.0. Auch wird mir noch kein Update in iobroker admin angeboten.

                                    Aber jetzt weiß ich schonmal die "Ereignisse" einzuschätzen.

                                    Heute habe ich das Problem erneut. Verbindung abgebrochen, connected=false. Im Log habe ich heute aber zumindest mal ein paar Errors gefunden:

                                    harmony.0	2017-05-08 16:42:02.368	info	terminating
                                    harmony.0	2017-05-08 16:42:02.356	info	terminating
                                    harmony.0	2017-05-08 16:42:02.348	error	at Connection.onData (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/Connection.js:305:17)
                                    harmony.0	2017-05-08 16:42:02.348	error	at StreamParser.write (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/StreamParser.js:123:17)
                                    harmony.0	2017-05-08 16:42:02.348	error	at SaxLtx.write (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/ltx/lib/parsers/ltx.js:105:26)
                                    harmony.0	2017-05-08 16:42:02.348	error	at SaxLtx._handleTagOpening (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/ltx/lib/parsers/ltx.js:31:18)
                                    harmony.0	2017-05-08 16:42:02.348	error	at SaxLtx.emit (events.js:169:7)
                                    harmony.0	2017-05-08 16:42:02.348	error	at emitOne (events.js:77:13)
                                    harmony.0	2017-05-08 16:42:02.348	error	at SaxLtx. (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/StreamParser.js:58:14)
                                    harmony.0	2017-05-08 16:42:02.348	error	at StreamParser.emit (events.js:169:7)
                                    harmony.0	2017-05-08 16:42:02.348	error	at emitOne (events.js:77:13)
                                    harmony.0	2017-05-08 16:42:02.348	error	at StreamParser. (/opt/iobroker/node_modules/iobroker.harmony/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/Connection.js:226:10)
                                    harmony.0	2017-05-08 16:42:02.348	error	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:355:17)
                                    harmony.0	2017-05-08 16:42:02.348	error	Error: MAX_CLIENTS=6
                                    harmony.0	2017-05-08 16:42:02.347	error	uncaught exception: MAX_CLIENTS=6
                                    harmony.0	2017-05-08 16:41:56.840	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=false, ack=true, ts=1494261716835, q=0, from=system.adapter.harmony.0, lc=1494261716835
                                    harmony.0	2017-05-08 16:41:56.837	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=false, ack=true, ts=1494261716835, q=0, from=system.adapter.harmony.0, lc=1494261716835
                                    harmony.0	2017-05-08 16:41:56.835	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=false, ack=true, ts=1494261716830, q=0, from=system.adapter.harmony.0, lc=1494261716830
                                    harmony.0	2017-05-08 16:41:56.834	info	client ended: xyz
                                    harmony.0	2017-05-08 16:41:56.834	debug	xmpp offline
                                    harmony.0	2017-05-08 16:41:56.831	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=false, ack=true, ts=1494261716830, q=0, from=system.adapter.harmony.0, lc=1494261716830
                                    harmony.0	2017-05-08 16:41:56.829	info	keep alive failed: Error: Timed out after 5000 ms
                                    harmony.0	2017-05-08 16:41:46.606	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=true, ack=true, ts=1494261706602, q=0, from=system.adapter.harmony.0, lc=1494261706602
                                    harmony.0	2017-05-08 16:41:46.604	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=true, ack=true, ts=1494261706602, q=0, from=system.adapter.harmony.0, lc=1494261706602
                                    harmony.0	2017-05-08 16:41:46.601	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=true, ack=true, ts=1494261706594, q=0, from=system.adapter.harmony.0, lc=1494261706594
                                    harmony.0	2017-05-08 16:41:46.599	info	connected to xyz
                                    harmony.0	2017-05-08 16:41:46.596	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=true, ack=true, ts=1494261706594, q=0, from=system.adapter.harmony.0, lc=1494261706594
                                    harmony.0	2017-05-08 16:41:41.190	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=false, ack=true, ts=1494261701186, q=0, from=system.adapter.harmony.0, lc=1494261701186
                                    harmony.0	2017-05-08 16:41:41.186	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=false, ack=true, ts=1494261701182, q=0, from=system.adapter.harmony.0, lc=1494261701182
                                    harmony.0	2017-05-08 16:41:41.188	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=false, ack=true, ts=1494261701186, q=0, from=system.adapter.harmony.0, lc=1494261701186
                                    harmony.0	2017-05-08 16:41:41.184	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=false, ack=true, ts=1494261701182, q=0, from=system.adapter.harmony.0, lc=1494261701182
                                    harmony.0	2017-05-08 16:41:41.182	info	client ended: xyz
                                    harmony.0	2017-05-08 16:41:41.182	debug	xmpp offline
                                    harmony.0	2017-05-08 16:41:41.181	info	keep alive failed: Error: Timed out after 5000 ms
                                    harmony.0	2017-05-08 16:41:30.977	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=true, ack=true, ts=1494261690968, q=0, from=system.adapter.harmony.0, lc=1494261690968
                                    harmony.0	2017-05-08 16:41:30.966	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=true, ack=true, ts=1494261690964, q=0, from=system.adapter.harmony.0, lc=1494261690964
                                    harmony.0	2017-05-08 16:41:30.971	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=true, ack=true, ts=1494261690968, q=0, from=system.adapter.harmony.0, lc=1494261690968
                                    harmony.0	2017-05-08 16:41:30.968	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=true, ack=true, ts=1494261690964, q=0, from=system.adapter.harmony.0, lc=1494261690964
                                    harmony.0	2017-05-08 16:41:30.964	info	connected to xyz
                                    harmony.0	2017-05-08 16:41:25.668	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=false, ack=true, ts=1494261685664, q=0, from=system.adapter.harmony.0, lc=1494261685664
                                    harmony.0	2017-05-08 16:41:25.666	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=false, ack=true, ts=1494261685664, q=0, from=system.adapter.harmony.0, lc=1494261685664
                                    harmony.0	2017-05-08 16:41:25.664	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=false, ack=true, ts=1494261685658, q=0, from=system.adapter.harmony.0, lc=1494261685658
                                    harmony.0	2017-05-08 16:41:25.661	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=false, ack=true, ts=1494261685658, q=0, from=system.adapter.harmony.0, lc=1494261685658
                                    harmony.0	2017-05-08 16:41:25.656	info	client ended: xyz
                                    harmony.0	2017-05-08 16:41:25.656	debug	xmpp offline
                                    harmony.0	2017-05-08 16:41:25.655	info	keep alive failed: Error: Timed out after 5000 ms
                                    harmony.0	2017-05-08 16:41:15.457	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=true, ack=true, ts=1494261675453, q=0, from=system.adapter.harmony.0, lc=1494261675453
                                    harmony.0	2017-05-08 16:41:15.455	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=true, ack=true, ts=1494261675447, q=0, from=system.adapter.harmony.0, lc=1494261675447
                                    harmony.0	2017-05-08 16:41:15.454	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=true, ack=true, ts=1494261675453, q=0, from=system.adapter.harmony.0, lc=1494261675453
                                    harmony.0	2017-05-08 16:41:15.451	info	connected to xyz
                                    harmony.0	2017-05-08 16:41:15.449	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=true, ack=true, ts=1494261675447, q=0, from=system.adapter.harmony.0, lc=1494261675447
                                    harmony.0	2017-05-08 16:41:09.978	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=false, ack=true, ts=1494261669974, q=0, from=system.adapter.harmony.0, lc=1494261669974
                                    harmony.0	2017-05-08 16:41:09.976	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=false, ack=true, ts=1494261669974, q=0, from=system.adapter.harmony.0, lc=1494261669974
                                    harmony.0	2017-05-08 16:41:09.973	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=false, ack=true, ts=1494261669968, q=0, from=system.adapter.harmony.0, lc=1494261669968
                                    harmony.0	2017-05-08 16:41:09.970	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=false, ack=true, ts=1494261669968, q=0, from=system.adapter.harmony.0, lc=1494261669968
                                    harmony.0	2017-05-08 16:41:09.968	info	client ended: xyz
                                    harmony.0	2017-05-08 16:41:09.968	debug	xmpp offline
                                    harmony.0	2017-05-08 16:41:09.966	info	keep alive failed: Error: Timed out after 5000 ms
                                    harmony.0	2017-05-08 16:40:59.787	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=true, ack=true, ts=1494261659782, q=0, from=system.adapter.harmony.0, lc=1494261659782
                                    harmony.0	2017-05-08 16:40:59.784	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=true, ack=true, ts=1494261659782, q=0, from=system.adapter.harmony.0, lc=1494261659782
                                    harmony.0	2017-05-08 16:40:59.782	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=true, ack=true, ts=1494261659775, q=0, from=system.adapter.harmony.0, lc=1494261657248
                                    harmony.0	2017-05-08 16:40:59.777	info	connected to xyz
                                    harmony.0	2017-05-08 16:40:59.776	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=true, ack=true, ts=1494261659775, q=0, from=system.adapter.harmony.0, lc=1494261657248
                                    harmony.0	2017-05-08 16:40:57.270	info	connecting to xyz
                                    harmony.0	2017-05-08 16:40:57.262	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=false, ack=true, ts=1494261657257, q=0, from=system.adapter.harmony.0, lc=1494261445669
                                    harmony.0	2017-05-08 16:40:57.260	debug	inMem message harmony.0.* harmony.0.xyz.hubConnected val=false, ack=true, ts=1494261657257, q=0, from=system.adapter.harmony.0, lc=1494261445669
                                    harmony.0	2017-05-08 16:40:57.253	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=true, ack=true, ts=1494261657248, q=0, from=system.adapter.harmony.0, lc=1494261657248
                                    harmony.0	2017-05-08 16:40:57.249	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=true, ack=true, ts=1494261657248, q=0, from=system.adapter.harmony.0, lc=1494261657248
                                    harmony.0	2017-05-08 16:40:57.248	debug	hub initialized
                                    harmony.0	2017-05-08 16:40:57.220	info	discovered xyz
                                    

                                    Das stört sehr - was kann man denn da machen?

                                    Kann man daraus irgendetwas ablesen?

                                    Wäre für weitere Tipps dankbar!

                                    Manfred

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

                                      Die Verbindung von ioBroker zum Hub unterbricht in kurzen Abständen (xmpp offline), das kann am schlechten WLAN-Empfang des Hubs oder anderen Netzwerkproblemen liegen. Das ganze passiert so oft, dass der Hub nicht mitbekommt, dass die ganzen Clients nicht mehr da sind und beim 7. mal meldet er dann, dass die maximale Anzahl an Clients erreicht ist.

                                      Bevor du jetzt irgendwas andere versucht stell den Hub bitte mal nah am zum Router auf und teste es eine Weile. Alternativ den WLAN-Kanal noch wechseln und wieder testen. Außerdem muss der Hub ständig mit dem Internet verbunden sein, blockt man z. B. an einer Fritzbox den Internetzugriff des Hubs, hängt sich dieser ständig auf.

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        manne01 last edited by

                                        Hallo Pman,

                                        leider kann ich den Hub nicht näher ranstellen. Mein WLAN/Internet sind 24x7 an, Unterbrechnungen sind sehr selten.

                                        Ich denke da bleibt nur ein geordneter Neustart oder? Kannst Du sagen, wie man die Lage wieder korrigieren kann? Muss man den Hub UND den Adapter neu starten oder den ganzen ioBroker oder?

                                        Kannst Du vielleicht sogar eine Scriptlösung dafür empfehlen?

                                        Schönmal schönes Wochenende

                                        Manfred

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

                                          Neustart des HUBs muss reichen, bei mir findet der Adapter den Hub immer direkt wieder, sobald dieser wieder im WLAN ist. Ich muss den Hub aber dafür auch nicht neustarten, der verbindet sich von selber wieder mit dem WLAN.

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            manne01 last edited by

                                            Das ist bei mir leider nicht so. Nach dem Hub Restart tut sich garnichts. Selbst nach Adapter Neustart kein Erfolg. Er sucht dann Hubs und findet wohl keine… Ich vermute ich muss den ganzen ioBroker durchtreten, ich meine mich zu Erinnern, dass es letztes mal auch so war. Argghh, echt ärgerlich, gibt es denn da garkeine Verbesserungsmöglichkeit? Die Harmony funktioniert an der Fernbedienung und per Android App vollkommen reibungslos.

                                            Kannst Du Dir das erklären? Kann ich noch irgendetwas checken?

                                            harmony.0	2017-05-13 16:50:46.250	info	searching for Harmony Hubs...
                                            harmony.0	2017-05-13 16:50:46.130	info	starting. Version 0.7.0 in /opt/iobroker/node_modules/iobroker.harmony, node: v4.7.3
                                            harmony.0	2017-05-13 16:50:46.088	debug	statesDB connected
                                            harmony.0	2017-05-13 16:50:46.038	debug	objectDB connected
                                            host.abcd	2017-05-13 16:50:44.810	info	instance system.adapter.harmony.0 started with pid 139
                                            host.abcd	2017-05-13 16:50:44.799	info	object change system.adapter.harmony.0
                                            host.abcd	2017-05-13 16:50:38.789	info	instance system.adapter.harmony.0 terminated with code 0 (OK)
                                            harmony.0	2017-05-13 16:50:38.757	info	terminating
                                            host.abcd	2017-05-13 16:50:38.747	info	stopInstance system.adapter.harmony.0 killing pid 129
                                            host.abcd	2017-05-13 16:50:38.747	info	stopInstance system.adapter.harmony.0
                                            harmony.0	2017-05-13 16:50:38.749	info	terminating
                                            host.abcd	2017-05-13 16:50:38.747	info	object change system.adapter.harmony.0
                                            harmony.0	2017-05-13 16:40:58.672	info	searching for Harmony Hubs...
                                            harmony.0	2017-05-13 16:40:58.552	info	starting. Version 0.7.0 in /opt/iobroker/node_modules/iobroker.harmony, node: v4.7.3
                                            harmony.0	2017-05-13 16:40:58.522	debug	statesDB connected
                                            harmony.0	2017-05-13 16:40:58.483	debug	objectDB connected
                                            host.abcd	2017-05-13 16:40:57.225	info	instance system.adapter.harmony.0 started with pid 129
                                            host.abcd	2017-05-13 16:40:57.209	info	object change system.adapter.harmony.0
                                            harmony.0	2017-05-13 16:40:48.928	error	exception by stop: Cannot read property 'info' of undefined
                                            harmony.0	2017-05-13 16:40:48.928	error	at Signal.wrap.onsignal (node.js:820:46)
                                            harmony.0	2017-05-13 16:40:48.928	error	at process.emit (events.js:166:7)
                                            harmony.0	2017-05-13 16:40:48.928	error	at emitNone (events.js:67:13)
                                            harmony.0	2017-05-13 16:40:48.928	error	at process.g (events.js:260:16)
                                            harmony.0	2017-05-13 16:40:48.928	error	at process.stop (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:4499:18)
                                            harmony.0	2017-05-13 16:40:48.928	error	at Adapter.emit (events.js:169:7)
                                            harmony.0	2017-05-13 16:40:48.928	error	at emitOne (events.js:77:13)
                                            harmony.0	2017-05-13 16:40:48.928	error	at Adapter. (/opt/iobroker/node_modules/iobroker.harmony/harmony.js:145:16)
                                            harmony.0	2017-05-13 16:40:48.928	error	TypeError: Cannot read property 'info' of undefined
                                            host.abcd	2017-05-13 16:40:48.925	info	stopInstance system.adapter.harmony.0 killing pid 119
                                            host.abcd	2017-05-13 16:40:48.925	info	stopInstance system.adapter.harmony.0
                                            harmony.0	2017-05-13 16:40:48.927	error	uncaught exception: Cannot read property 'info' of undefined
                                            host.abcd	2017-05-13 16:40:48.920	info	object change system.adapter.harmony.0
                                            harmony.0	2017-05-13 16:40:37.546	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=false, ack=true, ts=1494693637542, q=0, from=system.adapter.harmony.0, lc=1494693637542
                                            harmony.0	2017-05-13 16:40:37.543	debug	inMem message harmony.0.* harmony.0.xyz.hubBlocked val=true, ack=true, ts=1494693637541, q=0, from=system.adapter.harmony.0, lc=1494693637541
                                            harmony.0	2017-05-13 16:40:37.540	warn	error changing activity, client offline
                                            harmony.0	2017-05-13 16:40:37.538	debug	inMem message harmony.0.* harmony.0.xyz.activities.Radio val=2, ack=false, ts=1494693637537, q=0, from=system.adapter.web.0, lc=1494664956615
                                            
                                            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

                                            420
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            15
                                            53
                                            7414
                                            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