Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Frage zur Astrofunktion

    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

    SOLVED Frage zur Astrofunktion

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thisoft
      Thisoft last edited by Jey Cee

      Hallo,

      jetzt schon wieder meine nächste Frage. Ich wollte mit dem folgenden Script bezwecken dass jeweils einmal täglich, nämlich bei Sonnenauf- bzw. -untergang eine Variable "Dunkel" auf false bzw. true gesetzt wird.

      schedule({astro: "sunset"}, function () {
          setState("Dunkel",true);
      });
      schedule({astro: "sunrise"}, function () {
          setState("Dunkel",false);
      });
      

      Allerdings ist es jetzt offensichtlich so, dass dieses Script ununterbrochen ausgeführt wird (habe ich mit zusätzlichen Logeinträgen überprüft). Ich hätte erwartet dass das Script zweimal am Tag, einmal bei "sunset" und einmal bei "sunrise" ausgeführt wird… :?

      Was mache ich denn falsch bzw. wie müsste ich das denn richtig machen?

      Danke und Gruß

      Thilo

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

        @Thisoft:

        Hallo,

        jetzt schon wieder meine nächste Frage. Ich wollte mit dem folgenden Script bezwecken dass jeweils einmal täglich, nämlich bei Sonnenauf- bzw. -untergang eine Variable "Dunkel" auf false bzw. true gesetzt wird.

        schedule({astro: "sunset"}, function () {
            setState("Dunkel",true);
        });
        schedule({astro: "sunrise"}, function () {
            setState("Dunkel",false);
        });
        

        Allerdings ist es jetzt offensichtlich so, dass dieses Script ununterbrochen ausgeführt wird (habe ich mit zusätzlichen Logeinträgen überprüft). Ich hätte erwartet dass das Script zweimal am Tag, einmal bei "sunset" und einmal bei "sunrise" ausgeführt wird… :?

        Was mache ich denn falsch bzw. wie müsste ich das denn richtig machen?

        Danke und Gruß

        Thilo `
        Habe Fehler gefunden. Da fehlen noch Breite und Länge. Neue Version kommt bald.

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

          @Bluefox:

          @Thisoft:

          Hallo,

          jetzt schon wieder meine nächste Frage. Ich wollte mit dem folgenden Script bezwecken dass jeweils einmal täglich, nämlich bei Sonnenauf- bzw. -untergang eine Variable "Dunkel" auf false bzw. true gesetzt wird.

          schedule({astro: "sunset"}, function () {
              setState("Dunkel",true);
          });
          schedule({astro: "sunrise"}, function () {
              setState("Dunkel",false);
          });
          

          Allerdings ist es jetzt offensichtlich so, dass dieses Script ununterbrochen ausgeführt wird (habe ich mit zusätzlichen Logeinträgen überprüft). Ich hätte erwartet dass das Script zweimal am Tag, einmal bei "sunset" und einmal bei "sunrise" ausgeführt wird… :?

          Was mache ich denn falsch bzw. wie müsste ich das denn richtig machen?

          Danke und Gruß

          Thilo Habe Fehler gefunden. Da fehlen noch Breite und Länge. Neue Version kommt bald.
          Es gibt neue Version:

          • (bluefox) fix error with astro. Add longitude and latitude to settings.

          • (bluefox) fix selector if brackets are wrong

          • (bluefox) make possible use "on" instead of schedule

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

            Nach längerem Testlauf der Astrofunktion glaube ich dass da doch noch ein Fehler drin ist.

            Und zwar setze ich mit dem folgenden Script eine Variable "Dunkel" abhängig von den verschiedenen "Astro-Ereignissen" auf einen Wert zwischen -2 und +3.

            ! ````
            on({astro: "sunrise"}, function () {
            log("--Sonnenaufgang-- "+ new Date());
            setState("Dunkel",2);
            });
            on({astro: "sunriseEnd"}, function () {
            setState("Dunkel",3);
            });
            on({astro: 'solarNoon'}, function () {
            log('--Mittag-- '+ new Date());
            });
            on({astro: "sunsetStart"}, function () {
            setState("Dunkel",2);
            });
            on({astro: "sunset"}, function () {
            log("--Sonnenuntergang-- "+ new Date());
            setState("Dunkel",1);
            });
            on({astro: "dusk"}, function () {
            setState("Dunkel",0);
            });
            on({astro: "nauticalDusk"}, function () {
            setState("Dunkel",-1);
            });
            on({astro: "night"}, function () {
            setState("Dunkel",-2);
            });
            on({astro: "nadir"}, function () {
            log("--Mitternacht-- "+ new Date());
            });
            on({astro: "nightEnd"}, function () {
            setState("Dunkel",-1);
            });
            on({astro: "nauticalDawn"}, function () {
            setState("Dunkel",0);
            });
            on({astro: "dawn"}, function () {
            setState("Dunkel",1);
            });

            
            Das funktioniert im Prinzip auch wie man im folgenden Chart sieht (z.B. am 31.03.). Allerdings sieht man eben auch dass die Funktionen bzw. das Verändern der Werte einige Male korrekt ausgeführt werden und dann aber, für mich ohne ersichtlichen Grund plötzlich nichts mehr ausgeführt wird. Ebenso kann ich noch keinen Anlass reproduzieren wo die Funktion mal wieder ausgeführt wird - noch nicht mal nach einem Neustart… Es kommt vor dass es nach einem Neustart wieder geht, es kann aber nach dem Neustart auch durchaus noch einen Tag dauern bis dann plötzlich mal wieder der Wert geändert wird...?? Wie gesagt, das Verhalten erscheint mir im Moment völlig chaotisch und unerklärlich...? Hat sonst noch jemand die Astrofunktion im Einsatz?
            
             ![250_chartdunkel.jpg](/assets/uploads/files/250_chartdunkel.jpg) 
            1 Reply Last reply Reply Quote 0
            • Bluefox
              Bluefox last edited by

              @Thisoft:

              Nach längerem Testlauf der Astrofunktion glaube ich dass da doch noch ein Fehler drin ist.

              Und zwar setze ich mit dem folgenden Script eine Variable "Dunkel" abhängig von den verschiedenen "Astro-Ereignissen" auf einen Wert zwischen -2 und +3.

              ! ````
              on({astro: "sunrise"}, function () {
              log("--Sonnenaufgang-- "+ new Date());
              setState("Dunkel",2);
              });
              on({astro: "sunriseEnd"}, function () {
              setState("Dunkel",3);
              });
              on({astro: 'solarNoon'}, function () {
              log('--Mittag-- '+ new Date());
              });
              on({astro: "sunsetStart"}, function () {
              setState("Dunkel",2);
              });
              on({astro: "sunset"}, function () {
              log("--Sonnenuntergang-- "+ new Date());
              setState("Dunkel",1);
              });
              on({astro: "dusk"}, function () {
              setState("Dunkel",0);
              });
              on({astro: "nauticalDusk"}, function () {
              setState("Dunkel",-1);
              });
              on({astro: "night"}, function () {
              setState("Dunkel",-2);
              });
              on({astro: "nadir"}, function () {
              log("--Mitternacht-- "+ new Date());
              });
              on({astro: "nightEnd"}, function () {
              setState("Dunkel",-1);
              });
              on({astro: "nauticalDawn"}, function () {
              setState("Dunkel",0);
              });
              on({astro: "dawn"}, function () {
              setState("Dunkel",1);
              });

              
              Das funktioniert im Prinzip auch wie man im folgenden Chart sieht (z.B. am 31.03.). Allerdings sieht man eben auch dass die Funktionen bzw. das Verändern der Werte einige Male korrekt ausgeführt werden und dann aber, für mich ohne ersichtlichen Grund plötzlich nichts mehr ausgeführt wird. Ebenso kann ich noch keinen Anlass reproduzieren wo die Funktion mal wieder ausgeführt wird - noch nicht mal nach einem Neustart… Es kommt vor dass es nach einem Neustart wieder geht, es kann aber nach dem Neustart auch durchaus noch einen Tag dauern bis dann plötzlich mal wieder der Wert geändert wird...?? Wie gesagt, das Verhalten erscheint mir im Moment völlig chaotisch und unerklärlich...? Hat sonst noch jemand die Astrofunktion im Einsatz?
              
               filename="ChartDunkel.jpg" index="0">~~ `  
              

              Das sieht schon komisch aus. Kannst du in 'night' auch log einbauen? Un dann irgendwie die Einträge aus dem Log ausfiltern?

              Da hat was mit der Night zu tun.

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

                Ja, mache ich. Momentan scheint's zu laufen. Mal sehen wie lange. Ich schicke Dir morgen das gefilterte Log…

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

                  So - bisher läuft das Astro-Script. Hier das gefilterte Log.

                  `Line 483662: 2015-04-07 01:19:18.145  - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                  	Line 483888: 2015-04-07 06:33:07.107  - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenaufgang-- Tue Apr 07 2015 06:33:07 GMT+0200 (Mitteleuropäische Sommerzeit)
                  	Line 484174: 2015-04-07 13:11:23.265  - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Mittag-- Tue Apr 07 2015 13:11:23 GMT+0200 (Mitteleuropäische Sommerzeit)
                  	Line 484442: 2015-04-07 19:49:39.404  - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Tue Apr 07 2015 19:49:39 GMT+0200 (Mitteleuropäische Sommerzeit)
                  	Line 484525: 2015-04-07 21:48:36.337  - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Night-- Tue Apr 07 2015 21:48:36 GMT+0200 (Mitteleuropäische Sommerzeit)[/code]`
                  
                  Ich melde mich wieder wenn es Unregelmäßigkeiten gibt. Oder kann ich proaktiv noch was tun?
                  
                  1 Reply Last reply Reply Quote 0
                  • Thisoft
                    Thisoft last edited by

                    Heute mal ein neuer Stand.

                    Vorab - ich weiss nicht mehr was ich davon so halten soll. Mal läuft die Sache zwei, drei Tage korrekt durch und dann ist plötzlich wieder Schluss. Mittlerweile habe ich den Verdacht dass da nicht nur die Astrofunktion aussetzt sondern der ganze Javascript-Adapter…

                    250_graphdunkelheit.jpg

                    Hier mal ein Auszug aus dem Log - gefiltert nach "javascript.0"

                    ! ````
                    483503: 2015-04-07 01:13:54.772 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 483504: 2015-04-07 01:13:54.803 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 483530: 2015-04-07 01:14:50.110 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 483531: 2015-04-07 01:14:50.141 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 483557: 2015-04-07 01:15:44.389 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 483558: 2015-04-07 01:15:44.404 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 483584: 2015-04-07 01:16:36.983 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 483585: 2015-04-07 01:16:37.029 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 483611: 2015-04-07 01:17:31.571 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 483612: 2015-04-07 01:17:31.602 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 483636: 2015-04-07 01:18:23.899 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 483637: 2015-04-07 01:18:23.930 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 483661: 2015-04-07 01:19:18.129 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 483662: 2015-04-07 01:19:18.145 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 483888: 2015-04-07 06:33:07.107 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenaufgang-- Tue Apr 07 2015 06:33:07 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 484174: 2015-04-07 13:11:23.265 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Mittag-- Tue Apr 07 2015 13:11:23 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 484442: 2015-04-07 19:49:39.404 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Tue Apr 07 2015 19:49:39 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 484525: 2015-04-07 21:48:36.337 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Night-- Tue Apr 07 2015 21:48:36 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 487503: 2015-04-08 03:39:34.912 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 487505: 2015-04-08 03:39:34.958 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 489737: 2015-04-08 04:03:29.030 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 489738: 2015-04-08 04:03:29.092 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 503103: 2015-04-08 06:30:56.714 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenaufgang-- Wed Apr 08 2015 06:30:56 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 503104: 2015-04-08 06:30:56.776 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenaufgang-- Wed Apr 08 2015 06:30:56 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 523460: 2015-04-08 13:11:06.191 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Mittag-- Wed Apr 08 2015 13:11:06 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 523461: 2015-04-08 13:11:06.223 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Mittag-- Wed Apr 08 2015 13:11:06 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 532125: 2015-04-08 17:02:07.864 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 532126: 2015-04-08 17:02:07.911 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 536680: 2015-04-08 19:51:15.836 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Wed Apr 08 2015 19:51:15 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 536681: 2015-04-08 19:51:15.914 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Wed Apr 08 2015 19:51:15 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 536682: 2015-04-08 19:51:16.085 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Wed Apr 08 2015 19:51:15 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 537812: 2015-04-08 21:50:51.019 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Night-- Wed Apr 08 2015 21:50:50 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 537813: 2015-04-08 21:50:51.706 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Night-- Wed Apr 08 2015 21:50:51 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 537814: 2015-04-08 21:50:51.987 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Night-- Wed Apr 08 2015 21:50:50 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 539030: 2015-04-08 22:46:35.191 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 539042: 2015-04-08 22:46:39.154 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 539964: 2015-04-08 23:22:21.911 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 539965: 2015-04-08 23:22:21.958 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 540552: 2015-04-09 23:08:42.527 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 540553: 2015-04-09 23:08:42.558 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 595158: 2015-04-12 07:39:28.845 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 595159: 2015-04-12 07:39:28.939 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 597200: 2015-04-12 07:56:10.825 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 597202: 2015-04-12 07:56:10.920 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 618344: 2015-04-12 13:10:00.829 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Mittag-- Sun Apr 12 2015 13:10:00 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 618345: 2015-04-12 13:10:00.892 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Mittag-- Sun Apr 12 2015 13:10:00 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 626348: 2015-04-12 16:22:17.617 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 626350: 2015-04-12 16:22:17.664 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 626426: 2015-04-12 19:57:40.946 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Sun Apr 12 2015 19:57:40 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 626533: 2015-04-12 20:01:25.110 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 626534: 2015-04-12 20:01:25.142 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 627551: 2015-04-12 20:18:35.037 - [32minfo[39m: javascript.0 Stop script script.js.Dunkelheit
                    Line 627552: 2015-04-12 20:18:35.053 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 627553: 2015-04-12 20:18:35.053 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 627615: 2015-04-12 22:00:04.050 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Night-- Sun Apr 12 2015 22:00:04 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 629595: 2015-04-13 05:26:10.814 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 629596: 2015-04-13 05:26:10.861 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 630093: 2015-04-13 05:30:41.285 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 630095: 2015-04-13 05:30:41.332 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 630870: 2015-04-13 05:39:17.368 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 630874: 2015-04-13 05:39:17.446 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 633263: 2015-04-13 06:02:31.872 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 633264: 2015-04-13 06:02:31.919 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 634334: 2015-04-13 06:20:13.250 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenaufgang-- Mon Apr 13 2015 06:20:13 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 634335: 2015-04-13 06:20:13.266 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenaufgang-- Mon Apr 13 2015 06:20:13 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 634336: 2015-04-13 06:20:13.236 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenaufgang-- Mon Apr 13 2015 06:20:13 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 634337: 2015-04-13 06:20:13.251 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenaufgang-- Mon Apr 13 2015 06:20:13 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 657865: 2015-04-13 13:09:45.293 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Mittag-- Mon Apr 13 2015 13:09:45 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 657866: 2015-04-13 13:09:45.308 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Mittag-- Mon Apr 13 2015 13:09:45 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 657867: 2015-04-13 13:09:45.354 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Mittag-- Mon Apr 13 2015 13:09:45 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 657868: 2015-04-13 13:09:45.323 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Mittag-- Mon Apr 13 2015 13:09:45 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 672201: 2015-04-13 19:59:17.357 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Mon Apr 13 2015 19:59:17 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 672202: 2015-04-13 19:59:17.341 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Mon Apr 13 2015 19:59:17 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 672203: 2015-04-13 19:59:17.388 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Mon Apr 13 2015 19:59:17 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 672204: 2015-04-13 19:59:17.404 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Mon Apr 13 2015 19:59:17 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 675766: 2015-04-13 22:02:26.523 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Night-- Mon Apr 13 2015 22:02:26 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 675767: 2015-04-13 22:02:26.446 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Night-- Mon Apr 13 2015 22:02:26 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 675768: 2015-04-13 22:02:26.540 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Night-- Mon Apr 13 2015 22:02:26 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 675769: 2015-04-13 22:02:26.524 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Night-- Mon Apr 13 2015 22:02:26 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 680736: 2015-04-14 00:42:48.016 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 680737: 2015-04-14 00:42:48.079 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 681245: 2015-04-14 01:07:41.849 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 681334: 2015-04-14 01:07:49.714 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 685664: 2015-04-14 21:25:28.616 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 685665: 2015-04-14 21:25:28.647 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 685754: 2015-04-14 21:56:50.487 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 685755: 2015-04-14 21:56:50.518 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 685830: 2015-04-14 21:58:40.717 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 685832: 2015-04-14 21:58:40.779 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 685857: 2015-04-14 22:04:50.484 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Night-- Tue Apr 14 2015 22:04:50 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 685923: 2015-04-14 22:08:04.282 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 685924: 2015-04-14 22:08:04.329 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 685996: 2015-04-14 22:12:51.317 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 685997: 2015-04-14 22:12:51.348 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 687097: 2015-04-15 22:13:38.967 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 687100: 2015-04-15 22:13:38.998 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 690169: 2015-04-16 06:50:50.217 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 690171: 2015-04-16 06:50:50.483 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 690753: 2015-04-16 06:56:23.232 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 690755: 2015-04-16 06:56:23.279 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 703137: 2015-04-16 09:52:48.405 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 703140: 2015-04-16 09:52:48.748 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 703930: 2015-04-16 10:02:51.903 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 703931: 2015-04-16 10:02:51.981 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 712146: 2015-04-16 13:09:01.512 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Mittag-- Thu Apr 16 2015 13:09:01 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 712147: 2015-04-16 13:09:01.479 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Mittag-- Thu Apr 16 2015 13:09:01 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 712148: 2015-04-16 13:09:01.573 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Mittag-- Thu Apr 16 2015 13:09:01 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 712149: 2015-04-16 13:09:01.776 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Mittag-- Thu Apr 16 2015 13:09:01 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 724748: 2015-04-16 20:04:06.925 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Thu Apr 16 2015 20:04:06 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 724749: 2015-04-16 20:04:07.003 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Thu Apr 16 2015 20:04:07 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 724750: 2015-04-16 20:04:06.941 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Thu Apr 16 2015 20:04:06 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 724751: 2015-04-16 20:04:07.018 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Thu Apr 16 2015 20:04:06 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 727655: 2015-04-16 22:09:43.921 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Night-- Thu Apr 16 2015 22:09:43 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 727656: 2015-04-16 22:09:43.952 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Night-- Thu Apr 16 2015 22:09:43 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 727657: 2015-04-16 22:09:43.875 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Night-- Thu Apr 16 2015 22:09:43 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 727659: 2015-04-16 22:09:43.906 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Night-- Thu Apr 16 2015 22:09:43 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 729016: 2015-04-16 23:45:33.232 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 729017: 2015-04-16 23:45:34.340 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 732401: 2015-04-17 03:45:34.564 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 732402: 2015-04-17 03:45:34.704 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 732642: 2015-04-17 04:31:01.574 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 732643: 2015-04-17 04:31:01.621 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 732726: 2015-04-17 06:11:50.889 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenaufgang-- Fri Apr 17 2015 06:11:50 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 732996: 2015-04-17 13:08:47.205 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Mittag-- Fri Apr 17 2015 13:08:47 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 733286: 2015-04-17 20:05:43.520 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Fri Apr 17 2015 20:05:43 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 733370: 2015-04-17 22:12:13.266 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Night-- Fri Apr 17 2015 22:12:13 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 734471: 2015-04-18 14:06:00.708 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 734473: 2015-04-18 14:06:00.755 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 741030: 2015-04-18 15:47:50.644 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 741032: 2015-04-18 15:47:50.690 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 746268: 2015-04-18 17:04:39.965 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 746269: 2015-04-18 17:04:40.027 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 756530: 2015-04-18 19:58:18.244 - [32minfo[39m: javascript.0 Start javascript script.js.Dunkelheit
                    Line 756531: 2015-04-18 19:58:18.291 - [32minfo[39m: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 756587: 2015-04-18 20:07:20.166 - [32minfo[39m: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Sat Apr 18 2015 20:07:20 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 756649: 2015-04-18 20:08:53.564 - info: javascript.0 Start javascript script.js.Dunkelheit
                    Line 756653: 2015-04-18 20:08:53.626 - info: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 756766: 2015-04-18 22:14:44.537 - info: javascript.0 script.js.Dunkelheit: --Night-- Sat Apr 18 2015 22:14:44 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 762037: 2015-04-19 01:14:29.135 - info: javascript.0 Start javascript script.js.Dunkelheit
                    Line 762038: 2015-04-19 01:14:29.182 - info: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 762822: 2015-04-19 01:25:16.176 - info: javascript.0 Start javascript script.js.Dunkelheit
                    Line 762823: 2015-04-19 01:25:16.270 - info: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 778192: 2015-04-19 06:07:44.667 - info: javascript.0 script.js.Dunkelheit: --Sonnenaufgang-- Sun Apr 19 2015 06:07:44 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 778193: 2015-04-19 06:07:44.730 - info: javascript.0 script.js.Dunkelheit: --Sonnenaufgang-- Sun Apr 19 2015 06:07:44 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 795455: 2015-04-19 13:08:20.761 - info: javascript.0 script.js.Dunkelheit: --Mittag-- Sun Apr 19 2015 13:08:20 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 795456: 2015-04-19 13:08:20.792 - info: javascript.0 script.js.Dunkelheit: --Mittag-- Sun Apr 19 2015 13:08:20 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 803871: 2015-04-19 17:17:46.751 - info: javascript.0 Start javascript script.js.Dunkelheit
                    Line 803872: 2015-04-19 17:17:46.860 - info: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 807247: 2015-04-19 20:08:56.960 - info: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Sun Apr 19 2015 20:08:56 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 807248: 2015-04-19 20:08:56.819 - info: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Sun Apr 19 2015 20:08:56 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 807249: 2015-04-19 20:08:56.835 - info: javascript.0 script.js.Dunkelheit: --Sonnenuntergang-- Sun Apr 19 2015 20:08:56 GMT+0200 (Mitteleuropäische Sommerzeit)
                    Line 807903: 2015-04-19 21:16:21.607 - info: javascript.0 Start javascript script.js.Dunkelheit
                    Line 807904: 2015-04-19 21:16:21.638 - info: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                    Line 807939: 2015-04-19 22:17:17.716 - info: javascript.0 script.js.Dunkelheit: --Night-- Sun Apr 19 2015 22:17:17 GMT+0200 (Mitteleuropäische Sommerzeit)

                    
                    Da sind einige Sachen dabei die mir eigenartig vorkommen. Auch die Einträge die mein Script loggen müsste sind nicht regelmässig zu finden, viele fehlen zwischendurch dann ist der gleiche Eintrag auch gleich dreimal hintereinander da…???
                    
                    Mir ist jetzt aufgefallen dass in der Adminkonsole manchmal auch der socket.io-Adapter als "nicht gestartet" angezeigt wird...???!!! Hier noch ein Auszug aus dem nach "socketio.0" gefilterten Log. Hat das alles so seine Richtigkeit, oder ist da vielleicht mit meiner Installation was im Argen?
                    
                    >! ````
                    	Line 803287: 2015-04-19 16:55:29.914  - error: socketio.0 no connection to objects DB
                    	Line 803302: 2015-04-19 16:55:41.351  - error: socketio.0 no connection to states DB
                    	Line 803313: 2015-04-19 16:38:35.173  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 803315: 2015-04-19 16:38:35.173  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 803330: 2015-04-19 16:56:44.426  - error: socketio.0 no connection to objects DB
                    	Line 803338: 2015-04-19 16:39:06.265  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 1848
                    	Line 803347: 2015-04-19 16:57:21.949  - error: socketio.0 no connection to states DB
                    	Line 803353: 2015-04-19 16:57:57.020  - error: socketio.0 already running
                    	Line 803362: 2015-04-19 16:39:52.255  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 803363: 2015-04-19 16:39:52.255  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 803369: 2015-04-19 16:58:50.849  - error: socketio.0 no connection to objects DB
                    	Line 803382: 2015-04-19 16:59:07.652  - error: socketio.0 no connection to states DB
                    	Line 803387: 2015-04-19 16:40:25.548  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 2204
                    	Line 803404: 2015-04-19 17:00:10.696  - error: socketio.0 no connection to objects DB
                    	Line 803410: 2015-04-19 16:41:07.501  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 803411: 2015-04-19 16:41:07.517  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 803418: 2015-04-19 17:00:40.668  - error: socketio.0 no connection to states DB
                    	Line 803430: 2015-04-19 16:41:38.566  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 920
                    	Line 803454: 2015-04-19 17:02:01.687  - error: socketio.0 no connection to objects DB
                    	Line 803474: 2015-04-19 17:02:26.977  - error: socketio.0 no connection to states DB
                    	Line 803479: 2015-04-19 16:42:10.801  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 803480: 2015-04-19 16:42:10.816  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 803488: 2015-04-19 16:42:43.470  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 3724
                    	Line 803496: 2015-04-19 17:03:30.615  - error: socketio.0 no connection to objects DB
                    	Line 803505: 2015-04-19 16:43:42.878  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 803509: 2015-04-19 17:04:03.723  - error: socketio.0 no connection to states DB
                    	Line 803511: 2015-04-19 16:43:42.878  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 803528: 2015-04-19 16:44:15.565  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 3500
                    	Line 803538: 2015-04-19 16:45:24.740  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 803539: 2015-04-19 17:05:12.352  - error: socketio.0 no connection to objects DB
                    	Line 803540: 2015-04-19 16:45:24.740  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 803548: 2015-04-19 17:05:22.573  - error: socketio.0 no connection to states DB
                    	Line 803565: 2015-04-19 16:46:00.906  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 4844
                    	Line 803574: 2015-04-19 17:06:25.025  - error: socketio.0 no connection to objects DB
                    	Line 803581: 2015-04-19 16:47:10.253  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 803584: 2015-04-19 16:47:10.253  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 803586: 2015-04-19 17:06:38.428  - error: socketio.0 no connection to states DB
                    	Line 803601: 2015-04-19 17:07:26.418  - error: socketio.0 no connection to objects DB
                    	Line 803614: 2015-04-19 17:07:52.348  - error: socketio.0 no connection to states DB
                    	Line 803616: 2015-04-19 16:47:43.188  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 3568
                    	Line 803641: 2015-04-19 16:48:20.272  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 803642: 2015-04-19 16:48:20.272  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 803663: 2015-04-19 16:48:54.160  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 4932
                    	Line 803678: 2015-04-19 16:50:00.151  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 803679: 2015-04-19 16:50:00.151  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 803702: 2015-04-19 16:50:38.841  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 1868
                    	Line 803725: 2015-04-19 16:51:57.967  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 803732: 2015-04-19 16:51:57.967  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 803742: 2015-04-19 16:52:34.224  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 5184
                    	Line 803744: 2015-04-19 16:53:17.613  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 803745: 2015-04-19 16:53:17.613  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 803782: 2015-04-19 16:53:53.731  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 5116
                    	Line 803809: 2015-04-19 16:54:44.997  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 803811: 2015-04-19 16:54:44.997  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 803823: 2015-04-19 16:55:15.514  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 4224
                    	Line 803841: 2015-04-19 16:55:54.626  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 803843: 2015-04-19 16:55:54.642  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 803865: 2015-04-19 16:56:31.260  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 4620
                    	Line 803893: 2015-04-19 16:58:00.420  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 803894: 2015-04-19 16:58:00.420  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 803906: 2015-04-19 16:58:34.217  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 6092
                    	Line 803908: 2015-04-19 16:59:25.033  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 803910: 2015-04-19 16:59:25.033  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 803927: 2015-04-19 16:59:56.048  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 4240
                    	Line 804213: 2015-04-19 17:01:14.741  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 804215: 2015-04-19 17:01:14.741  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 804234: 2015-04-19 17:01:46.926  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 6092
                    	Line 804251: 2015-04-19 17:02:47.275  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 804254: 2015-04-19 17:02:47.275  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 804263: 2015-04-19 17:03:18.603  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 3816
                    	Line 804277: 2015-04-19 17:04:23.413  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 804278: 2015-04-19 17:04:23.413  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 804291: 2015-04-19 17:04:57.423  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 4144
                    	Line 804312: 2015-04-19 17:05:43.105  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 804313: 2015-04-19 17:05:43.105  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 804330: 2015-04-19 17:06:14.978  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 3200
                    	Line 804347: 2015-04-19 17:06:42.624  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 804348: 2015-04-19 17:06:42.624  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 804361: 2015-04-19 17:07:15.386  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 3724
                    	Line 805228: 2015-04-19 19:09:29.956  - error: socketio.0 no connection to objects DB
                    	Line 805344: 2015-04-19 19:10:52.857  - warn: socketio.0 Reconnection to DB.
                    	Line 805345: 2015-04-19 19:10:53.324  - error: socketio.0 no connection to states DB
                    	Line 805360: 2015-04-19 19:11:09.099  - warn: socketio.0 Reconnection to DB.
                    	Line 805367: 2015-04-19 19:11:21.064  - info: socketio.0 starting. Version 0.2.3 in C:/Program Files/ioBroker/node_modules/iobroker.socketio
                    	Line 805369: 2015-04-19 19:11:21.142  - info: socketio.0 socket.io server listening on port 8084
                    	Line 805700: 2015-04-19 19:12:34.953  - error: socketio.0 no connection to objects DB
                    	Line 805738: 2015-04-19 19:13:35.281  - error: socketio.0 no connection to objects DB
                    	Line 805745: 2015-04-19 19:14:04.125  - error: socketio.0 no connection to states DB
                    	Line 805796: 2015-04-19 19:15:25.682  - error: socketio.0 no connection to objects DB
                    	Line 805877: 2015-04-19 19:17:16.089  - error: socketio.0 no connection to objects DB
                    	Line 805887: 2015-04-19 19:17:42.364  - error: socketio.0 no connection to states DB
                    	Line 805927: 2015-04-19 19:18:36.392  - error: socketio.0 no connection to objects DB
                    	Line 805930: 2015-04-19 19:18:41.478  - error: socketio.0 no connection to states DB
                    	Line 805949: 2015-04-19 19:20:02.026  - info: socketio.0 starting. Version 0.2.3 in C:/Program Files/ioBroker/node_modules/iobroker.socketio
                    	Line 805950: 2015-04-19 19:20:02.197  - info: socketio.0 socket.io server listening on port 8084
                    	Line 805952: 2015-04-19 19:20:02.260  - error: socketio.0 port 8084 already in use
                    	Line 805991: 2015-04-19 19:21:14.105  - error: socketio.0 no connection to objects DB
                    	Line 805999: 2015-04-19 19:21:24.931  - error: socketio.0 no connection to states DB
                    	Line 806012: 2015-04-19 19:07:16.050  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 3252
                    	Line 806038: 2015-04-19 19:22:39.679  - error: socketio.0 no connection to objects DB
                    	Line 806048: 2015-04-19 19:22:57.076  - error: socketio.0 no connection to states DB
                    	Line 806053: 2015-04-19 19:11:23.357  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 1 ()
                    	Line 806055: 2015-04-19 19:11:24.761  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806058: 2015-04-19 19:11:55.046  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 3128
                    	Line 806071: 2015-04-19 19:12:45.835  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 806072: 2015-04-19 19:12:45.850  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806075: 2015-04-19 19:24:10.543  - error: socketio.0 no connection to objects DB
                    	Line 806083: 2015-04-19 19:13:25.708  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 5964
                    	Line 806098: 2015-04-19 19:24:18.063  - warn: socketio.0 Reconnection to DB.
                    	Line 806109: 2015-04-19 19:24:25.410  - error: socketio.0 no connection to states DB
                    	Line 806128: 2015-04-19 19:14:21.598  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 806139: 2015-04-19 19:14:21.598  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806145: 2015-04-19 19:24:47.518  - warn: socketio.0 Reconnection to DB.
                    	Line 806153: 2015-04-19 19:24:49.046  - error: socketio.0 already running
                    	Line 806160: 2015-04-19 19:14:51.675  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 1344
                    	Line 806181: 2015-04-19 19:16:05.621  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 806186: 2015-04-19 19:16:05.621  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806188: 2015-04-19 19:26:18.627  - error: socketio.0 no connection to objects DB
                    	Line 806201: 2015-04-19 19:16:45.719  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 2200
                    	Line 806215: 2015-04-19 19:26:48.580  - error: socketio.0 no connection to states DB
                    	Line 806223: 2015-04-19 19:17:54.595  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 806226: 2015-04-19 19:17:54.595  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806238: 2015-04-19 19:18:24.924  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 776
                    	Line 806243: 2015-04-19 19:20:26.099  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 1 ()
                    	Line 806244: 2015-04-19 19:20:26.099  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806253: 2015-04-19 19:21:03.932  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 4792
                    	Line 806262: 2015-04-19 19:27:51.450  - error: socketio.0 no connection to objects DB
                    	Line 806265: 2015-04-19 19:21:49.660  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 806267: 2015-04-19 19:21:49.660  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806281: 2015-04-19 19:28:10.812  - error: socketio.0 no connection to states DB
                    	Line 806291: 2015-04-19 19:22:25.701  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 4436
                    	Line 806304: 2015-04-19 19:23:23.910  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 806306: 2015-04-19 19:23:23.910  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806332: 2015-04-19 19:23:56.080  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 5632
                    	Line 806333: 2015-04-19 19:29:41.817  - error: socketio.0 no connection to objects DB
                    	Line 806339: 2015-04-19 19:24:13.039  - warn: host.acer-Server instance system.adapter.socketio.0 already running with pid 5632
                    	Line 806344: 2015-04-19 19:30:10.586  - error: socketio.0 no connection to states DB
                    	Line 806358: 2015-04-19 19:24:51.028  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 806359: 2015-04-19 19:24:51.028  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806368: 2015-04-19 19:31:02.288  - error: socketio.0 no connection to objects DB
                    	Line 806370: 2015-04-19 19:25:41.774  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 4024
                    	Line 806379: 2015-04-19 19:31:20.667  - error: socketio.0 no connection to states DB
                    	Line 806391: 2015-04-19 19:31:55.708  - error: socketio.0 already running
                    	Line 806406: 2015-04-19 19:26:59.281  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 806409: 2015-04-19 19:26:59.281  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806422: 2015-04-19 19:32:53.387  - error: socketio.0 no connection to objects DB
                    	Line 806438: 2015-04-19 19:33:27.904  - error: socketio.0 no connection to states DB
                    	Line 806446: 2015-04-19 19:27:32.339  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 3156
                    	Line 806459: 2015-04-19 19:34:31.775  - error: socketio.0 no connection to objects DB
                    	Line 806473: 2015-04-19 19:35:01.293  - error: socketio.0 no connection to states DB
                    	Line 806483: 2015-04-19 19:28:53.764  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 806486: 2015-04-19 19:28:53.764  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806495: 2015-04-19 19:29:25.793  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 5004
                    	Line 806506: 2015-04-19 19:36:39.005  - error: socketio.0 no connection to objects DB
                    	Line 806521: 2015-04-19 19:37:06.588  - error: socketio.0 no connection to states DB
                    	Line 806550: 2015-04-19 19:38:31.146  - error: socketio.0 no connection to objects DB
                    	Line 806560: 2015-04-19 19:38:45.155  - error: socketio.0 no connection to states DB
                    	Line 806572: 2015-04-19 19:39:11.885  - error: socketio.0 already running
                    	Line 806588: 2015-04-19 19:40:00.718  - error: socketio.0 no connection to objects DB
                    	Line 806603: 2015-04-19 19:40:33.026  - error: socketio.0 no connection to states DB
                    	Line 806615: 2015-04-19 19:30:20.117  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 806617: 2015-04-19 19:30:20.117  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806634: 2015-04-19 19:41:44.762  - error: socketio.0 no connection to objects DB
                    	Line 806640: 2015-04-19 19:30:50.710  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 5328
                    	Line 806646: 2015-04-19 19:42:18.946  - error: socketio.0 no connection to states DB
                    	Line 806653: 2015-04-19 19:32:01.964  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 806654: 2015-04-19 19:32:01.979  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806672: 2015-04-19 19:43:48.607  - error: socketio.0 no connection to objects DB
                    	Line 806679: 2015-04-19 19:44:01.791  - error: socketio.0 no connection to states DB
                    	Line 806685: 2015-04-19 19:32:34.960  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 4192
                    	Line 806706: 2015-04-19 19:45:14.648  - error: socketio.0 no connection to objects DB
                    	Line 806716: 2015-04-19 19:33:49.447  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 806718: 2015-04-19 19:33:49.447  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806721: 2015-04-19 19:45:28.907  - error: socketio.0 no connection to states DB
                    	Line 806729: 2015-04-19 19:45:59.017  - info: socketio.0 starting. Version 0.2.3 in C:/Program Files/ioBroker/node_modules/iobroker.socketio
                    	Line 806730: 2015-04-19 19:45:59.142  - info: socketio.0 socket.io server listening on port 8084
                    	Line 806739: 2015-04-19 19:34:19.669  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 3780
                    	Line 806741: 2015-04-19 19:46:51.433  - error: socketio.0 no connection to objects DB
                    	Line 806753: 2015-04-19 19:47:05.865  - error: socketio.0 no connection to states DB
                    	Line 806764: 2015-04-19 19:47:31.546  - error: socketio.0 already running
                    	Line 806766: 2015-04-19 19:35:55.289  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 806767: 2015-04-19 19:35:55.289  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806779: 2015-04-19 19:48:21.738  - error: socketio.0 no connection to objects DB
                    	Line 806787: 2015-04-19 19:36:25.777  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 5116
                    	Line 806791: 2015-04-19 19:48:39.462  - error: socketio.0 no connection to states DB
                    	Line 806797: 2015-04-19 19:37:34.749  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 806798: 2015-04-19 19:37:34.749  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806808: 2015-04-19 19:49:40.060  - error: socketio.0 no connection to objects DB
                    	Line 806821: 2015-04-19 19:50:10.576  - error: socketio.0 no connection to states DB
                    	Line 806836: 2015-04-19 19:38:10.975  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 4436
                    	Line 806856: 2015-04-19 19:51:28.363  - error: socketio.0 no connection to objects DB
                    	Line 806865: 2015-04-19 19:39:16.378  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 806866: 2015-04-19 19:39:16.378  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806874: 2015-04-19 19:51:50.049  - error: socketio.0 no connection to states DB
                    	Line 806884: 2015-04-19 19:39:49.470  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 5456
                    	Line 806895: 2015-04-19 19:53:00.958  - error: socketio.0 no connection to objects DB
                    	Line 806913: 2015-04-19 19:54:45.770  - error: socketio.0 no connection to states DB
                    	Line 806917: 2015-04-19 19:40:58.050  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 806918: 2015-04-19 19:40:58.066  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806929: 2015-04-19 19:55:49.035  - error: socketio.0 no connection to objects DB
                    	Line 806931: 2015-04-19 19:41:29.926  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 6024
                    	Line 806939: 2015-04-19 19:56:07.989  - error: socketio.0 no connection to states DB
                    	Line 806961: 2015-04-19 19:57:07.664  - error: socketio.0 already running
                    	Line 806967: 2015-04-19 19:42:50.477  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 806968: 2015-04-19 19:42:50.477  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 806977: 2015-04-19 19:58:10.459  - error: socketio.0 no connection to objects DB
                    	Line 806991: 2015-04-19 19:58:42.457  - error: socketio.0 no connection to states DB
                    	Line 806993: 2015-04-19 19:43:31.601  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 3220
                    	Line 807006: 2015-04-19 19:44:26.692  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 807007: 2015-04-19 19:44:26.692  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 807022: 2015-04-19 19:59:47.935  - error: socketio.0 no connection to objects DB
                    	Line 807034: 2015-04-19 20:00:26.860  - error: socketio.0 no connection to states DB
                    	Line 807036: 2015-04-19 19:45:00.918  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 224
                    	Line 807069: 2015-04-19 20:01:37.720  - error: socketio.0 no connection to objects DB
                    	Line 807071: 2015-04-19 19:46:01.311  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 1 ()
                    	Line 807077: 2015-04-19 19:46:01.311  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 807080: 2015-04-19 20:01:50.153  - error: socketio.0 no connection to states DB
                    	Line 807090: 2015-04-19 19:46:32.963  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 2772
                    	Line 807102: 2015-04-19 20:03:05.274  - error: socketio.0 no connection to objects DB
                    	Line 807114: 2015-04-19 20:03:27.208  - error: socketio.0 no connection to states DB
                    	Line 807116: 2015-04-19 19:47:36.288  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 807118: 2015-04-19 19:47:36.288  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 807132: 2015-04-19 20:04:19.333  - error: socketio.0 no connection to objects DB
                    	Line 807136: 2015-04-19 19:48:10.054  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 3060
                    	Line 807141: 2015-04-19 20:04:38.773  - error: socketio.0 no connection to states DB
                    	Line 807151: 2015-04-19 20:05:06.850  - error: socketio.0 already running
                    	Line 807173: 2015-04-19 19:48:50.601  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 807174: 2015-04-19 19:48:50.601  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 807179: 2015-04-19 20:05:56.868  - error: socketio.0 no connection to objects DB
                    	Line 807193: 2015-04-19 20:06:17.837  - error: socketio.0 no connection to states DB
                    	Line 807198: 2015-04-19 20:06:35.996  - error: socketio.0 already running
                    	Line 807199: 2015-04-19 19:49:24.752  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 4180
                    	Line 807209: 2015-04-19 19:50:43.825  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 807210: 2015-04-19 19:50:43.825  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 807217: 2015-04-19 20:07:24.486  - error: socketio.0 no connection to objects DB
                    	Line 807231: 2015-04-19 20:07:47.436  - error: socketio.0 no connection to states DB
                    	Line 807235: 2015-04-19 20:08:01.091  - error: socketio.0 already running
                    	Line 807238: 2015-04-19 19:51:14.495  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 4764
                    	Line 807253: 2015-04-19 20:09:01.063  - error: socketio.0 no connection to objects DB
                    	Line 807271: 2015-04-19 20:10:02.381  - error: socketio.0 no connection to states DB
                    	Line 807278: 2015-04-19 19:52:12.373  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 807279: 2015-04-19 19:52:12.373  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 807287: 2015-04-19 19:52:46.679  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 4792
                    	Line 807299: 2015-04-19 20:11:10.201  - error: socketio.0 no connection to objects DB
                    	Line 807305: 2015-04-19 19:55:03.556  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 807309: 2015-04-19 19:55:03.556  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 807319: 2015-04-19 20:11:40.844  - error: socketio.0 no connection to states DB
                    	Line 807325: 2015-04-19 20:11:54.198  - error: socketio.0 already running
                    	Line 807335: 2015-04-19 19:55:33.963  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 5524
                    	Line 807339: 2015-04-19 20:12:46.044  - error: socketio.0 no connection to objects DB
                    	Line 807347: 2015-04-19 20:13:19.743  - error: socketio.0 no connection to states DB
                    	Line 807364: 2015-04-19 19:57:12.251  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 807365: 2015-04-19 19:57:12.266  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 807376: 2015-04-19 20:15:22.200  - error: socketio.0 no connection to objects DB
                    	Line 807383: 2015-04-19 19:57:55.265  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 3400
                    	Line 807390: 2015-04-19 20:15:36.632  - error: socketio.0 no connection to states DB
                    	Line 807396: 2015-04-19 19:58:57.744  - error: host.acer-Server instance system.adapter.socketio.0 terminated with code 7 (Adapter already running)
                    	Line 807397: 2015-04-19 19:58:57.744  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 807398: 2015-04-19 20:16:48.322  - info: socketio.0 starting. Version 0.2.3 in C:/Program Files/ioBroker/node_modules/iobroker.socketio
                    	Line 807399: 2015-04-19 20:16:48.400  - info: socketio.0 socket.io server listening on port 8084
                    	Line 807413: 2015-04-19 20:17:35.719  - error: socketio.0 no connection to objects DB
                    	Line 807423: 2015-04-19 19:59:28.479  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 6132
                    	Line 807424: 2015-04-19 20:18:15.284  - error: socketio.0 no connection to states DB
                    	Line 807470: 2015-04-19 20:19:16.616  - error: socketio.0 already running
                    	Line 807492: 2015-04-19 20:20:08.115  - error: socketio.0 no connection to objects DB
                    	Line 807507: 2015-04-19 20:20:50.237  - error: socketio.0 no connection to states DB
                    	Line 807523: 2015-04-19 20:22:08.820  - error: socketio.0 no connection to objects DB
                    	Line 807533: 2015-04-19 20:22:43.394  - error: socketio.0 no connection to states DB
                    	Line 807549: 2015-04-19 20:24:13.789  - info: socketio.0 starting. Version 0.2.3 in C:/Program Files/ioBroker/node_modules/iobroker.socketio
                    	Line 807550: 2015-04-19 20:24:13.851  - info: socketio.0 socket.io server listening on port 8084
                    	Line 807552: 2015-04-19 20:24:13.898  - error: socketio.0 port 8084 already in use
                    	Line 807585: 2015-04-19 20:26:53.170  - error: socketio.0 no connection to objects DB
                    	Line 807618: 2015-04-19 20:31:47.749  - warn: socketio.0 Reconnection to DB.
                    	Line 807628: 2015-04-19 20:32:01.744  - error: socketio.0 no connection to states DB
                    	Line 807636: 2015-04-19 20:32:27.829  - warn: socketio.0 Reconnection to DB.
                    	Line 807679: 2015-04-19 20:34:35.199  - error: socketio.0 no connection to objects DB
                    	Line 807804: 2015-04-19 20:50:57.515  - error: socketio.0 no connection to states DB
                    	Line 807817: 2015-04-19 20:53:28.005  - info: socketio.0 starting. Version 0.2.3 in C:/Program Files/ioBroker/node_modules/iobroker.socketio
                    	Line 807818: 2015-04-19 20:53:30.766  - info: socketio.0 socket.io server listening on port 8084
                    	Line 807842: 2015-04-19 21:14:47.083  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 3184
                    	Line 807853: 2015-04-19 21:14:58.465  - error: socketio.0 no connection to states DB
                    	Line 808468: 2015-04-20 23:00:18.395  - info: host.acer-Server object change system.adapter.socketio.0
                    	Line 808469: 2015-04-20 23:00:18.442  - info: host.acer-Server stopInstance system.adapter.socketio.0
                    	Line 808470: 2015-04-20 23:00:18.442  - info: host.acer-Server stopInstance system.adapter.socketio.0 killing pid 3184
                    	Line 808472: 2015-04-20 23:00:18.941  - warn: host.acer-Server instance system.adapter.socketio.0 terminated due to SIGTERM
                    	Line 808473: 2015-04-20 23:00:18.941  - info: host.acer-Server Restart adapter system.adapter.socketio.0 because enabled
                    	Line 808474: 2015-04-20 23:00:20.954  - info: host.acer-Server instance system.adapter.socketio.0 started with pid 2324
                    	Line 808475: 2015-04-20 23:00:26.507  - info: socketio.0 starting. Version 0.2.3 in C:/Program Files/ioBroker/node_modules/iobroker.socketio
                    	Line 808476: 2015-04-20 23:00:26.585  - info: socketio.0 socket.io server listening on port 8084
                    	Line 808477: 2015-04-20 23:00:52.780  - warn: host.acer-Server instance system.adapter.socketio.0 already running with pid 2324
                    

                    Was kann ich denn tun um die Sache in den Griff zu bekommen?

                    1 Reply Last reply Reply Quote 0
                    • htrecksler
                      htrecksler Forum Testing last edited by

                      kann ich bestätigen. Allerdings nur die Astrofunktion. Der Javascript Adapter läuft bei mir auf jeden Fall durch, weil alle 5 Minuten (und das absolut zuverlässig das Heizungsscript läuft.

                      Aber die Astrofunktion funktioniert manchmal, manchmal nicht.

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

                        Also bei mir ist da definitiv noch mehr im Argen. Nachdem gestern Abend mal wieder nichts mehr lief - IOBroker bekam nichts mehr von Homematic (über den hm-rpc-Adapter) mit geschweige denn dass die Astrofunktion oder andere Javascripte gelaufen wären- habe ich den PC neu gestartet. Danach lief erstmal alles wieder, nur die Astrofunktion gab nichts von sich… Heute ist es nun so (wie schon manchmal vorher) dass mir IOBroker den gesamten Arbeitsspeicher (3GB installiert) verbrät und somit der gesamte PC unheimlich langsam wird.
                        250_ram_auslastung2.jpg
                        Wenn auf dem PC alles normal läuft was ich drauf habe sind noch 1,5 bis 1 GB frei. Ich hatte aber das Verhalten schon des Öfteren dass die node-Prozesse den RAM "zumachen" und dann alles logischerweise so zäh wird dass eigentlich nichts mehr geht.

                        Was könnte denn die Ursache dafür sein?

                        1 Reply Last reply Reply Quote 0
                        • htrecksler
                          htrecksler Forum Testing last edited by

                          Aktuell habe ich immer noch Probleme mit dem "Schedule" in Verbindung mit der Astro Funktion.

                          Um das Problem mal etwas weiter einzukreisen habe ich folgendes gemacht.

                          Alle Instanzen des Javascript-Adapters entfernt (ich hatte 2 - einen zum Testen und einen produktiven)

                          Alle Updates durchgeführt (auch den js-controller - auf Version 0.6.4)

                          Dann eine neue Javascript Instanz erzeugt und dort die Einstellungen (Breite und Länge) vorgenommen.

                          Dann folgendes Testscript erzeugt:

                          schedule({astro: "sunrise"}, function () {
                              log("XGWSTRE - Sunrise!",'warn');
                          });
                          
                          schedule({astro: "sunriseEnd"}, function () {
                              log("XGWSTRE - SunriseEnd!",'warn');
                          });
                          
                          schedule({astro: "goldenHourEnd"}, function () {
                              log("XGWSTRE - Golden Hour End!",'warn');
                          });
                          
                          schedule({astro: "sunsetStart"}, function () {
                              log("XGWSTRE - sunsetStart!",'warn');
                          });
                          
                          schedule({astro: "sunset"}, function () {
                              log("XGWSTRE - sunset!",'warn');
                          });
                          
                          schedule({astro: "dusk"}, function () {
                              log("XGWSTRE - dusk!",'warn');
                          });
                          
                          schedule({astro: "nauticalDusk"}, function () {
                              log("XGWSTRE - Nauticaldusk!",'warn');
                          });
                          
                          schedule({astro: "night"}, function () {
                              log("XGWSTRE - Night!",'warn');
                          });
                          
                          schedule({astro: "nightEnd"}, function () {
                              log("XGWSTRE - NightEnd!",'warn');
                          });
                          
                          schedule({hour: 20, minute: 30}, function () {
                              log("XGWSTRE - manuell 20.30 Uhr",'warn');
                          });
                          
                          schedule({hour: 20, minute: 55}, function () {
                              log("XGWSTRE - manuell 20.55 Uhr",'warn');
                          });
                          
                          schedule({hour: 06, minute: 10}, function () {
                              log("XGWSTRE - manuell 06.10 Uhr",'warn');
                          });
                          
                          schedule({hour: 06, minute: 55}, function () {
                              log("XGWSTRE - manuell 06.55 Uhr",'warn');
                          });
                          
                          

                          Anschließend den Service neu gestartet.

                          Folgendes war im Log zu beobachten:

                          2015-04-26 20:30:00.394  - warn: javascript.0 script.js.xxxTESTSCRIPTxxx: XGWSTRE - manuell 20.30 Uhr
                          2015-04-26 20:42:21.494  - warn: javascript.0 script.js.xxxTESTSCRIPTxxx: XGWSTRE - sunsetStart!
                          2015-04-26 20:46:06.276  - warn: javascript.0 script.js.xxxTESTSCRIPTxxx: XGWSTRE - sunset!
                          2015-04-26 20:55:00.389  - warn: javascript.0 script.js.xxxTESTSCRIPTxxx: XGWSTRE - manuell 20.55 Uhr
                          2015-04-26 21:23:41.083  - warn: javascript.0 script.js.xxxTESTSCRIPTxxx: XGWSTRE - dusk!
                          2015-04-26 22:11:39.272  - warn: javascript.0 script.js.xxxTESTSCRIPTxxx: XGWSTRE - Nauticaldusk!
                          2015-04-26 23:09:08.486  - warn: javascript.0 script.js.xxxTESTSCRIPTxxx: XGWSTRE - Night!
                          
                          

                          und dann heute Morgen wo eigentlich die sunrise-schedules greifen sollten…

                          2015-04-27 06:10:00.398  - warn: javascript.0 script.js.xxxTESTSCRIPTxxx: XGWSTRE - manuell 06.10 Uhr
                          2015-04-27 06:55:00.389  - warn: javascript.0 script.js.xxxTESTSCRIPTxxx: XGWSTRE - manuell 06.55 Uhr
                          
                          

                          kein sunrise oder sunriseEnd

                          Das Script läuft allerdings, die schedule-Befehle die eine feste Zeit hinterlegt haben (06:10 und 06:55) werden ausgeführt.

                          Wenn ich jetzt irgendetwas an dem Script ändere und dann speichere (egal was) dann werden die schedule-Befehle heute Abend wieder ausgeführt,

                          die morgen früh nicht.

                          Wenn ich noch weiter zur Fehlersuche beitragen kann, ich bin zu allen Schandtaten bereit.

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

                            Habe jetzt auch den Test gestartet. Werde Morgen schauen, ob es durchgelaufen ist.

                            1 Reply Last reply Reply Quote 0
                            • htrecksler
                              htrecksler Forum Testing last edited by

                              Da bin ich aber mal gespannt. Danke schön.

                              Bei mir ist er wieder bis "Night" gekommen, dann war wieder Schluss "NightEnd" hat schon nicht mehr ausgelöst.

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

                                Kannst du Zeilen ab 808 in /opt/iobroker/node_modules/iobroker.javascript/javascript.js umschreiben?

                                                        date.setDate(date.getDate() + 1);
                                                        date.setMinutes(0);
                                                        date.setHours(0);
                                                        date.setSeconds(0);
                                                        date.setMilliseconds(0);   
                                
                                

                                in

                                                        date.setDate(date.getDate() + 1);
                                                        date.setMinutes(1); // Somtimes timer fires at 23:59:59
                                                        date.setHours(0);
                                                        date.setSeconds(0);
                                                        date.setMilliseconds(0);
                                                        date.setMinutes(-date.getTimezoneOffset()); 
                                
                                

                                Und dann javascript adapter neu starten?

                                1 Reply Last reply Reply Quote 0
                                • htrecksler
                                  htrecksler Forum Testing last edited by

                                  @Bluefox - mach ich direkt heute Abend.

                                  Ich geb Dir morgen früh eine Rückinfo ob es funktioniert hat.

                                  1 Reply Last reply Reply Quote 0
                                  • htrecksler
                                    htrecksler Forum Testing last edited by

                                    gegen 04:00 Uhr kam schon der log Eintrag für nightEnd, gerade dann sunrise.

                                    Es scheint zu funktionieren. Ich beobachte das noch mal ein paar Tage und markiere den Beitrag dann als gelöst.

                                    Danke Blufox…

                                    1 Reply Last reply Reply Quote 0
                                    • htrecksler
                                      htrecksler Forum Testing last edited by

                                      Ich hab gesehen, Du hast schon ein Update des JavaScript Adapters fertig.

                                      Bisher ist auch alles ordnungsgemäß gelaufen

                                      Daher habe ich den Vorgang jetzt als gelöst markiert.

                                      1 Reply Last reply Reply Quote 0
                                      • htrecksler
                                        htrecksler Forum Testing last edited by

                                        Das Ändern des Betreff geht wohl nur wenn man den Thread selbst geöffnet hat.

                                        Das müsstest DU also machen @thisoft

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

                                          Der Betreff ist ja schon geändert…?

                                          Seit dem letzten Update Mittwoch Abend läuft die Astrofunktion. Allerdings tat sie das bei mir vorher auch schon einige Zeit um dann auch mal wieder auszusetzen. Ich behalte mal den Optimismus dass es jetzt korrekt läuft.

                                          1 Reply Last reply Reply Quote 0
                                          • X
                                            xmace last edited by

                                            Hallo zusammen,

                                            ich nutze auch seit einer Weile die Astro Funktion um zwei Objekte ("Hell" [ja/nein] und "Dunkel" [ja/nein]) zu ändern.

                                            Entsprechend wird bei mir die Beleuchtung & Rollladensteuerung geschaltet.

                                            Zu Debugging-Zwecken sende ich außerdem zusätzlich noch Telegram Messages an den jeweiligen Events.

                                            Siehe:

                                            5044_unbenannt.png

                                            /**
                                             * Beschreibe diese Funktion …
                                             */
                                            function update_uhrzeit_hell_dunkel() {
                                              setState("javascript.0.Umwelt_Dunkel_Uhrzeit"/*Umwelt_Dunkel_Uhrzeit*/, formatDate(getDateObject(getAstroDate("dusk", undefined, 0)), "hh:mm"), true);
                                              setState("javascript.0.Umwelt_Hell_Uhrzeit"/*Umwelt_Hell_Uhrzeit*/, formatDate(getDateObject(getAstroDate("dawn", undefined, 0)), "hh:mm"), true);
                                            }
                                            
                                            /**
                                             * Beschreibe diese Funktion …
                                             */
                                            function alle_Zeiten_ausgeben() {
                                              console.log(getAstroDate("goldenHour", undefined, 0));
                                              console.log(getAstroDate("sunsetStart", undefined, 0));
                                              console.log(getAstroDate("sunset", undefined, 0));
                                              console.log(getAstroDate("dusk", undefined, 0));
                                              console.log(getAstroDate("nauticalDusk", undefined, 0));
                                              console.log(getAstroDate("night", undefined, 0));
                                              console.log(getAstroDate("nadir", undefined, 0));
                                              console.log(getAstroDate("nightEnd", undefined, 0));
                                              console.log(getAstroDate("nauticalDawn", undefined, 0));
                                              console.log(getAstroDate("dawn", undefined, 0));
                                              console.log(getAstroDate("sunrise", undefined, 0));
                                              console.log(getAstroDate("sunriseEnd", undefined, 0));
                                              console.log(getAstroDate("goldenHourEnd", undefined, 0));
                                            }
                                            
                                            schedule({astro: "nadir", shift: 0}, function () {
                                              update_uhrzeit_hell_dunkel();
                                            });
                                            schedule({astro: "sunset", shift: 0}, function () {
                                              setState("javascript.0.Umwelt_Dunkel"/*Umwelt_Dunkel*/, true, true);
                                              sendTo("telegram.0", "send", {
                                                  text: 'Umwelt Dunkel ja'
                                              });
                                            });
                                            schedule({astro: "dusk", shift: 0}, function () {
                                              setState("javascript.0.Umwelt_Hell"/*Umwelt_Hell*/, false, true);
                                              sendTo("telegram.0", "send", {
                                                  text: 'Umwelt Hell nein'
                                              });
                                            });
                                            schedule({astro: "dawn", shift: 0}, function () {
                                              setState("javascript.0.Umwelt_Hell"/*Umwelt_Hell*/, true, true);
                                              sendTo("telegram.0", "send", {
                                                  text: 'Umwelt Hell ja'
                                              });
                                            });
                                            schedule({astro: "sunriseEnd", shift: 0}, function () {
                                              setState("javascript.0.Umwelt_Dunkel"/*Umwelt_Dunkel*/, false, true);
                                              sendTo("telegram.0", "send", {
                                                  text: 'Umwelt Dunkel nein'
                                              });
                                            });
                                            
                                            

                                            Leider ist mir jetzt aufgefallen dass immer 2x das jeweilige Event ausgelöst wird bei der Astro-Funktion. Sprich die Objekte 2x aktualisiert & 2x die Telegram Messages geschickt. Teilweise auch um einige Minuten versetzt…

                                            Ist das ansonsten auch noch jemandem aufgefallen? Bei mir ist es ein Problem, da zb. wenn es Nacht ist, die Rollläden runter gehen. Wenn diese aber noch offen bleiben sollen stoppe ich manuell direkt am Aktor. Wenige Minuten später wird aber die Astro Funktion nochmal ausgelöst und sie schließen sich wieder...

                                            Genauso verhält es sich mit der "Abendbeleuchtung"

                                            Hoffe auf Feedback.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            835
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            javascript
                                            4
                                            20
                                            4235
                                            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