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.

    Weatherunderground - currently - hourly - daily - configurable

    Scheduled Pinned Locked Moved Utilities
    182 Posts 47 Posters 389.6k Views 51 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.
    • KimzerK Offline
      Kimzer
      last edited by

      Using a different pws worked for me. Now its all good.
      Only wondering how i can change the colors of the temperature and the weather forecast text, anyone got some custom css for it? =)

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        j.e.f.f Project Sponsor Module Developer @Kimzer
        last edited by j.e.f.f

        @Kimzer which part are you looking to change? The big temperature in current conditions? Or the min/max temps in the forecast table? Same question for the forecast text – is this the current day’s forecast (i.e.: grey text above the large current temperature) or the text within the forecast table? Also, are you using the vertical or horizontal layout? If I recall correctly, the class names change slightly with the layout. Let me know and I can get you started with the CSS.

        1 Reply Last reply Reply Quote 0
        • KimzerK Offline
          Kimzer
          last edited by Kimzer

          alt text

          The parts marked in red is what i want to change color on (Y)
          Thanks for helping j.e.f.f :)

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            j.e.f.f Project Sponsor Module Developer @Kimzer
            last edited by

            @Kimzer Try these. Adjust the color values as you like.

            For the large temperature display:

            .MMM-WunderGround .large .bright {
              color: #FFFFCC;
            }
            

            The human-readable text forecast:

            .MMM-WunderGround table.small tr:first-child td {
              color: #FFFFCC;
            }
            

            The hours in the forecast table:

            .MMM-WunderGround .hourv {
              color: #FFFFCC;
            }
            

            I applied these style to the MMM-WunderGround module and you can see how these three items are coloured the buttery colour I specified:

            0_1499261020868_Screen Shot 2017-07-05 at 9.23.23 AM.png

            F 1 Reply Last reply Reply Quote 0
            • KimzerK Offline
              Kimzer
              last edited by

              Perfect! Thanks alot! :D

              1 Reply Last reply Reply Quote 0
              • F Offline
                Fonfon @j.e.f.f
                last edited by

                @j.e.f.f How you make a table style ? i love it !

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  j.e.f.f Project Sponsor Module Developer @Fonfon
                  last edited by

                  @Fonfon That’s the default for MMM-WunderGround, using the custom styles I posted above. Here’s my config:

                      {
                          module: 'MMM-WunderGround',
                          position: 'top_right',
                          config: {
                              apikey: 'my_api_key', // private; don't share!
                              pws: 'pws:IONTORON421',
                              hourly: '1',
                              fctext: '1',
                              fcdaycount: "5",
                              fcdaystart: "0",
                              hourlyinterval: "3",
                              hourlycount: "2",
                              alerttime: 10000,
                              alerttruncatestring: "english:",
                              roundTmpDecs: 1,
                              UseCardinals: 0,
                              layout: "vertical",
                              sysstat: 0,
                              coloricon: true,
                          }
                      },
                  
                  F 1 Reply Last reply Reply Quote 0
                  • F Offline
                    Fonfon @j.e.f.f
                    last edited by

                    @j.e.f.f ok layout change i’m in a horizontale style not verticale
                    thanks man ;)

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      fredall
                      last edited by

                      Hi is it possible to combine the horizontal view for the hourly forecast and vertical for daily ?

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        maestro82
                        last edited by

                        What variables control the size of the large current weather icon and the small forecast icons? I was trying to make the current icon slightly smaller and have somehow managed to make the forecast icon micro sized. Can’t seem to get it back now.

                        Thanks,

                        M 1 Reply Last reply Reply Quote 0
                        • M Offline
                          maestro82 @maestro82
                          last edited by

                          @maestro82 Got it, a little trail and error.

                          Mykle1M 1 Reply Last reply Reply Quote 1
                          • Mykle1M Offline
                            Mykle1 Project Sponsor Module Developer @maestro82
                            last edited by

                            @maestro82 said in Weatherunderground - currently - hourly - daily - configurable:

                            Got it, a little trail and error.

                            Perhaps you’ll share what you have done so that others might benefit from your experience? :-)

                            Create a working config
                            How to add modules

                            M 1 Reply Last reply Reply Quote 0
                            • M Offline
                              maestro82 @Mykle1
                              last edited by

                              @Mykle1
                              So by playing (I do mean playing as I am a newbie) with the MMM_WunderGround.css file, discovered:

                              .MMM-WunderGround .weather-icon (is the small forecast icon)
                              I was able to adjust size by changing the width.

                              .MMM-WunderGround .currentWeatherIcon (is large symbol next to current temp)
                              I was able to adjust the width and height % to change size.

                              1 Reply Last reply Reply Quote 1
                              • Mykle1M Offline
                                Mykle1 Project Sponsor Module Developer
                                last edited by

                                Well done mate!

                                Create a working config
                                How to add modules

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  maestro82
                                  last edited by

                                  Myke1

                                  Can’t seem to figure out what controls font size of the forecasted precipitation % field. Any hints?

                                  Thanks

                                  Mykle1M 1 Reply Last reply Reply Quote 0
                                  • Mykle1M Offline
                                    Mykle1 Project Sponsor Module Developer @maestro82
                                    last edited by

                                    @maestro82 said in Weatherunderground - currently - hourly - daily - configurable:

                                    Any hints?
                                    You can play with these in your custom.css file. GO crazy!

                                    .MMM-WunderGround .weathericon {
                                      font-size: 45%;
                                      line-height: 5px;
                                      display: inline-block;
                                      -ms-transform: translate(0, -3px); /* IE 9 */
                                      -webkit-transform: translate(0, -3px); /* Safari */
                                      transform: translate(0, -3px);
                                    } 
                                    .MMM-WunderGround .day {
                                      padding-left: 0;
                                    #  padding-right: 10px;
                                    }
                                    
                                    .MMM-WunderGround .vcen {
                                       vertical-align: top;
                                    }
                                    
                                    .MMM-WunderGround .weather-icon {
                                      padding-left: 0px;
                                      text-align: center;
                                      width:50px; 
                                    }
                                    
                                    .MMM-WunderGround .max-temp {
                                      padding-left: 0px;
                                      padding-right: 0;
                                    }
                                    
                                    .MMM-WunderGround .min-temp {
                                    #  padding-left: 10px;
                                    #  padding-right: 0;
                                    }
                                    
                                    .MMM-WunderGround .forecastText {
                                    # padding-left: 10px;
                                    #  padding-right: 0;
                                    #  word-wrap: break-word;
                                    #  text-align: right;
                                    #  rowspan: 0;
                                    }
                                    
                                    .MMM-WunderGround .tableheader {
                                      font-size: 75%;
                                      text-align: center;
                                    } 
                                    
                                    .MMM-WunderGround .hour {
                                      font-size: 75%;
                                      text-align: center;
                                     } 
                                    
                                    .MMM-WunderGround .pop {
                                      font-size: 86%;
                                    } 
                                    .MMM-WunderGround .mm {
                                      font-size: 75%;
                                    } 
                                    
                                    .MMM-WunderGround .green {
                                      color: #83FFB3;
                                    }
                                    
                                    .MMM-WunderGround .yellow {
                                      color: yellow;
                                    }
                                    
                                    .MMM-WunderGround .red {
                                      color: #FF4C4C;
                                    }
                                    
                                    .MMM-WunderGround .center {
                                    	text-align: center;
                                    	padding-right: 10px; 
                                    }
                                    	
                                    .MMM-WunderGround .left {
                                    	text-align: left;
                                    }
                                    
                                    .MMM-WunderGround .lpad {
                                    	padding-left: 10px; 
                                    }
                                    
                                    .MMM-WunderGround .currentWeatherIcon {
                                      font-size: 75%;
                                      line-height: 45px;
                                      display: inline-block;
                                      -ms-transform: translate(0, -3px); /* IE 9 */
                                      -webkit-transform: translate(0, -3px); /* Safari */
                                      transform: translate(0, -3px);
                                      width: 40%;
                                      height: 40%;
                                    } 
                                    
                                    .MMM-WunderGround .forecastWeatherIcon {
                                      font-size: 75%;
                                      line-height: 65px;
                                      display: inline-block;
                                      -ms-transform: translate(0, -3px); /* IE 9 */
                                      -webkit-transform: translate(0, -3px); /* Safari */
                                      transform: translate(0, -3px);
                                      width: 50%;
                                    } 
                                    
                                    .MMM-WunderGround .moonPhaseIcon {
                                      height: 34px;
                                      vertical-align: middle;
                                    } 
                                    
                                    .MMM-WunderGround .hrDivider {
                                            font-size: 10px;
                                    }
                                    
                                    .MMM-WunderGround .sub {
                                        vertical-align: sub;
                                        font-size: smaller;
                                    }
                                    
                                    .MMM-WunderGround .smaller {
                                        font-size: 60%;
                                    }
                                    
                                    

                                    Create a working config
                                    How to add modules

                                    M 1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      maestro82 @Mykle1
                                      last edited by

                                      @Mykle1 thanx

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        maestro82
                                        last edited by

                                        Trying to tighten up my weather module.
                                        See picture.

                                        Any hints on changing those areas/fonts?

                                        Thanks0_1516485078813_IMG_6169.JPG

                                        A 1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          MrRodz
                                          last edited by

                                          Hi, I’m new to this but am trying to increase the number of icons on the horizontal view from 4 to 5. any help would be appreciated.

                                          regards

                                          1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            sek_is_back
                                            last edited by

                                            0_1517383419416_IMG_0862.JPG

                                            And at the end I need help.
                                            In the last 3days i learned a lot about css in this forum.
                                            But i didn’t find how to change the size for the Icons wind direction and speed.
                                            I found in the MMM-WunderGround.js that there should be a weather-icons-wind.css
                                            but I can’t find it.

                                            Can anyone help me how to change the size and maybe the color?

                                            A 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
                                            • 3
                                            • 4
                                            • 5
                                            • 9
                                            • 10
                                            • 2 / 10
                                            • 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