Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. DWD keine Meldung - Error Empty or invalid JSON

    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

    UNSOLVED DWD keine Meldung - Error Empty or invalid JSON

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

      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
      d7ddfd5c-ebac-4305-8ef3-02c48d75859d-grafik.png

      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
      
      sigi234 Homoran 2 Replies Last reply Reply Quote 0
      • sigi234
        sigi234 Forum Testing Most Active @Feuersturm last edited by

        @Feuersturm

        Welche Region?

        Feuersturm 1 Reply Last reply Reply Quote 0
        • Feuersturm
          Feuersturm @sigi234 last edited by

          @sigi234 Braunschweig

          sigi234 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @Feuersturm last edited by

            @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

            1 Reply Last reply Reply Quote 0
            • sigi234
              sigi234 Forum Testing Most Active @Feuersturm last edited by

              @Feuersturm sagte in DWD keine Meldung - Error Empty or invalid JSON:

              @sigi234 Braunschweig

              Geht bei mir auch nicht.

              Teste mal:

              Kreis Nordwestmecklenburg - Küste

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

                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.

                Homoran 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @Feuersturm last edited by Homoran

                  @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

                  sigi234 1 Reply Last reply Reply Quote 0
                  • sigi234
                    sigi234 Forum Testing Most Active @Homoran last edited by sigi234

                    @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.

                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @sigi234 last edited by

                      @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?

                      sigi234 1 Reply Last reply Reply Quote 0
                      • sigi234
                        sigi234 Forum Testing Most Active @Homoran last edited by

                        @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.

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

                          Ich hab mal bzgl. der Darstellung von Vorabinformationen ein Issue (als mögliche Erweiterung) aufgemacht https://github.com/ioBroker/ioBroker.dwd/issues/45

                          Feuer-sturm created this issue in ioBroker/ioBroker.dwd

                          closed Darstellung von "Vorabinformationen" #45

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

                            Hallo Nachbar,
                            ich wohne zwischen Braunschweig und Helmstedt. Habe auch hin und wieder den Fehler beim DWD Adapter
                            Marcus

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            936
                            Online

                            31.9k
                            Users

                            80.1k
                            Topics

                            1.3m
                            Posts

                            dwd
                            4
                            12
                            892
                            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