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.

    MMM-DWD-WarnWeather - Wetterwarnungen

    Scheduled Pinned Locked Moved Utilities
    62 Posts 27 Posters 63.3k Views 28 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.
    • LukeCodewalkerL Offline
      LukeCodewalker Module Developer @ostfilinchen
      last edited by

      @ostfilinchen : done =)

      1 Reply Last reply Reply Quote 0
      • LukeCodewalkerL Offline
        LukeCodewalker Module Developer
        last edited by

        So that’s how it looks now.
        0_1478962905896_screenshot.png

        1 Reply Last reply Reply Quote 1
        • O Offline
          ostfilinchen
          last edited by

          Thanks! Great job

          1 Reply Last reply Reply Quote 0
          • LukeCodewalkerL Offline
            LukeCodewalker Module Developer
            last edited by

            I made some small changes to the formatting of the date. It now looks like this:
            0_1479147474217_screenshot.png

            1 Reply Last reply Reply Quote 0
            • T Offline
              tajno
              last edited by

              Nice work and thanks for shareing!

              Does the german wheater forecast provide an API? Are those warnings for a special region or a general broadcast for your state (Bundesland)?

              I think I have look if the Swiss guys does too, usually they provide alot of datas (ch opendata) - Need those warnings too, especially for snow/icy conditions :).

              LukeCodewalkerL 1 Reply Last reply Reply Quote 0
              • LukeCodewalkerL Offline
                LukeCodewalker Module Developer @tajno
                last edited by

                Hey @tajno,
                they don’t really provide an API. I did a bit of reverse engineering on their website and found that you can get a JSON file with all the warnings for Germany for a specific time.
                This JSON contains warnings for all regions (Landkreise) of Germany.
                If you find an API for Switzerland I can help you to implement it.

                J 1 Reply Last reply Reply Quote 1
                • J Offline
                  Jopyth Moderator @LukeCodewalker
                  last edited by Jopyth

                  @LukeCodewalker Very interesting module, will you add this to the wiki as well?

                  Also why did you make a custom header? Wouldn’t it be better to use the default header functionality?

                  Helpful sticky: How to troubleshoot

                  LukeCodewalkerL 1 Reply Last reply Reply Quote 1
                  • LukeCodewalkerL Offline
                    LukeCodewalker Module Developer @Jopyth
                    last edited by

                    @Jopyth Thank you. Yes I will add it.
                    Sure I will fix it soon.

                    1 Reply Last reply Reply Quote 1
                    • LukeCodewalkerL Offline
                      LukeCodewalker Module Developer
                      last edited by

                      @weedorbeat good idea. I’ll put that on my list.

                      1 Reply Last reply Reply Quote 0
                      • LukeCodewalkerL Offline
                        LukeCodewalker Module Developer
                        last edited by

                        @weedorbeat hey,
                        do you have an idea, how the warnings should show for which region they are? Just making a header for each region would not be very nice in my opinion. My first idea was to put the region in brackets behind the warning. But i definitely want to keep the appearance of the module very simple/small. Another thing I want to implement is the starting altitude of the warning (like “Schneefall ab 400m”). But there i have the same problem: I don’t had an idea how to display it with keeping the module looking nice.

                        strawberry 3.141S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 2 / 7
                        • 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