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.2k 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.
    • RedNaxR Offline
      RedNax Module Developer @ostfilinchen
      last edited by

      @ostfilinchen Cannot reproduce your error. We have cloudy conditions here now and everything works fine.
      One thing i did notice when using the remote control module is that it places the icon tables in the config.js for some reason. Could you check your config? Maybe you can pm me your config section.maybe it’s some combination of settings…

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

        @RedNax I Start my mirror this afternoon in dev-mode. I will Check if I get an error. Also today i will send you my config. And yes. I Use the Remote control.

        I also have Noticed that the Module scheduler not work. But there i have to Check the dev-mode.

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

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

          Mykle1: I have to run off to work right now but I will “give it a go” as soon as I get home. I’ll let you know. Thanks for this.

          I meant to get back to you, RedNax. It’s working nicely for me, and with the help of Strawberry, I’m running it twice. Once for just the current weather, under the clock, top center, and once for just the forecast, top right. Exactly the way I wanted it.
          0_1487603561689_IMG_1761.JPG

          Create a working config
          How to add modules

          B 1 Reply Last reply Reply Quote 0
          • B Offline
            bminer1 @Mykle1
            last edited by

            @Mykle1 Can you share how you did this?

            strawberry 3.141S Mykle1M 2 Replies Last reply Reply Quote 0
            • strawberry 3.141S Offline
              strawberry 3.141 Project Sponsor Module Developer @bminer1
              last edited by

              @bminer1

              @strawberry-3.141 said in Throwing down the gauntlet:

              if someone wants to achieve the same, actually there is the module wunderground twice (center and right), but once the forecast and the other time the current weather is hidden

              .region.top.center .MMM-WunderGround table.small, //selector for forecast
              .region.top.right .MMM-WunderGround table:not(.small), //selector for current weather
              .region.top.right .MMM-WunderGround table.small td:nth-child(6) { //selector for rain amount
                display:none;
              }
              `

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

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

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

                Can you share how you did this?

                There you go. You got it from the source. (I was sleeping) Virtually every entry in my custom.css file is commented with

                /* Thanks to Strawberry 3.141 */

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 1
                • B Offline
                  bminer1 @strawberry 3.141
                  last edited by bminer1

                  @strawberry-3.141 I tried this. No luck. The full data is in both top center and top left (i have mine on the other side and replaced “right” with “left”). I put the code in both the custom.css and the wunderground.css file. I think i am missing something.

                  0_1487682692682_Screen Shot 2017-02-21 at 8.11.00 AM.png

                  strawberry 3.141S 1 Reply Last reply Reply Quote 0
                  • strawberry 3.141S Offline
                    strawberry 3.141 Project Sponsor Module Developer @bminer1
                    last edited by

                    @bminer1 can you share your wunderground config

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

                    B 1 Reply Last reply Reply Quote 0
                    • B Offline
                      bminer1 @strawberry 3.141
                      last edited by yawns

                      @strawberry-3.141
                      Here is the Config:

                      {
                      		    module: 'MMM-WunderGround',
                      		    position: 'top_left',
                      		    config: {
                      		        apikey: '', // private; don't share!
                      		        pws: 'pws:KNJMOORE3', //Chester Ave
                      			hourly: '1',
                      		        fctext: '1',
                      		        fcdaycount: "9",
                      		        fcdaystart: "1",
                      		        hourlyinterval: "3",
                      		        hourlycount: "3",
                      		        alerttime: 30000,
                      		        alerttruncatestring: "english:",
                      			roundTmpDecs: '1',
                      		    	layout: "vertical",
                      			windunits: "mph",
                      			coloricon: true,
                      		    	sysstat: 0
                      		    		}
                      		},
                      
                      strawberry 3.141S 1 Reply Last reply Reply Quote 0
                      • strawberry 3.141S Offline
                        strawberry 3.141 Project Sponsor Module Developer @bminer1
                        last edited by

                        @bminer1 your config leads to a different layout

                        .region.top.left .MMM-WunderGround div.module-content > div > :not(table),
                        .region.top.center .MMM-WunderGround div.module-content > div > table {
                        	display: none;
                        }
                        

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

                        B 1 Reply Last reply Reply Quote 1
                        • B Offline
                          bminer1 @strawberry 3.141
                          last edited by

                          @strawberry-3.141 And that worked! I swear, i have no clue what we noobs would do without you.

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

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

                            And that worked! I swear, i have no clue what we noobs would do without you.

                            Yeah, he is the bomb!

                            Create a working config
                            How to add modules

                            1 Reply Last reply Reply Quote 1
                            • C Offline
                              c502
                              last edited by

                              Absolutely the best weather module out there. Hands down.
                              As someone who went to school for meteorology, weather runs deep in my veins. I know that we are already able to grab alerts from Wundergound, but is there a way to take those alerts further? I’m not sure if this would be an entirely new module, or just an additional feature.
                              The National Weather Service already sends out XML/RSS feeds all the way down to the county level. If there was a way to “watch” that feed and check for specific alerts, then make that show up on the mirror in red lettering (or something eye-catching) with an icon to go with it (thunderstorm, tornado, etc). Perhaps even scroll in a crawl like on TV news stations. Those XML files also contains specific parts. Title (Tornado Warning), description (Tornado Warning for Jefferson County until 9:45pm), and also narrative and preparedness statement. Finally, each XML file includes an expiration time.
                              I know that would take a lot of work, but it’s just something cool that could lead to more and more implementation over the long run. National Weather Service XML - Jefferson Co., KY

                              RedNaxR 1 Reply Last reply Reply Quote 0
                              • RedNaxR Offline
                                RedNax Module Developer @c502
                                last edited by

                                @c502 Thanks!

                                The initial xml doesn’t hold all the info:

                                This atom/xml feed is an index to active advisories, watches and warnings 
                                issued by the National Weather Service.  This index file is not the complete 
                                Common Alerting Protocol (CAP) alert message.  To obtain the complete CAP 
                                alert, please follow the links for each entry in this index.  Also note the 
                                CAP message uses a style sheet to convey the information in a human readable 
                                format.  Please view the source of the CAP message to see the complete data 
                                set.  Not all information in the CAP message is contained in this index of 
                                active alerts.
                                

                                You’ll have to follow the links in the initial xml message to get the full info. You could probably use the newsfeed module as an initial startingpoint…

                                O 1 Reply Last reply Reply Quote 0
                                • A Offline
                                  anatius
                                  last edited by

                                  Hi RedNax,
                                  Love your module and am using it ever since I have my mirror. One small thing though: WUnderground currently has two identical alerts (both “type”: “WIN”) for my PWS. This leads to the identical text being shown on the module. It would be great if the module checked whether an alert with the respective type already exists and only displays the warning once… The relevant extract from WUnderground json is as follows:

                                  //	"alerts": [
                                  		{
                                  		"type": "WND",
                                  		"wtype_meteoalarm": "1",
                                  		"wtype_meteoalarm_name": "Wind",
                                  		"level_meteoalarm": "2",
                                  		"level_meteoalarm_name": "Yellow",
                                  		"level_meteoalarm_description": "The weather is potentially dangerous. The weather phenomena that have been forecast are not unusual, but be attentive if you intend to practice activities exposed to meteorological risks. Keep informed about the expected meteorological conditions and do not take any avoidable risk.",
                                  		"description": "Potential disruption due to wind from 5:22PM CET SAT until 11:59PM CET SAT",
                                  		"date": "2017-02-25 17:24:18 GMT",
                                  		"date_epoch": "NA",
                                  		"expires": "2017-02-25 22:59:00 GMT",
                                  		"expires_epoch": "NA",
                                  		"message": "Potential disruption due to wind from 5:22PM CET SAT until 11:59PM CET SAT)",
                                  		"phenomena": "NA",
                                  		"significance": "NA",
                                  		"attribution": "Information provided by , <a href="http://meteoalarm.eu/">EUMETNET - MeteoAlarm</a> Note: Time delays between this website and <a href="http://meteoalarm.eu/">Meteoalarm.eu</a> are possible. For the most up-to-date information about alert levels as published by the participating National Meteorological Services, please visit <a href="http://meteoalarm.eu/">Meteoalarm</a>. For terms of use of this information, and copyright information, see <a href="http://meteoalarm.eu/">Meteoalarm</a> Terms of Use."
                                  		}
                                  		,
                                  		{
                                  		"type": "WIN",
                                  		"wtype_meteoalarm": "2",
                                  		"wtype_meteoalarm_name": "Snow/Ice",
                                  		"level_meteoalarm": "2",
                                  		"level_meteoalarm_name": "Yellow",
                                  		"level_meteoalarm_description": "The weather is potentially dangerous. The weather phenomena that have been forecast are not unusual, but be attentive if you intend to practice activities exposed to meteorological risks. Keep informed about the expected meteorological conditions and do not take any avoidable risk.",
                                  		"description": "Potential disruption due to snow and ice from 8PM CET FRI until 9AM CET SAT",
                                  		"date": "2017-02-25 01:00:00 GMT",
                                  		"date_epoch": "NA",
                                  		"expires": "2017-02-25 08:00:00 GMT",
                                  		"expires_epoch": "NA",
                                  		"message": "Potential disruption due to snow and ice from 8PM CET FRI until 9AM CET SAT)",
                                  		"phenomena": "NA",
                                  		"significance": "NA",
                                  		"attribution": "Information provided by , <a href="http://meteoalarm.eu/">EUMETNET - MeteoAlarm</a> Note: Time delays between this website and <a href="http://meteoalarm.eu/">Meteoalarm.eu</a> are possible. For the most up-to-date information about alert levels as published by the participating National Meteorological Services, please visit <a href="http://meteoalarm.eu/">Meteoalarm</a>. For terms of use of this information, and copyright information, see <a href="http://meteoalarm.eu/">Meteoalarm</a> Terms of Use."
                                  		}
                                  		,
                                  		{
                                  		"type": "WIN",
                                  		"wtype_meteoalarm": "6",
                                  		"wtype_meteoalarm_name": "Extreme low temperature",
                                  		"level_meteoalarm": "2",
                                  		"level_meteoalarm_name": "Yellow",
                                  		"level_meteoalarm_description": "The weather is potentially dangerous. The weather phenomena that have been forecast are not unusual, but be attentive if you intend to practice activities exposed to meteorological risks. Keep informed about the expected meteorological conditions and do not take any avoidable risk.",
                                  		"description": "Potential disruption due to extreme low temperatures from 8PM CET FRI until 9AM CET SAT",
                                  		"date": "2017-02-25 01:00:00 GMT",
                                  		"date_epoch": "NA",
                                  		"expires": "2017-02-25 08:00:00 GMT",
                                  		"expires_epoch": "NA",
                                  		"message": "Potential disruption due to extreme low temperatures from 8PM CET FRI until 9AM CET SAT)",
                                  		"phenomena": "NA",
                                  		"significance": "NA",
                                  		"attribution": "Information provided by , <a href="http://meteoalarm.eu/">EUMETNET - MeteoAlarm</a> Note: Time delays between this website and <a href="http://meteoalarm.eu/">Meteoalarm.eu</a> are possible. For the most up-to-date information about alert levels as published by the participating National Meteorological Services, please visit <a href="http://meteoalarm.eu/">Meteoalarm</a>. For terms of use of this information, and copyright information, see <a href="http://meteoalarm.eu/">Meteoalarm</a> Terms of Use."
                                  		}
                                  	]``
                                  1 Reply Last reply Reply Quote 0
                                  • O Offline
                                    ostfilinchen @RedNax
                                    last edited by

                                    @RedNax is it possible to disable these weatherwarnings?

                                    strawberry 3.141S 1 Reply Last reply Reply Quote 0
                                    • strawberry 3.141S Offline
                                      strawberry 3.141 Project Sponsor Module Developer @ostfilinchen
                                      last edited by

                                      @ostfilinchen try config option show_popup: false

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

                                      O 1 Reply Last reply Reply Quote 0
                                      • O Offline
                                        ostfilinchen @strawberry 3.141
                                        last edited by

                                        @strawberry-3.141 i don’t mean an popup. I mean the weatherwarnings in the module

                                        strawberry 3.141S 1 Reply Last reply Reply Quote 0
                                        • strawberry 3.141S Offline
                                          strawberry 3.141 Project Sponsor Module Developer @ostfilinchen
                                          last edited by

                                          @ostfilinchen the alerttext gets prepended to the forecasttext in this if statement https://github.com/RedNax67/MMM-WunderGround/blob/master/MMM-WunderGround.js#L912 you can only disable the forecasttext in complete but not the alert only. For this you have to try to get a working css selector and apply the rule display:none;

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

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

                                            The yellow warning “strong wind” shows the whole time. How can i disable this warning?

                                            0_1488190717436_11.jpg

                                            O 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
                                            • 3 / 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