• 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.4k 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.
  • L Offline
    LukeCodewalker Module Developer @Jopyth
    last edited by Nov 15, 2016, 6:47 PM

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

    1 Reply Last reply Reply Quote 1
    • L Offline
      LukeCodewalker Module Developer
      last edited by Nov 15, 2016, 9:05 PM

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

      1 Reply Last reply Reply Quote 0
      • L Offline
        LukeCodewalker Module Developer
        last edited by Nov 16, 2016, 6:49 AM

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

        S 1 Reply Last reply Nov 16, 2016, 4:52 PM Reply Quote 0
        • S Offline
          strawberry 3.141 Project Sponsor Module Developer @LukeCodewalker
          last edited by Nov 16, 2016, 4:52 PM

          @LukeCodewalker to display different things in a module, i implemented kind of caroussels in a couple of my modules to show only one part per time interval e.g. 20 seconds. this will result in a small display but can handle a lot of informations. in the develop branch is a new feature to extend the header defined by the user with custom values. you could add there the region.

          Please create a github issue if you need help, so I can keep track

          1 Reply Last reply Reply Quote 0
          • L Offline
            LukeCodewalker Module Developer
            last edited by Nov 16, 2016, 7:33 PM

            Ok now it looks like this:
            0_1479324527521_screenshot.png
            It’s using the default header functionality now.
            To have more than one region you have to put the module two times in your config like

            {
            	module: 'MMM-DWD-WarnWeather',
            	position: 'bottom_left',
            	header: 'Oberbergischer Kreis',
            	config: {
            		region: 'Oberbergischer Kreis',
            		changeColor: true,
            		interval: 10*60*1000
            	}
            },
            {
            	module: 'MMM-DWD-WarnWeather',
            	position: 'bottom_left',
            	header: 'Kreis Deggendorf',
            	config: {
            		region: 'Kreis Deggendorf',
            		changeColor: true,
            		interval: 10*60*1000
            	}
            }
            
            1 Reply Last reply Reply Quote 0
            • M Offline
              Matthes0815
              last edited by Nov 18, 2016, 11:41 AM

              Hey,

              nice work, great addition to my setup, thank you!

              I currently have two problems.
              When there are two notifications, the second one is indented (can’t make a screenshot right now, sorry).
              And on Firefox (I usually open the mm on my pc, too) the symbols are really, really large: .sprite_sturm has a size of 256x256px, this could be a little bit smaller… I guess Firefox handles the css different, on the mirror they have the right size.

              0_1479468868193_dwd.jpg

              L 1 Reply Last reply Nov 19, 2016, 7:40 AM Reply Quote 0
              • L Offline
                LukeCodewalker Module Developer @Matthes0815
                last edited by Nov 19, 2016, 7:40 AM

                @Matthes0815 Thank you.
                I will have a look over that, when I got some time.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Matthes0815
                  last edited by Nov 19, 2016, 8:42 PM

                  You’re welcome… take your time, it’s not really a problem.

                  Here now a photo of the indented warnings:

                  0_1479588125181_dwd2.jpg

                  L 1 Reply Last reply Nov 20, 2016, 3:34 PM Reply Quote 0
                  • T Offline
                    thk
                    last edited by Nov 20, 2016, 2:32 PM

                    @LukeCodewalker
                    Great module, thanks a lot!

                    Having the same issue on Firefox with the icon size as Matthes0815.
                    Also the warnings are shown twice.
                    I´ve setup the config to poll DWD warnings for my region (Landkreis), any idea why this happens?

                    0_1479651787580_DWD.png

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

                      Ok. Firefox bug should be fixed now.
                      Maybe you see the warning twice because DWD is having it twice on their website?
                      For further issues please use the new Trubleshooting thread. Thank you.

                      T 1 Reply Last reply Nov 20, 2016, 4:25 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 2 / 7
                      2 / 7
                      • First post
                        20/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