Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Problem, ASTRO wird nicht ausgelöst

    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

    Problem, ASTRO wird nicht ausgelöst

    This topic has been deleted. Only users with topic management privileges can see it.
    • htrecksler
      htrecksler Forum Testing last edited by

      ich war ein paar Tage im Urlaub, und habe heute über die Probleme mit Astrozeiten gelesen.

      Die Updates von dieser Woche habe ich noch nicht gemacht, aber gerade sind die Rollladen runtergefahren (gesteuert über Astro)

      Morgen hole ich alle Updates nach und werde berichten ob Astro noch funktioniert.

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

        Nun, ich hätte hier ein paar Posts weiter vorn nicht sagen sollen dass Astro jetzt funktioniert 😞 Seit gestern spinnt die Astrofunktion bei mir total - ich glaube man erkennt im folgenden Log ganz gut wo das Problem liegt…

        ! ````
        javascript-0 2015-05-30 19:54:26 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:54:26 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:54:24 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:54:24 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:54:22 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:54:22 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:54:20 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:54:20 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:54:18 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:54:18 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:54:16 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:54:16 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:54:14 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:54:14 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:54:11 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:54:11 warn script.js.Dunkelheit: YXC--Night--
        web-0 2015-05-30 19:54:11 info getObjectLog history.javascript.0.Dunkel.20150527
        web-0 2015-05-30 19:54:10 info getObjectLog history.javascript.0.Dunkel.20150528
        javascript-0 2015-05-30 19:54:09 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:54:09 warn script.js.Dunkelheit: YXC--Night--
        web-0 2015-05-30 19:54:08 info getObjectLog history.javascript.0.Dunkel.20150529
        javascript-0 2015-05-30 19:54:07 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:54:07 warn script.js.Dunkelheit: YXC--Night--
        web-0 2015-05-30 19:54:06 info getObjectLog history.javascript.0.Dunkel.20150530
        javascript-0 2015-05-30 19:54:05 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:54:05 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:54:03 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:54:03 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:54:01 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:54:01 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:53:59 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:53:59 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:53:57 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:53:57 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:53:55 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:53:55 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:53:53 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:53:53 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:53:51 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:53:51 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:53:49 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:53:49 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:53:47 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:53:47 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:53:45 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:53:45 warn script.js.Dunkelheit: YXC--Night--
        javascript-0 2015-05-30 19:53:43 warn script.js.Dunkelheit: YXC--nightEnd--
        javascript-0 2015-05-30 19:53:43 warn script.js.Dunkelheit: YXC--Night--

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

          Bei mir hat's heute abend funktioniert. Rollläden sind heruntergefahren.

          BTW: Hat jemand ein Tageszeitenskript für ioBroker?

          Gruß

          Pix

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

            Was genau ist für Dich ein Tageszeitenscript?

            BTW: Astro funktioniert auch nach Update aller Adapter noch.

            1 Reply Last reply Reply Quote 0
            • Y
              ykuendig last edited by

              Ich hab auch das Astro-Demo installiert.

              Gestern hat er die Events geloggt. Heute morgen waren nur die Manuellen da. 😞

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

                Hallo,
                @htrecksler:

                Was genau ist für Dich ein Tageszeitenscript? `
                das Tageszeitenskript setzt eine Variable je nach Auslösung der Astrofunktion in der Status Nacht;frühmorgens;Morgen;Vormittag;Mittag;Nachmittag;Abend;spätabends

                Die Einteilung ist natürlich individuell. Hatte so was früher in Homematic Skript, dann in CCU.IO und dachte, es hat vielleicht schon jemand fertig (spare mir das konvertieren).

                Ich nutzte das, um bestimmte Abfragen zu verfeinern. ZB lässt sich die Nachtruhe nur von Abends bis frühmorgens einschalten oder das Radio geht nur frühmorgens bis mittags an, wenn man erstmals die Küche betritt (nicht zB nach längerer Abwesenheit und Rückkehr am Abend).

                Gruß

                Pix

                Gesendet von meinem iPhone mit Tapatalk

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

                  @Fugazzy:

                  BTW: gibt es eine Möglichkeit sich die noch in der Zukunft liegen Zeitpunkte anzeigen zu lassen? Als Uhrzeit zum Beispiel? `

                  var suncalc = require('suncalc');
                  
                  var times = suncalc.getTimes(new Date(), 
                  48.8, // Latitude
                  11.34); // Longitude
                  
                  for (var t in times) {
                      log(t + ': ' + times[t]);
                  }
                  
                  1 Reply Last reply Reply Quote 0
                  • Bluefox
                    Bluefox last edited by

                    @Thisoft:

                    Nun, ich hätte hier ein paar Posts weiter vorn nicht sagen sollen dass Astro jetzt funktioniert 😞 Seit gestern spinnt die Astrofunktion bei mir total - ich glaube man erkennt im folgenden Log ganz gut wo das Problem liegt… `
                    Kannst du ersetzen /opt/iobroker/node_modules/iobroker.javascript/javascript.js

                    damit? Und mir dann die Logs geben?
                    48_javascript.js

                    Was für eine Breite, Länge und shift (bei "astro") du hast?

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

                      Ich kann mich erinnern das ich bei dem damaligen Fehler (behoben in der 0.4.2) ähnliches hatte.

                      Ich habe dann die Javascript Instanzen gelöscht und neu hinzugefügt.

                      Seitdem habe ich mit der Astrofunktion absolut keine Probleme mehr.

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

                        Hallo, @htrecksler:

                        Ich habe dann die Javascript Instanzen gelöscht und neu hinzugefügt. `
                        waren die Scripte nach dem neu Hinzufügen noch da?

                        Meine Rollläden sind nämlich gestern Abend wieder oben geblieben 😞

                        Gruß

                        Pix

                        1 Reply Last reply Reply Quote 0
                        • F
                          Fugazzy last edited by

                          Habe gerade durch Zufall festgestellt, dass in den Einstellungen der Javascript/Coffescript Script Engine die Werte für Längen- und Breitengrad verloren gegangen sind. Hb sie nun neu eingetragen und schaue nun, ob es wieder funktioniert

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

                            Bei mir waren die Scripte noch da nachdem ich die Instanz erneut eingefügt hatte. Allerdings hatte ich Sie zur Sicherheit mit Notepad++ gesichert. Das mache ich allerdings bei jeder Scriptänderung. Solange es nicht eine Version 1.0 gibt ist das ausdrücklich zu empfehlen.

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

                              @Bluefox:

                              @Thisoft:

                              Nun, ich hätte hier ein paar Posts weiter vorn nicht sagen sollen dass Astro jetzt funktioniert 😞 Seit gestern spinnt die Astrofunktion bei mir total - ich glaube man erkennt im folgenden Log ganz gut wo das Problem liegt… `
                              Kannst du ersetzen /opt/iobroker/node_modules/iobroker.javascript/javascript.js

                              damit? Und mir dann die Logs geben?
                              filename="javascript.js" index="1">~~

                              Was für eine Breite, Länge und shift (bei "astro") du hast? `

                              Hallo Bluefox,

                              ich habe die Datei ersetzt und komplett neu gestartet. Hier das Log:

                              ! ````
                              2015-06-01 21:38:54.949 - info: host.acer-Server ioBroker.js-controller version 0.6.6 js-controller starting
                              2015-06-01 21:38:54.965 - info: host.acer-Server Copyright (c) 2014-2015 bluefox, hobbyquaker
                              2015-06-01 21:38:54.965 - info: host.acer-Server hostname: acer-Server
                              2015-06-01 21:38:54.965 - info: host.acer-Server ip addresses: fe80::3c94:7e90:5565:1fe6 192.168.137.13
                              2015-06-01 21:38:58.256 - info: inMem-states listening on port 9000
                              2015-06-01 21:38:58.693 - info: inMem-objects listening on port 9001
                              2015-06-01 21:38:58.709 - info: host.acer-Server InMemoryDB connected
                              2015-06-01 21:38:58.740 - info: host.acer-Server 16 instances found
                              2015-06-01 21:38:58.740 - info: host.acer-Server starting 13 instances
                              2015-06-01 21:38:58.849 - info: host.acer-Server instance system.adapter.admin.0 started with pid 2584
                              2015-06-01 21:39:02.749 - info: host.acer-Server instance system.adapter.hm-rpc.0 started with pid 2616
                              2015-06-01 21:39:06.743 - info: host.acer-Server instance system.adapter.socketio.0 started with pid 2660
                              2015-06-01 21:39:07.336 - info: hm-rpc.0 starting. Version 0.4.0 in C:/Program Files/ioBroker/node_modules/iobroker.hm-rpc
                              2015-06-01 21:39:08.116 - info: hm-rpc.0 xmlrpc server is trying to listen on 192.168.137.13:20011
                              2015-06-01 21:39:08.116 - info: hm-rpc.0 xmlrpc -> 192.168.137.13:2001 init ["http://192.168.137.13:20011","hm-rpc.0"]
                              2015-06-01 21:39:08.241 - info: hm-rpc.0 xmlrpc <- listDevices ["hm-rpc.0"]
                              2015-06-01 21:39:08.287 - info: hm-rpc.0 xmlrpc -> 106 devices
                              2015-06-01 21:39:10.190 - info: admin.0 starting. Version 0.4.8 in C:/Program Files/ioBroker/node_modules/iobroker.admin
                              2015-06-01 21:39:10.284 - info: admin.0 requesting all states
                              2015-06-01 21:39:10.284 - info: admin.0 requesting all objects
                              2015-06-01 21:39:10.315 - info: admin.0 http server listening on port 8081
                              2015-06-01 21:39:10.315 - info: admin.0 Use link "http://localhost:8081" to configure.
                              2015-06-01 21:39:10.877 - info: host.acer-Server instance system.adapter.web.0 started with pid 2756
                              2015-06-01 21:39:14.667 - info: admin.0 received all objects
                              2015-06-01 21:39:16.804 - error: socketio.0 no connection to objects DB
                              2015-06-01 21:39:19.987 - error: web.0 no connection to objects DB
                              2015-06-01 21:39:22.623 - info: host.acer-Server instance system.adapter.history.0 started with pid 2824
                              2015-06-01 21:39:22.842 - info: host.acer-Server instance scheduled system.adapter.dwd.0 0 * * * *
                              2015-06-01 21:39:22.857 - info: host.acer-Server instance system.adapter.dwd.0 started with pid 2844
                              2015-06-01 21:39:24.027 - info: socketio.0 starting. Version 0.3.0 in C:/Program Files/ioBroker/node_modules/iobroker.socketio
                              2015-06-01 21:39:24.199 - info: socketio.0 socket.io server listening on port 8084
                              2015-06-01 21:39:24.496 - info: web.0 starting. Version 0.3.1 in C:/Program Files/ioBroker/node_modules/iobroker.web
                              2015-06-01 21:39:26.804 - info: host.acer-Server instance system.adapter.javascript.0 started with pid 2908
                              2015-06-01 21:39:29.113 - info: admin.0 received all states
                              2015-06-01 21:39:35.119 - info: host.acer-Server instance scheduled system.adapter.ical.0 0,30 * * * *
                              2015-06-01 21:39:30.236 - info: web.0 socket.io server listening on port 8082
                              2015-06-01 21:39:35.400 - info: web.0 http server listening on port 8082
                              2015-06-01 21:39:35.431 - info: host.acer-Server instance system.adapter.ical.0 started with pid 2956
                              2015-06-01 21:39:35.634 - info: host.acer-Server instance system.adapter.ping.0 started with pid 2976
                              2015-06-01 21:39:37.350 - info: dwd.0 starting. Version 0.1.9 in C:/Program Files/ioBroker/node_modules/iobroker.dwd
                              2015-06-01 21:39:38.691 - info: dwd.0 setting states
                              2015-06-01 21:39:38.863 - info: host.acer-Server instance system.adapter.sayit.0 started with pid 2248
                              2015-06-01 21:39:41.110 - info: javascript.0 starting. Version 0.4.2 in C:/Program Files/ioBroker/node_modules/iobroker.javascript
                              2015-06-01 21:39:41.125 - info: javascript.0 requesting all states
                              2015-06-01 21:39:41.125 - info: javascript.0 requesting all objects
                              2015-06-01 21:39:46.850 - info: host.acer-Server instance scheduled system.adapter.yr.0 0 * * * *
                              2015-06-01 21:39:46.757 - error: ping.0 no connection to states DB
                              2015-06-01 21:39:46.897 - info: host.acer-Server instance system.adapter.yr.0 started with pid 3348
                              2015-06-01 21:39:47.069 - info: host.acer-Server instance system.adapter.node-red.0 started with pid 3368
                              2015-06-01 21:39:47.303 - info: host.acer-Server instance system.adapter.dwd.0 terminated with code 0 (OK)
                              2015-06-01 21:39:47.646 - info: javascript.0 received all objects
                              2015-06-01 21:39:47.256 - error: sayit.0 no connection to objects DB
                              2015-06-01 21:39:53.465 - error: sayit.0 no connection to states DB
                              2015-06-01 21:39:55.274 - error: node-red.0 no connection to objects DB
                              2015-06-01 21:39:58.519 - error: ical.0 no connection to objects DB
                              2015-06-01 21:40:01.140 - info: sayit.0 starting. Version 0.3.6 in C:/Program Files/ioBroker/node_modules/iobroker.sayit
                              2015-06-01 21:40:01.156 - info: sayit.0 Upload announce mp3 files
                              2015-06-01 21:40:00.984 - info: ping.0 starting. Version 0.1.4 in C:/Program Files/ioBroker/node_modules/iobroker.ping
                              2015-06-01 21:40:01.671 - info: ical.0 starting. Version 0.1.0 in C:/Program Files/ioBroker/node_modules/iobroker.ical
                              2015-06-01 21:40:02.668 - error: yr.0 no connection to objects DB
                              2015-06-01 21:40:02.949 - info: yr.0 starting. Version 0.1.5 in C:/Program Files/ioBroker/node_modules/iobroker.yr
                              2015-06-01 21:40:03.324 - info: ical.0 processing URL: Abfallkalender https://www.google.com/calendar/ical/td111%40gmx.de/private-9329150301a86f660c3b257bfdce905f/basic.ics
                              2015-06-01 21:40:02.528 - info: node-red.0 starting. Version 0.2.2 in C:/Program Files/ioBroker/node_modules/iobroker.node-red
                              2015-06-01 21:40:04.603 - info: yr.0 got weather data from yr.no
                              2015-06-01 21:40:06.522 - info: javascript.0 received all states
                              2015-06-01 21:40:13.501 - info: host.acer-Server instance system.adapter.ical.0 terminated with code 0 (OK)
                              2015-06-01 21:40:13.532 - info: host.acer-Server instance system.adapter.yr.0 terminated with code 0 (OK)
                              2015-06-01 21:40:13.735 - info: javascript.0 Start javascript script.js.Dunkelheit
                              2015-06-01 21:40:13.782 - info: javascript.0 Delayed for tomorrow [sunrise ] ts: Mon Jun 01 2015 05:02:45 GMT+0200 (Mitteleuropäische Sommerzeit), After: 4.33
                              2015-06-01 21:40:13.798 - info: javascript.0 Delayed for tomorrow [sunriseEnd ] ts: Mon Jun 01 2015 05:06:58 GMT+0200 (Mitteleuropäische Sommerzeit), After: 4.33
                              2015-06-01 21:40:13.798 - info: javascript.0 Delayed for tomorrow [solarNoon ] ts: Mon Jun 01 2015 13:07:16 GMT+0200 (Mitteleuropäische Sommerzeit), After: 4.33
                              2015-06-01 21:40:13.798 - info: javascript.0 Delayed for tomorrow [sunsetStart ] ts: Mon Jun 01 2015 21:07:34 GMT+0200 (Mitteleuropäische Sommerzeit), After: 4.33
                              2015-06-01 21:40:13.798 - info: javascript.0 Delayed for tomorrow [sunset ] ts: Mon Jun 01 2015 21:11:47 GMT+0200 (Mitteleuropäische Sommerzeit), After: 4.33
                              2015-06-01 21:40:13.798 - info: javascript.0 Delayed for today [dusk ] ts: Mon Jun 01 2015 21:55:31 GMT+0200 (Mitteleuropäische Sommerzeit), After: 0.25
                              2015-06-01 21:40:13.798 - info: javascript.0 Delayed for today [nauticalDusk ] ts: Mon Jun 01 2015 22:58:14 GMT+0200 (Mitteleuropäische Sommerzeit), After: 1.30
                              2015-06-01 21:40:13.798 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:13.798 - info: javascript.0 Delayed for tomorrow [nadir ] ts: Mon Jun 01 2015 01:07:16 GMT+0200 (Mitteleuropäische Sommerzeit), After: 4.33
                              2015-06-01 21:40:13.798 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:13.798 - info: javascript.0 Delayed for tomorrow [nauticalDawn ] ts: Mon Jun 01 2015 03:16:19 GMT+0200 (Mitteleuropäische Sommerzeit), After: 4.33
                              2015-06-01 21:40:13.798 - info: javascript.0 Delayed for tomorrow [dawn ] ts: Mon Jun 01 2015 04:19:02 GMT+0200 (Mitteleuropäische Sommerzeit), After: 4.33
                              2015-06-01 21:40:13.798 - info: javascript.0 script.js.Dunkelheit: registered 0 subscriptions and 12 schedules
                              2015-06-01 21:40:13.813 - info: javascript.0 Start javascript script.js.GaragenautomatikKellertuer
                              2015-06-01 21:40:13.829 - info: javascript.0 script.js.GaragenautomatikKellertuer: registered 1 subscription and 0 schedules
                              2015-06-01 21:40:13.829 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:13.844 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:14.110 - info: node-red.0 Starting node-red: C:\Program Files\ioBroker\node_modules\iobroker.node-red/node_modules/node-red/red.js -v --settings C:\Program Files\ioBroker\node_modules\iobroker.node-red/userdata/settings.js
                              2015-06-01 21:40:15.857 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:15.857 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:15.872 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:15.872 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:17.885 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:17.885 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:17.900 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:17.900 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:19.913 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:19.913 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:19.928 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:19.928 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:21.941 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:21.941 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:21.956 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:21.956 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:23.969 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:23.969 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:23.984 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:23.984 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:25.997 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:25.997 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:26.012 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:26.012 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:28.025 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:28.025 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:28.040 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:28.040 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:30.053 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:30.053 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:30.068 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:30.068 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:32.081 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:32.081 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:32.096 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:32.096 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:34.109 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:34.109 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:34.124 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:34.124 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:36.137 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:36.137 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:36.152 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:36.152 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:38.165 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:38.165 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:38.180 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:38.180 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:40.193 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:40.193 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:40.208 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:40.208 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:42.221 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:42.221 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:42.236 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:42.236 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:44.249 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:44.249 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:44.264 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:44.264 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:46.277 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:46.277 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:46.292 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:46.292 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:48.305 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:48.305 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:48.320 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:48.320 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:50.333 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:50.333 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:50.348 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:50.380 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:52.361 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:52.376 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:52.392 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:52.408 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:54.389 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:54.404 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:54.420 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:54.436 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:56.417 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:56.432 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:56.448 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:56.464 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:40:58.445 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:58.460 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:40:58.476 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:40:58.492 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:41:00.473 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:00.488 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:41:00.504 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:00.520 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:41:02.501 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:02.516 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:41:02.532 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:02.548 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:41:04.529 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:04.544 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:41:04.560 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:04.576 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:41:06.557 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:06.572 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:41:06.588 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:06.604 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:41:08.585 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:08.600 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:41:08.616 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:08.632 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:41:10.613 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:10.628 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:41:10.644 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:10.660 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:41:12.641 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:12.656 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:41:12.672 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:12.688 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:41:14.669 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:14.684 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:41:14.700 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:14.716 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:41:16.697 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:16.712 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:41:16.728 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:16.744 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:41:18.725 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:18.740 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:41:18.756 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:18.772 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:41:20.597 - warn: node-red.0 js-bson: Failed to load c++ bson extension, using pure JS version
                              ! 2015-06-01 21:41:20.753 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:20.768 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:41:20.784 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:20.800 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:41:22.781 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:22.796 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:41:22.812 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:22.828 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:41:24.809 - info: javascript.0 Delayed for today [night ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:24.824 - warn: javascript.0 script.js.Dunkelheit: YXC--Night--
                              2015-06-01 21:41:24.840 - info: javascript.0 Delayed for today [nightEnd ] ts: Invalid Date, After: NaN
                              2015-06-01 21:41:24.856 - warn: javascript.0 script.js.Dunkelheit: YXC--nightEnd--
                              2015-06-01 21:41:24.856 - warn: node-red.0 js-bson: Failed to load c++ bson extension, using pure JS version
                              ! 2015-06-01 21:41:24.856 - warn: node-red.0 js-bson: Failed to load c++ bson extension, using pure JS version
                              js-bson: Failed to load c++ bson extension, using pure JS version
                              ! 2015-06-01 21:41:24.965 - warn: node-red.0 1 Jun 21:41:24 - [warn] ------------------------------------------
                              ! 2015-06-01 21:41:24.965 - warn: node-red.0 1 Jun 21:41:24 - [warn] [arduino] Error: Cannot find module 'arduino-firmata'
                              1 Jun 21:41:24 - [warn] [rpi-gpio] Info : Ignoring Raspberry Pi specific node.
                              1 Jun 21:41:24 - [warn] [tail] Info : Currently not supported on Windows.
                              1 Jun 21:41:24 - [warn] [redisout] Error: Cannot find module 'redis'
                              1 Jun 21:41:24 - [warn] ------------------------------------------
                              1 Jun 21:41:24 - [info] User Directory : C:\Program Files\ioBroker\node_modules\iobroker.node-red\userdata/

                              
                              Was meinst Du mit "shift" bei den Einstellungen?
                              
                              Wie kann ich noch helfen?
                              1 Reply Last reply Reply Quote 0
                              • htrecksler
                                htrecksler Forum Testing last edited by

                                mit shift meint er die Angabe im Script selber um die Astrozeit nach vorne oder nach hinten zu verschieben.

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

                                  Achso, ja - da habe ich momentan keinerlei Verschiebungen drin.

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

                                    Es ist ein Fehler in suncalc module. Habe hier

                                    https://github.com/mourner/suncalc/issues/44

                                    gemeldet.

                                    Mal schauen, ob er das findet.

                                    http://suncalc.net/#/50.6252,12.9239,13 … 6.01/23:29

                                    Gibt keine Angaben für Nacht/Ende.

                                    00:00—  n/a   — night
                                      n/a  —03:16 — astronomical twilight
                                    03:16—04:19 — nautical twilight
                                    04:19—05:02 — civil twilight
                                    05:02—05:07 — sunrise
                                    05:07—21:07 — daylight
                                    21:07—21:12 — sunset
                                    21:12—21:55 — civil twilight
                                    21:55—22:58 — nautical twilight
                                    22:58—  n/a   — astronomical twilight
                                      n/a  —00:00 — night
                                    
                                    GermanBluefox created this issue in mourner/suncalc

                                    closed No night/end calculations for specific place and date #44

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

                                      Es gibt auch neue Version aber da ist nur Fehlermeldung, falls die Zeit nicht kalkuliert werden kann:

                                      if (ts.getTime().toString() === 'NaN') {
                                          adapter.log.error('Cannot calculate "' + pattern.astro + '" for ' + adapter.config.latitude + ', ' + adapter.config.longitude);
                                      }
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • Thisoft
                                        Thisoft last edited by

                                        Ich habe mich jetzt mal etwas näher mit dem Thema beschäftigt. Das Problem ist wahrscheinlich nicht dass die Berechnung im sunset-Modul falsch wäre sondern dass in unseren Breiten jetzt um die Sommersonnenwende herum die nautische Abenddämmerung gleich in die nautische Morgendämmerung übergeht und es nie "astronomisch Nacht" wird.

                                        Ich befürchte fast, wir müssen uns dafür in der Astrofunktion was einfallen lassen… Wäre das vielleicht eine Lösung?

                                        if (ts.getTime().toString() === 'NaN') {
                                        			ts  = new Date(nowdate)						
                                        			ts.setMinutes(0);
                                        			ts.setHours(0);
                                        			ts.setSeconds(0);
                                        	}
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • Bluefox
                                          Bluefox last edited by

                                          @Thisoft:

                                          Ich habe mich jetzt mal etwas näher mit dem Thema beschäftigt. Das Problem ist wahrscheinlich nicht dass die Berechnung im sunset-Modul falsch wäre sondern dass in unseren Breiten jetzt um die Sommersonnenwende herum die nautische Abenddämmerung gleich in die nautische Morgendämmerung übergeht und es nie "astronomisch Nacht" wird.

                                          Ich befürchte fast, wir müssen uns dafür in der Astrofunktion was einfallen lassen… Wäre das vielleicht eine Lösung?

                                          if (ts.getTime().toString() === 'NaN') {
                                          			ts  = new Date(nowdate)						
                                          			ts.setMinutes(0);
                                          			ts.setHours(0);
                                          			ts.setSeconds(0);
                                          	}
                                          ```` `  
                                          

                                          Es gibt tatsächlich keine Nacht bei euch. Ich habe Start auf 23:59:58 und Ende auf 23:59:59 gesetzt.

                                          Bitte ausprobieren.

                                          1 Reply Last reply Reply Quote 0
                                          • F
                                            Fugazzy last edited by

                                            nach dem letzten Update 0.4.4 von javascript kommt nun

                                            bei

                                            schedule({hour: 23, minute: 0}, function () { 
                                                setState("JalousieModus", 3);
                                            });
                                            

                                            dieses im Log:

                                            javascript-0	2015-06-04 00:06:53	error	at script.js.Jalousien:40:1
                                            javascript-0	2015-06-04 00:06:53	error	at sandbox.schedule (/opt/iobroker/node_modules/iobroker.javascript/javascript.js:921:41)
                                            javascript-0	2015-06-04 00:06:53	error	script.js.Jalousien: TypeError: Object [object Object] has no method 'replace'
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            787
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            34
                                            5871
                                            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