Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Weather-Warnings

    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

    Test Adapter Weather-Warnings

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      ticaki Developer @sigi234 last edited by ticaki

      @sigi234
      Starttimems und Endtimems müssten vom gleichen type und role sein.

      Hab das mal so eingebaut, hoffe ich hab nicht übersehen. Hab den Warntyp 'none' hinzugefügt. Der sollte nur da erscheinen, wenn nicht Bugreport. Hm könnte sein das im Title jetzt genericwarntype geht, kann ja jemand testen. 🙂 Da könnte dann "keine" stehen anstatt sturm regen etc.

      none.png

      Wollte im Thema bleiben das ist das Icon für none.

      @Chris76e
      Default sollte ebenfalls da sein.

      Chris76e 1 Reply Last reply Reply Quote 0
      • Chris76e
        Chris76e @ticaki last edited by

        @ticaki sagte in Test Adapter Weather-Warnings:

        Default sollte ebenfalls da sein.

        Funktioniert mit default

        1 Reply Last reply Reply Quote 0
        • T
          ticaki Developer last edited by ticaki

          Wollte noch auf folgendes Hinweisen: Falls die Frage mal kommt. Wenn die Rohdatenspeicherung über Wochen aktiviert ist, wird die Datenmenge so groß das der Admin anfängt zu laggen. Hab die Heute auf meinem produktivien IO ausgeschaltet, weils gelaggt hat. War aktiviert seit ich es eingebaut habe.

          Bildschirmfoto 2023-10-12 um 14.22.47.png

          Frage
          fehlt noch was? Ich hab meine Liste soweit abgearbeitet. Die restlichen 3 Punkte sind nicht wirklich wichtig.

          Später sollte da noch Nina(Warnungen BRD) und Metro(Wetterwarnungen EU) rein kommen. Vor Nina scheue ich mich, das nervt ohne Ende und für Metro muß ich erstmal selber was bauen und es mir ansehen.

          Chris76e 1 Reply Last reply Reply Quote 0
          • Chris76e
            Chris76e @ticaki last edited by

            @ticaki

            habe gerade noch mal ein update gemacht wegen dem icon, jetzt startet er nicht mehr

            weather-warnings.0
            	2023-10-29 12:27:40.390	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            weather-warnings.0
            	2023-10-29 12:27:40.389	info	terminating
            weather-warnings.0
            	2023-10-29 12:27:39.887	info	Got terminate signal TERMINATE_YOURSELF
            weather-warnings.0
            	2023-10-29 12:27:34.162	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            weather-warnings.0
            	2023-10-29 12:27:34.162	info	terminating
            weather-warnings.0
            	2023-10-29 12:27:34.161	info	Got terminate signal TERMINATE_YOURSELF
            weather-warnings.0
            	2023-10-29 12:27:33.696	info	starting. Version 0.4.6 (non-npm: ticaki/ioBroker.weather-warnings#4f195aaae2b6a6699797b4402fac349697cdac8a) in /opt/iobroker/node_modules/iobroker.weather-warnings, node: v18.18.2, js-controller: 5.0.12
            weather-warnings.0
            	2023-10-29 12:27:27.829	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            weather-warnings.0
            	2023-10-29 12:27:27.828	info	terminating
            weather-warnings.0
            	2023-10-29 12:27:27.827	info	Got terminate signal TERMINATE_YOURSELF
            weather-warnings.0
            	2023-10-29 12:27:27.346	info	starting. Version 0.4.6 (non-npm: ticaki/ioBroker.weather-warnings#4f195aaae2b6a6699797b4402fac349697cdac8a) in /opt/iobroker/node_modules/iobroker.weather-warnings, node: v18.18.2, js-controller: 5.0.12
            weather-warnings.0
            	2023-10-29 12:27:21.109	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            weather-warnings.0
            	2023-10-29 12:27:21.108	info	terminating
            weather-warnings.0
            	2023-10-29 12:27:21.107	info	Got terminate signal TERMINATE_YOURSELF
            weather-warnings.0
            	2023-10-29 12:27:19.610	info	starting. Version 0.4.6 (non-npm: ticaki/ioBroker.weather-warnings#4f195aaae2b6a6699797b4402fac349697cdac8a) in /opt/iobroker/node_modules/iobroker.weather-warnings, node: v18.18.2, js-controller: 5.0.12
            weather-warnings.0
            	2023-10-29 12:27:14.029	info	terminating
            weather-warnings.0
            	2023-10-29 12:27:13.528	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
            weather-warnings.0
            	2023-10-29 12:27:13.527	info	terminating
            weather-warnings.0
            	2023-10-29 12:27:13.526	info	Got terminate signal TERMINATE_YOURSELF
            weather-warnings.0
            	2023-10-29 12:27:11.940	info	starting. Version 0.4.6 (non-npm: ticaki/ioBroker.weather-warnings#4f195aaae2b6a6699797b4402fac349697cdac8a) in /opt/iobroker/node_modules/iobroker.weather-warnings, node: v18.18.2, js-controller: 5.0.12
            
            T 1 Reply Last reply Reply Quote 0
            • T
              ticaki Developer @Chris76e last edited by ticaki

              @chris76e
              Moment ich installiere den mal auf meinem produktiven.

              Ja war noch ein Fehler in der Konfigurationserstellung für die Alexa Sounds und die ist durch den neuen 'noon' type zu tage getretten.

              Jetzt sind da überall Infologeinträge die Bescheid sagen wer der Schuldige ist, wenn es nochmal passieren sollte.

              Und ich sehe sowas leider nicht auf dem dev-server - restarts gibts da nicht. Da der Adapter garnicht "läuft".

              update

              Chris76e 1 Reply Last reply Reply Quote 0
              • Chris76e
                Chris76e @ticaki last edited by Chris76e

                @ticaki

                Jetzt startet der Adapter wieder, aber wenn ich unter Objekte formated keys 01 öffne kommt

                Screenshot 2023-10-29 125044.png

                passierte im ff und nachgestellt in chrome

                Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf https://sentry.iobroker.net/api/58/envelope/?sentry_key=43643152dab3481db69950ba866ee9d6&sentry_version=7&sentry_client=sentry.javascript.browser%2F7.75.0. (Grund: CORS-Anfrage schlug fehl). Statuscode: (null).
                
                > stateChange weather-warnings.0.provider.dwd.805370036.formatedKeys.01.warntypegenericname instrument.ts:144
                > stateChange weather-warnings.0.provider.dwd.805370036.formatedKeys.01.warntypename instrument.ts:144
                > stateChange weather-warnings.0.provider.dwd.805370036.activeWarnings instrument.ts:144
                > stateChange weather-warnings.0.provider.dwd.805370036.activeWarnings_json instrument.ts:144
                > stateChange weather-warnings.0.provider.dwd.805370036.history instrument.ts:144
                > stateChange weather-warnings.0.provider.dwd.805370036.lastUpdate instrument.ts:144
                > stateChange weather-warnings.0.provider.activeWarnings instrument.ts:144
                > stateChange weather-warnings.0.provider.activeWarnings_json instrument.ts:144
                > stateChange weather-warnings.0.provider.history instrument.ts:144
                - unsubscribe weather-warnings.0.command.alexa2 instrument.ts:144
                - unsubscribe weather-warnings.0.command.telegram instrument.ts:144
                - unsubscribe weather-warnings.0.info.connection instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01._CustomArray instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01._CustomIfHours instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01._customAlexaIf instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01._customFarbname instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01._customHEX instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01._customText instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.altitude instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.cdfuture instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.cdhour instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.cdminute instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.ceiling instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.countdown instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.description instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.enddate instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.endday instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.enddayofweek instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.enddayofweekshort instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.enddaytime instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.endmonth instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.endtime instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.endtimems instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.headline instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.iconurl instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.impact instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.instruction instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.location instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.locationcustom instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.provider instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.startadverb instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.startdate instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.startday instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.startdayofweek instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.startdayofweekshort instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.startdaytime instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.startmonth instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.starttime instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.starttimems instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.status instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.warningcount instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.warnlevelcolorhex instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.warnlevelcolorname instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.warnlevelname instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.warnlevelnumber instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.warntypegeneric instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.warntypegenericname instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.formatedKeys.01.warntypename instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.activeWarnings instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.activeWarnings_json instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.history instrument.ts:144
                - unsubscribe weather-warnings.0.provider.dwd.805370036.lastUpdate instrument.ts:144
                - unsubscribe weather-warnings.0.provider.activeWarnings instrument.ts:144
                - unsubscribe weather-warnings.0.provider.activeWarnings_json instrument.ts:144
                - unsubscribe weather-warnings.0.provider.history instrument.ts:144
                Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bs%2C%20v%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
                    React 9
                    S scheduler.production.min.js:13
                    T scheduler.production.min.js:14
                instrument.ts:144
                
                ​
                
                
                
                T 1 Reply Last reply Reply Quote 0
                • T
                  ticaki Developer @Chris76e last edited by ticaki

                  @chris76e
                  Kann ich auf dem Produktiven iobroker bestätigen.
                  Auf dem Entwicklungs Iobroker läuft es ohne Probleme.

                  Ich hab jetzt mal alle Datenpunkte gelöscht und jetzt gehts.

                  Schaue bitte mal nach ob in einem funktionierenden FormatedData das common.states von weather-warnings.0.provider.dwd.xxxx.formatedKeys.xx.warntypegenericden eintrag noneoder keinerals erstes enthält

                  Chris76e 1 Reply Last reply Reply Quote 0
                  • Chris76e
                    Chris76e @ticaki last edited by

                    @ticaki sagte in Test Adapter Weather-Warnings:

                    Schaue bitte mal nach ob in einem funktionierenden FormatedData das common.states von weather-warnings.0.provider.dwd.xxxx.formatedKeys.xx.warntypegenericden eintrag noneoder keinerals erstes enthält

                    Wie komme ich dahin? Sobald ich im Admin auf Objekte gehe, kommt ja jetzt die Fehlermeldung.....

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      ticaki Developer @Chris76e last edited by

                      @chris76e
                      Das war bei mir nicht so, ich mußte den Ordner öffnen. Dann eben auf verdacht. 🙂

                      Chris76e 1 Reply Last reply Reply Quote 0
                      • Chris76e
                        Chris76e @ticaki last edited by

                        @ticaki

                        habe es jetzt mit Edge probiert, unter ....00 ist ne Warnung aktive, Sturm. Sobald ich dann in ....01 reibgehe kommt der Absturz, kann also garnicht schauen was da drin steht.

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          ticaki Developer @Chris76e last edited by ticaki

                          @chris76e
                          Falsch verstanden. Ich muß wissen was im Object zu einem dieser DAtenpunkte steht, egal welchem. Der muß nur auf warntypegeneric enden. Und da brauche ich das common.states.

                          Ein möglicher Fix müsste online sein. Wenn du mir die Daten geben kannst, ist es vielleicht mehr als nur ein möglicher fix 🙂

                          Das das löschen der States den Fehler behebt und ich nur die warntypen erweitert habe, ist der einzige Datenpunkt dieser da oben der davon betroffen sein kann. Wenn da für 0 kein Wert ist, könnte es das Problem erklären.

                          Chris76e 1 Reply Last reply Reply Quote 0
                          • Chris76e
                            Chris76e @ticaki last edited by

                            @ticaki

                            Verstehe jetzt irgenwie garnichts mehr, um an den State heranzukommen muss ich doch in die Objekte rein, aber komm ich ja nicht mehr hin.....

                            Habe aber noch diese Meldung im log gefunden

                            admin.0
                            	2023-10-29 13:03:38.962	warn	weather-warnings has an invalid jsonConfig: [{"instancePath":"/items/_basicconfig/items/allowedDirs/type","schemaPath":"#/definitions/componentType/enum","keyword":"enum","params":{"allowedValues":["alive","autocomplete","cron","text","number","port","color","checkbox","chips","header","slider","ip","user","room","func","select","icon","image","panel","password","file","sendTo","staticText","custom","pattern","table","instance","language","setState","certificate","certificates","staticImage","staticLink","divider","objectId","selectSendTo","autocompleteSendTo","checkLicense","uuid"]},"message":"must be equal to one of the allowed values"},{"instancePath":"/items/_basicconfig","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/8/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"}]
                            
                            T 1 Reply Last reply Reply Quote 0
                            • T
                              ticaki Developer @Chris76e last edited by

                              @chris76e
                              Ok, installiere die Version von Github und hoffen wir dass es das ist was ich denke. Danke fürs testen. Das wäre mir erst heute abend aufgefallen. 🙂

                              Chris76e 1 Reply Last reply Reply Quote 0
                              • Chris76e
                                Chris76e @ticaki last edited by

                                @ticaki

                                funktioniert wieder.

                                unter warntypegeneric steht keiner(0) und bei aktiver Warnung Sturm(2)

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  ticaki Developer @Chris76e last edited by

                                  @chris76e
                                  Ich denke mal da hat vorher das keiner(0) gefehlt. So jetzt baue ich das noch in schön ein. 🙂

                                  Chris76e 1 Reply Last reply Reply Quote 0
                                  • Chris76e
                                    Chris76e @ticaki last edited by

                                    @ticaki

                                    Kannst du dann auch einbauen das wenn keine Warnung anliegt, die DP warnlevelcolorname und warnlevelcolorhex grün bekommen, ist für Vis dann einfacher....

                                    none.png

                                    wenn es jemand braucht....

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      ticaki Developer @Chris76e last edited by

                                      @chris76e
                                      Das Icon baue ich ein. Zum Rest ich gucke mal.

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        ticaki Developer last edited by

                                        Kannst du mir mal die RGB von DWD grün suchen? 🙂

                                        Chris76e 1 Reply Last reply Reply Quote 0
                                        • Chris76e
                                          Chris76e @ticaki last edited by

                                          @ticaki

                                          #c5e566

                                          T 1 Reply Last reply Reply Quote 0
                                          • T
                                            ticaki Developer @Chris76e last edited by ticaki

                                            @chris76e
                                            Ok danke,

                                            update

                                            Das war Arbeit. Jetzt wird jedes Feld in FormatedKeys mit Defaultwerten beschrieben, das sind keine Daten die man per Tokens bekommt. Datum ist 01-01-1970/01:00:00 level:0 warntype:0 Farben entsprechen der Providervorgabe. Um an die Farben zu kommen und da keine Hacks einzubauen, hab ich default datensätze erstellt und jage die beim beschreiben durch.

                                            Das gilt aktuell für 00-02 die werden immer erstellt. Max für Warnungen pro Warncelle ist 5. Das wird noch einstellbar.

                                            Desweiteren werden Objekte unter formatedKeys bei jedem Neustart auf den Stand der Dinge gebracht, so das ich da keinen Gui Error mehr habe.

                                            Bitte Testen.

                                            sigi234 Chris76e 4 Replies Last reply Reply Quote 2
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            610
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            34
                                            1074
                                            261686
                                            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