MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Warn-App NINA

    Scheduled Pinned Locked Moved Solved Requests
    25 Posts 9 Posters 9.8k Views 11 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JalibuJ Offline
      Jalibu Module Developer
      last edited by

      @v0rtex @MajorC
      Is there still a need for this?
      I just stumbled upon the Nina API (i.e. https://warnung.bund.de/api31/dashboard/082210000000.json for Heidelberg)

      It should be very easy to implement a client module for MagicMirror

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        MajorC Project Sponsor @Jalibu
        last edited by

        @jalibu that would be very cool to see on the mirror.

        1 Reply Last reply Reply Quote 0
        • JalibuJ Offline
          Jalibu Module Developer
          last edited by

          Hier mal ein erster Entwurf: https://github.com/jalibu/MMM-NINA
          An der Optik müssen wir noch Arbeiten ;-)

          Bin hier für Vorschläge (Mockups, etc) offen.

          FoziF 1 Reply Last reply Reply Quote 1
          • S Offline
            santicoia
            last edited by

            Hallo @Jalibu

            Habe dein Modul installiert und den AGS auf meine Region angepasst. Bekomme eine Fehlermeldung und config:check ergibt unexpected token ags Colume 13.

            {
                    module: "MMM-NINA",
                    position: "top_bar",
                    config: {
                        updateIntervalInSeconds: 120,
                        maxAgeInHours: 6,
                        showNoWarning: true
                        ags: "034570022022",
                    }
                },
            

            Nun habe ich entdeckt, dass es für meinen Ort unterschiedliche Angaben im Netz gibt. Unter deinem Link erhalte ich die oben eingefügte Zahl. Unter diesem Link sieht der AGS so aus 03457022. Es fehlt also scheinbar eine 0 oder bei deinem Link wäre eine zuviel. Hab ich natürlich getestet, aber egal wie eingetragen, es funzt nicht.
            Daraufhin hab ich deine Beispiel-Config von Github eingetragen und erhalte nach wie vor den selben Fehler… unexpected token ags.
            Wo liegt mein Fehler? Bin für jegliche Hilfe dankbar und danke schon mal fürs Lesen.

            Grüße
            Sandra

            JalibuJ 1 Reply Last reply Reply Quote 0
            • JalibuJ Offline
              Jalibu Module Developer @santicoia
              last edited by Jalibu

              Hallo @santicoia ,
              herzlich willkommen in der Community und danke für dein Interesse an meinen Modulen.
              In deiner config.js fehlt ein Komma nach showNoWarning:true

              Wenn man das ergänzt, dann funktioniert es bei mir wunderbar :-)

              S 1 Reply Last reply Reply Quote 1
              • S Offline
                santicoia @Jalibu
                last edited by

                @jalibu
                vielen Dank für die schnelle Hilfe. Peinlich, dabei hatte ich bestimmt 10 Mal drüber geguckt. Aber zu meiner Entlastung, das Komma fehlt auch in deinem Beispiel auf Github ;)

                JalibuJ 1 Reply Last reply Reply Quote 0
                • JalibuJ Offline
                  Jalibu Module Developer @santicoia
                  last edited by

                  @santicoia said in Warn-App NINA:

                  @jalibu
                  vielen Dank für die schnelle Hilfe. Peinlich, dabei hatte ich bestimmt 10 Mal drüber geguckt. Aber zu meiner Entlastung, das Komma fehlt auch in deinem Beispiel auf Github ;)

                  @MajorC hat es dankenswerterweise eben schon gefixt :-)

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    MajorC Project Sponsor @Jalibu
                    last edited by

                    @jalibu das war easy, das musste ich schnell abstauben :-)

                    1 Reply Last reply Reply Quote 1
                    • FoziF Offline
                      Fozi Project Sponsor @Jalibu
                      last edited by Fozi

                      @jalibu Ich habe das Modul mal am Wochenende installiert und es funktioniert. D.h., wenn ich eine Warnung auf mein Handy bekomme, sehe ich sie auch im Modul.
                      Vorschlag:

                      • Wenn keine Warnungen anliegen, sollte lediglich “Keine Warnungen” als Nachricht erscheinen in #666 statt grün und ohne Haken davor. Das würde besser zu MMM-DWDWarweather Modul passen ☺.
                      • In der config würde ich noch die header: option angeben, die man sich nach Wunsch benennen kann. Ausserdem hat man dann auch eine schöne Headline über dem Modul.

                      HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                      JalibuJ M 2 Replies Last reply Reply Quote 0
                      • JalibuJ Offline
                        Jalibu Module Developer @Fozi
                        last edited by

                        Servus @fozi,
                        könntest du hierzu auch Issues auf Github anlegen? Dann wirds nicht in Vergessenheit geraten.

                        FoziF 1 Reply Last reply Reply Quote 1
                        • FoziF Offline
                          Fozi Project Sponsor @Jalibu
                          last edited by

                          @jalibu Klar, ist schon erledigt.

                          HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                          1 Reply Last reply Reply Quote 1
                          • M Offline
                            MajorC Project Sponsor @Fozi
                            last edited by

                            @fozi said in Warn-App NINA:

                            Vorschlag:

                            • Wenn keine Warnungen anliegen, sollte lediglich “Keine Warnungen” als Nachricht erscheinen in #666 statt grün und ohne Haken davor. Das würde besser zu MMM-DWDWarweather Modul passen ☺.

                            Schnelle Lösung über custom.css:

                            /**
                             * MMM-NINA
                             */
                            .MMM-NINA .nina-wrapper .nina-alert.severity-Fine{
                              color: #666;
                            }
                            
                            FoziF 1 Reply Last reply Reply Quote 0
                            • FoziF Offline
                              Fozi Project Sponsor @MajorC
                              last edited by

                              @majorc Besten Dank! Das fiel mir auch kurz nach meinem letzt Post auch ein (hätte ich auch eher drauf kommen können). Die Meldung selbst hbe ich so gelassen und stattdessen das property noWarningText: im MMM-DWD-Warnweather angepasst. Jetzt muss ich nur noch das Häkchen loswerden ☺

                              HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                              1 Reply Last reply Reply Quote 0
                              • JalibuJ Offline
                                Jalibu Module Developer
                                last edited by

                                @sdetweil please mark this topic as “solved”.
                                => Module Forum Thread https://forum.magicmirror.builders/topic/15429/mmm-nina

                                S 1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @Jalibu
                                  last edited by sdetweil

                                  @jalibu sorry not clear

                                  you said this topic

                                  then linked another

                                  you can only select one of the posts in a topic as the one that resolves it

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  JalibuJ 1 Reply Last reply Reply Quote 0
                                  • JalibuJ Offline
                                    Jalibu Module Developer @sdetweil
                                    last edited by

                                    @sdetweil said in Warn-App NINA:

                                    @jalibu sorry not clear

                                    you said this topic

                                    then linked another

                                    This topic was a request for NINA support. As I now added a module for that, this request topic could be marked as “solved” :-)

                                    1 Reply Last reply Reply Quote 0

                                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                    With your input, this post could be even better 💗

                                    Register Login
                                    • 1
                                    • 2
                                    • 2 / 2
                                    • First post
                                      Last post
                                    Enjoying MagicMirror? Please consider a donation!
                                    MagicMirror created by Michael Teeuw.
                                    Forum managed by Sam, technical setup by Karsten.
                                    This forum is using NodeBB as its core | Contributors
                                    Contact | Privacy Policy