• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 59.9k 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.
  • O Offline
    ostfilinchen @LukeCodewalker
    last edited by ostfilinchen Nov 12, 2016, 11:17 AM Nov 12, 2016, 11:08 AM

    @LukeCodewalker: it’s better but always the width is to great.

    0_1478948885625_20161112_114922_b.jpg

    And now, no warnings would be loaded. It stops with “Warnungen werden geladen”. It must Display “keine Warnungen”, because there’re no warnings.

    L 1 Reply Last reply Nov 12, 2016, 12:09 PM Reply Quote 0
    • L Offline
      LukeCodewalker Module Developer @ostfilinchen
      last edited by Nov 12, 2016, 12:09 PM

      @ostfilinchen : ok, now everything should be fine.
      could you please check that?
      Thanks for your help =)

      1 Reply Last reply Reply Quote 0
      • O Offline
        ostfilinchen
        last edited by ostfilinchen Nov 12, 2016, 12:36 PM Nov 12, 2016, 12:17 PM

        now it Looks good. One Correction please. Can u Change the Headline to the Standard like calender and so on? In the pic of my post i mean the Headline “1. Bundesliga 2016/2017”.

        I have commented out line 56-60 in MMM-DWD-WarnWeather.js. And in my custom.css i add these lines:

        .MMM-DWD-WarnWeather div.displaytitle {
        text-transform: uppercase;
        font-size: 15px;
        font-family: “Roboto Condensed”;
        border-bottom: 1px solid #666;
        line-height: 15px;
        padding-bottom: 5px;
        margin-bottom: 10px;
        color: white;

        L L 2 Replies Last reply Nov 12, 2016, 1:00 PM Reply Quote 0
        • L Offline
          LukeCodewalker Module Developer @ostfilinchen
          last edited by Nov 12, 2016, 1:00 PM

          @ostfilinchen : done =)

          1 Reply Last reply Reply Quote 0
          • L Offline
            LukeCodewalker Module Developer
            last edited by Nov 12, 2016, 3:01 PM

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

            1 Reply Last reply Reply Quote 1
            • O Offline
              ostfilinchen
              last edited by Nov 12, 2016, 3:04 PM

              Thanks! Great job

              1 Reply Last reply Reply Quote 0
              • L Offline
                LukeCodewalker Module Developer
                last edited by Nov 14, 2016, 6:17 PM

                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 Nov 14, 2016, 7:51 PM

                  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 :).

                  L 1 Reply Last reply Nov 14, 2016, 7:59 PM Reply Quote 0
                  • L Offline
                    LukeCodewalker Module Developer @tajno
                    last edited by Nov 14, 2016, 7:59 PM

                    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 Nov 15, 2016, 4:21 PM Reply Quote 1
                    • J Offline
                      Jopyth Moderator @LukeCodewalker
                      last edited by Jopyth Nov 15, 2016, 4:22 PM Nov 15, 2016, 4:21 PM

                      @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

                      L 1 Reply Last reply Nov 15, 2016, 6:47 PM Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 1 / 7
                      1 / 7
                      • First post
                        10/62
                        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