NEWS
UNSOLVED DWD keine Meldung - Error Empty or invalid JSON
-
Hallo zusammen,
nachdem ja heute überall vor Unwettern gewarnt wird habe ich festgestellt, das min DWD Adapter gar keine Meldung anzeigt. Funktioniert bei euch der DWD Adapter mit einer vergleichbaren Konfiguration?Für unsere Region gibt es unter dwd.de folgende Meldung
Unter den Objekten bei dwd.0 wird keine Warnung ausgegeben.
Ich habe den Adapter schon einmal deintalliert und neue installiert. Nach dem Starten der Instanz kam nach ein paar Minuten folgender Error:
dwd.0 2020-06-13 13:35:10.954 error (14103) Empty or invalid JSON: Cannot parse JSON file.
Hier das dazugehörige Log mit Debug Level für dwd.
host.beebox(iobrokerMaster) 2020-06-13 13:40:12.435 info instance system.adapter.dwd.0 terminated with code 0 (NO_ERROR) dwd.0 2020-06-13 13:40:11.885 info (14119) Terminated (NO_ERROR): Without reason dwd.0 2020-06-13 13:40:11.884 debug (14119) Plugin sentry destroyed dwd.0 2020-06-13 13:40:11.371 debug (14119) Add warning "dwd.0.warning4": dwd.0 2020-06-13 13:40:11.368 debug (14119) Add warning "dwd.0.warning3": dwd.0 2020-06-13 13:40:11.366 debug (14119) Add warning "dwd.0.warning2": dwd.0 2020-06-13 13:40:11.363 debug (14119) Add warning "dwd.0.warning1": dwd.0 2020-06-13 13:40:11.361 debug (14119) Add warning "dwd.0.warning": dwd.0 2020-06-13 13:40:03.492 info (14119) starting. Version 2.4.10 in /opt/iobroker/node_modules/iobroker.dwd, node: v12.18.0, js-controller: 3.1.5 dwd.0 2020-06-13 13:40:03.273 debug (14119) Plugin sentry Initialize Plugin (enabled=true) host.beebox(iobrokerMaster) 2020-06-13 13:40:00.094 info instance system.adapter.dwd.0 started with pid 14119 host.beebox(iobrokerMaster) 2020-06-13 13:35:11.992 info instance system.adapter.dwd.0 terminated with code 0 (NO_ERROR) dwd.0 2020-06-13 13:35:11.468 info (14103) Terminated (NO_ERROR): Without reason dwd.0 2020-06-13 13:35:11.467 debug (14103) Plugin sentry destroyed dwd.0 2020-06-13 13:35:10.954 error (14103) Empty or invalid JSON: Cannot parse JSON file. dwd.0 2020-06-13 13:35:02.915 info (14103) starting. Version 2.4.10 in /opt/iobroker/node_modules/iobroker.dwd, node: v12.18.0, js-controller: 3.1.5 dwd.0 2020-06-13 13:35:02.695 debug (14103) Plugin sentry Initialize Plugin (enabled=true) dwd.0 2020-06-13 13:35:01.513 debug (14103) statesDB connected dwd.0 2020-06-13 13:35:01.512 debug (14103) States connected to redis: 127.0.0.1:9000 dwd.0 2020-06-13 13:35:01.494 debug (14103) States create System PubSub Client dwd.0 2020-06-13 13:35:01.491 debug (14103) States create User PubSub Client dwd.0 2020-06-13 13:35:01.476 debug (14103) Redis States: Use Redis connection: 127.0.0.1:9000 dwd.0 2020-06-13 13:35:01.472 debug (14103) objectDB connected dwd.0 2020-06-13 13:35:01.459 debug (14103) Objects connected to redis: 127.0.0.1:9001 dwd.0 2020-06-13 13:35:01.438 debug (14103) Objects client initialize lua scripts dwd.0 2020-06-13 13:35:01.428 debug (14103) Objects create User PubSub Client dwd.0 2020-06-13 13:35:01.426 debug (14103) Objects create System PubSub Client dwd.0 2020-06-13 13:35:01.421 debug (14103) Objects client ready ... initialize now dwd.0 2020-06-13 13:35:01.370 debug (14103) Redis Objects: Use Redis connection: 127.0.0.1:9001 host.beebox(iobrokerMaster) 2020-06-13 13:35:00.057 info instance system.adapter.dwd.0 started with pid 14103 host.beebox(iobrokerMaster) 2020-06-13 13:31:28.702 info instance system.adapter.dwd.0 terminated with code 0 (NO_ERROR) dwd.0 2020-06-13 13:31:28.166 info (14072) Terminated (NO_ERROR): Without reason dwd.0 2020-06-13 13:31:28.165 debug (14072) Plugin sentry destroyed dwd.0 2020-06-13 13:31:27.645 debug (14072) Add warning "dwd.0.warning4": dwd.0 2020-06-13 13:31:27.643 debug (14072) Add warning "dwd.0.warning3": dwd.0 2020-06-13 13:31:27.640 debug (14072) Add warning "dwd.0.warning2": dwd.0 2020-06-13 13:31:27.637 debug (14072) Add warning "dwd.0.warning1": dwd.0 2020-06-13 13:31:27.634 debug (14072) Add warning "dwd.0.warning": dwd.0 2020-06-13 13:31:27.236 info (14072) starting. Version 2.4.10 in /opt/iobroker/node_modules/iobroker.dwd, node: v12.18.0, js-controller: 3.1.5 dwd.0 2020-06-13 13:31:27.011 debug (14072) Plugin sentry Initialize Plugin (enabled=true) dwd.0 2020-06-13 13:31:26.141 debug (14072) statesDB connected dwd.0 2020-06-13 13:31:26.140 debug (14072) States connected to redis: 127.0.0.1:9000 dwd.0 2020-06-13 13:31:26.124 debug (14072) States create System PubSub Client dwd.0 2020-06-13 13:31:26.120 debug (14072) States create User PubSub Client dwd.0 2020-06-13 13:31:26.108 debug (14072) Redis States: Use Redis connection: 127.0.0.1:9000 dwd.0 2020-06-13 13:31:26.105 debug (14072) objectDB connected dwd.0 2020-06-13 13:31:26.092 debug (14072) Objects connected to redis: 127.0.0.1:9001 dwd.0 2020-06-13 13:31:26.071 debug (14072) Objects client initialize lua scripts dwd.0 2020-06-13 13:31:26.059 debug (14072) Objects create User PubSub Client dwd.0 2020-06-13 13:31:26.057 debug (14072) Objects create System PubSub Client dwd.0 2020-06-13 13:31:26.052 debug (14072) Objects client ready ... initialize now dwd.0 2020-06-13 13:31:26.002 debug (14072) Redis Objects: Use Redis connection: 127.0.0.1:9001 host.beebox(iobrokerMaster) 2020-06-13 13:31:24.716 info instance system.adapter.dwd.0 started with pid 14072 host.beebox(iobrokerMaster) 2020-06-13 13:31:24.677 info instance scheduled system.adapter.dwd.0 */5 * * * * host.beebox(iobrokerMaster) 2020-06-13 13:31:21.657 info stopInstance system.adapter.dwd.0 (force=false, process=false) host.beebox(iobrokerMaster) 2020-06-13 13:31:21.655 info "system.adapter.dwd.0" enabled host.beebox(iobrokerMaster) 2020-06-13 13:31:19.172 info stopInstance canceled schedule system.adapter.dwd.0 host.beebox(iobrokerMaster) 2020-06-13 13:31:19.170 info stopInstance system.adapter.dwd.0 (force=false, process=false)
Mein System
npm: 6.14.4 Admin: 4.1.1 Java Script Enging: 4.6.17 node: 12.18.0 nodejs: v12.18.0 js-controller: 3.1.5 DWD Adapter: 2.4.10
-
Welche Region?
-
@sigi234 Braunschweig
-
@Feuersturm sieht soweit bis auf
@Feuersturm sagte in DWD keine Meldung - Error Empty or invalid JSON:
dwd.0 2020-06-13 13:35:10.954 error (14103) Empty or invalid JSON: Cannot parse JSON file.
unauffällig aus.
@Feuersturm sagte in DWD keine Meldung - Error Empty or invalid JSON:
Für unsere Region gibt es unter dwd.de folgende Meldung
Da dies aber nur eine Vorabinformation ist weiß ich nicht, ob diese den Adapter triggert
-
@Feuersturm sagte in DWD keine Meldung - Error Empty or invalid JSON:
@sigi234 Braunschweig
Geht bei mir auch nicht.
Teste mal:
Kreis Nordwestmecklenburg - Küste
-
Ich habe gerade einmal Kreis Goslar genommen und dann werden mir auch sofort die Meldungen angezeigt. Es scheint also so zu sein, wie @Homoran vermutet, dass Vorabwarnungen nicht angezeigt werden.
Fragt sich nur, was der Error bedeutet und ob er irgendwelche anderen Auswirkungen hat.
-
@Feuersturm sagte in DWD keine Meldung - Error Empty or invalid JSON:
Fragt sich nur, was der Error bedeutet und ob er irgendwelche anderen Auswirkungen hat.
Das war bei einem Abruf des Adapters. Alle anderen sind sauber durchgelaufen.
So etwas kann schon mal vorkommen. Keine Panik
-
@Homoran
Warum kann man nicht mehere Kreise im Adapter hinzufügen, wäre Super. Derzeit geht es ja nur mittels hinzufügen einer zusätzlichen Instanz. -
@sigi234 sagte in DWD keine Meldung - Error Empty or invalid JSON:
geht es ja nur mittels hinzufügen einer zusätzlichen Instanz.
Was ist dagegen einzuwenden?
@sigi234 sagte in DWD keine Meldung - Error Empty or invalid JSON:
Warum kann man nicht mehere Kreise im Adapter hinzufügen
und mit den Warnungen für welchen Kreis soll dann warning, warning1 gefüllt werden?
-
@Homoran sagte in DWD keine Meldung - Error Empty or invalid JSON:
und mit den Warnungen für welchen Kreis soll dann warning, warning1 gefüllt werden?
Na ja dachte nur weil das kann das UWZ Skript ja auch.
-
Ich hab mal bzgl. der Darstellung von Vorabinformationen ein Issue (als mögliche Erweiterung) aufgemacht https://github.com/ioBroker/ioBroker.dwd/issues/45
-
Hallo Nachbar,
ich wohne zwischen Braunschweig und Helmstedt. Habe auch hin und wieder den Fehler beim DWD Adapter
Marcus