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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [Frage] Harmony adapter Neustart wenn keine Verbindung

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    475

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    5.2k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.4k

[Frage] Harmony adapter Neustart wenn keine Verbindung

Scheduled Pinned Locked Moved ioBroker Allgemein
53 Posts 15 Posters 9.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    manne01
    wrote on last edited by
    #43

    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
    0
    • P Offline
      P Offline
      Pman
      wrote on last edited by
      #44

      Zu allererst mal auf 0.7.1 updaten, denn den Absturz den du da im Log hast wurde dort behoben. Wenn du dann noch immer Verbindungsabbrüche hast und er den Hub danach NICHT neu findet, die Android APP aber schon, kann es eigentlich nur irgendeine Netzwerksache sein. Multicast traffic zwischen Hub und ioBroker darf nicht geblockt werden.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        manne01
        wrote on last edited by
        #45

        Ok, die 0.7.1 ist jetzt mal drauf. Ich melde mich wieder mit News:)

        1 Reply Last reply
        0
        • R Offline
          R Offline
          ronnyw
          wrote on last edited by
          #46

          Ich habe derzeit ein ähnliches Problem. Ich weiß nicht genau, bis wann der Harmony-Adapter funktionierte, da ich ihn erst jetzt aktiv einbinden wollte. Zu Beginn ging es wohl schon mal, alle Devices und Activities sind in den Objekten. Aber connected steht aktuell auf false und im Log bleibt der letzte Eintrag des Harmony-Adapters (0.7.1) die Suche nach dem Harmony Hub, wie im Log hier zuvor. Hub und ioBroker wurden schon neugestartet, keine Änderung.

          Der Router und die Netzwerkinfrastruktur wurden nicht geändert.

          Allerdings könnte die Ursache auch am Hub liegen: um die grundsätzliche Erreichbarkeit über WLAN zu prüfen, hab ich die iOS-App gestartet, die erst meldete, sie würde den Hub im WLAN suchen, um dann darauf zu melden, dass nun eine Verbindung über die Cloud hergestellt wird - das sollte im gleichen Subnetz ja auch schon nicht nötig sein oder?

          1 Reply Last reply
          0
          • R Offline
            R Offline
            ronnyw
            wrote on last edited by
            #47

            Ach, noch eine Ergänzung: ich habe vor 1-2 Wochen die IP des ioBroker Servers geändert (nachdem der Harmony-Adapter schon installiert war), hat das eine Auswirkung auf den Adapter? (nicht dass der Adapter ab Installation mit der ursprünglichen IP mit dem Hub kommunizieren möchte - was ich mir aber eigentlich nicht vorstellen kann…)

            1 Reply Last reply
            0
            • R Offline
              R Offline
              ronnyw
              wrote on last edited by
              #48

              Update: das oben geschrieben war Stand gestern Abend - jetzt geht's plötzlich.

              Hatte gerade noch mal ins Log geschaut und siehe da: Hub discovered, connected und synched - ca. 10 Stunden nach dem ich das letzte mal was mit ioBroker oder Harmony gemacht hab :roll: (also der zeitliche Zusammenhang erschließt sich mir auch nicht). Ich gucke jetzt mal näher, wie lange das anhält…

              1 Reply Last reply
              0
              • M Offline
                M Offline
                manne01
                wrote on last edited by
                #49

                Bei mir ist zwischenzeitlich alles okay seit ich 0.7.1 installiert habe. Mal weiter beobachten. Bisher kam es ja so 2x pro Woche vor.

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mikiline
                  wrote on last edited by
                  #50

                  Hi zusammen,

                  ich hab das Problem so gelöst:

                  wenn Adapter (Trigger) bzw. "indicator.hubConnected" auf "false" steht, dann restarte Adapter

                  on({id: "harmony.0.Harmony_Hub.hubConnected"/*Harmony_Hub:hubConnected*/, change: "ne"}, function (obj) {
                    var value = obj.state.val;
                    var oldValue = obj.oldState.val;
                    if (getState("harmony.0.Harmony_Hub.hubConnected").val == false) {
                      //var interval = getObject("system.adapter.harmony.0").native.interval;
                      var obj = getObject("system.adapter.harmony.0");
                      //obj.native.interval = interval;
                      setObject("system.adapter.harmony.0", obj);
                    }
                  });
                  
                  
                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    Master77
                    wrote on last edited by
                    #51

                    @mikiline:

                    Hi zusammen,

                    ich hab das Problem so gelöst:

                    wenn Adapter (Trigger) bzw. "indicator.hubConnected" auf "false" steht, dann restarte Adapter

                    on({id: "harmony.0.Harmony_Hub.hubConnected"/*Harmony_Hub:hubConnected*/, change: "ne"}, function (obj) {
                      var value = obj.state.val;
                      var oldValue = obj.oldState.val;
                      if (getState("harmony.0.Harmony_Hub.hubConnected").val == false) {
                        //var interval = getObject("system.adapter.harmony.0").native.interval;
                        var obj = getObject("system.adapter.harmony.0");
                        //obj.native.interval = interval;
                        setObject("system.adapter.harmony.0", obj);
                      }
                    });
                    
                    ```` `  Hallo
                    

                    Wie genau bindet man das ein?

                    Einfach ein Java Script erstellen und den Code einfügen und das Script starten?

                    Danke im voraus für die Hilfe.

                    Gruß Markus

                    Gesendet von meinem HUAWEI NXT-L29 mit Tapatalk

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      Master77
                      wrote on last edited by
                      #52

                      Hallo zusammen

                      Habe das Skript jetzt am laufen, jedoch schmeißt er mir einen Fehler aus. Kann mir da einer helfen was da genau falsch ist? Danke im voraus für eure Hilfe.

                      Gruß Markus~~![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201801 ... cd9048.jpg">https://uploads.tapatalk-cdn.com/20180104/db5c0e21eb630b517661fe84f5cd9048.jpg</link_text>" />

                      Gesendet von meinem HUAWEI NXT-L29 mit Tapatalk~~

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        manne01
                        wrote on last edited by
                        #53

                        Die Meldung sagt ja, dass obj schon belegt ist. So läuft es bei mir:

                        on({id: "harmony.0.xy.hubConnected", change: "ne"}, function (obj) {
                          var value = obj.state.val;
                          var oldValue = obj.oldState.val;
                          if (getState("harmony.0.xy.hubConnected").val === false) {
                            var Xobj = getObject("system.adapter.harmony.0");
                        
                            setObject("system.adapter.harmony.0", Xobj);
                            log("restart of harmony.0 initiated");
                          } else
                            {
                                log("nothing to do"); 
                            }
                        });
                        
                        

                        Allerdings löst das Script das Problem bei mir leider nicht, dass der Adapter alle paar Tage mal auf harmony.0.xy.hubConnected springt. Ein Adapter-Restart löst das Problem bei mir also leider nicht.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        Support us

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

                        336

                        Online

                        32.7k

                        Users

                        82.5k

                        Topics

                        1.3m

                        Posts
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                        ioBroker Community 2014-2025
                        logo
                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Home
                        • Recent
                        • Tags
                        • Unread 0
                        • Categories
                        • Unreplied
                        • Popular
                        • GitHub
                        • Docu
                        • Hilfe