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.
    • 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
                • O Offline
                  ostfilinchen @trividar
                  last edited by

                  @trividar Same thing Here but with 3 Warnings

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

                    @ostfilinchen And you’re certain the warning isn’t present in the wunderground payload?

                    Mine shows three because the payload has three warnings:

                    0_1488202611473_upload-a8dda26e-b296-4900-91c7-6ae6fa233148

                    	"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": "Severe gusts of 80-90 km/h.BE AWARE of debris being blown around. Localised outdoor activity disruption is possible due to debris.>",
                    		"date": "1970-01-01 00:00:00 GMT",
                    		"date_epoch": "NA",
                    		"expires": "2017-02-23 23:59:00 GMT",
                    		"expires_epoch": "NA",
                    		"message": "Severe gusts of 80-90 km/h.BE AWARE of debris being blown around. Localised outdoor activity disruption is possible due to debris.>)",
                    		"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 6AM CET SAT until 8:59AM CET SAT",
                    		"date": "2017-02-25 06:28:03 GMT",
                    		"date_epoch": "NA",
                    		"expires": "2017-02-25 07:59:00 GMT",
                    		"expires_epoch": "NA",
                    		"message": "Potential disruption due to snow and ice from 6AM CET SAT until 8:59AM 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": "WRN",
                    		"wtype_meteoalarm": "3",
                    		"wtype_meteoalarm_name": "Thunderstorms",
                    		"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 thunderstorms from 4PM CET MON until 9:59PM CET MON",
                    		"date": "2017-02-27 11:46:02 GMT",
                    		"date_epoch": "NA",
                    		"expires": "2017-02-27 20:59:00 GMT",
                    		"expires_epoch": "NA",
                    		"message": "Potential disruption due to thunderstorms from 4PM CET MON until 9:59PM CET MON)",
                    		"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."
                    		}
                    	]
                    
                    O 1 Reply Last reply Reply Quote 0
                    • O Offline
                      ostfilinchen @RedNax
                      last edited by

                      @RedNax I don’t know, But the dwd warningmodule doesn’t Show any warnings. And btw the warnings are since friday there

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

                        @ostfilinchen Could you have at the wunderground payload? It’s present in your logs/console…

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

                          @RedNax I check this in the evening. Now I have no Mirror here at work.

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

                            @RedNax How can I see this logs? I just know pm2 logs, but there is nothing…

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

                              @ostfilinchen There appears to be an issue at weather underground. Just noticed that all but one warnings have expired already. Usually they wouldn’t be present in the api payload when expired. I’ll have to start checking for expiration in the code…

                              Update: new version now checks alert expiration

                              1 Reply Last reply Reply Quote 0
                              • yawnsY Offline
                                yawns Moderator
                                last edited by

                                I installed your module some days ago and I really like it. The only thing I don’t like is its verboseness in both the browsers log (module) and the console (node_helper). I commented out most of the Log.info() lines, which of course will bring some trouble once you release an update.
                                Maybe you could add a config option “quiet” (or something similar) for guys like me who like to keep logs clean? :innocent:

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

                                  Has anyone ran into an issue with the wind speeds? The wind speeds shown in the forecast do not match that of the forecast on the Wunderground site. The wind speed displayed is always higher than the real forecast found on the main site. It has been as much as 20mph over the forecasted speed.
                                  Ex: The forecast tomorrow calls for wind of 20mph on the module while the Wunderground site has 13mph.
                                  I am using the rounded numbers to round off the temperature (have had no issues there).
                                  It’s not a huge deal, however just one of those annoying little things.

                                  0_1489033897945_IMG_4949.PNG

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

                                    @c502 maybe a unit problem? 13mp/h ~ 20km/h

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

                                    C 1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      c502 @strawberry 3.141
                                      last edited by

                                      @strawberry-3.141 I’ve checked that also. Everything appears to be in order.

                                      1 Reply Last reply Reply Quote 0
                                      • N Offline
                                        nevint
                                        last edited by

                                        Noob issue here. How do I update the program? I get an alert saying to update wunderground, but I don’t know how to do that!

                                        cowboysdudeC 1 Reply Last reply Reply Quote 0
                                        • cowboysdudeC Offline
                                          cowboysdude Module Developer @nevint
                                          last edited by

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

                                          Noob issue here. How do I update the program? I get an alert saying to update wunderground, but I don’t know how to do that!

                                          In a terminal window go to :

                                          MagicMirror/modules/wunderground

                                          Then type:

                                          git pull

                                          That should update it.

                                          1 Reply Last reply Reply Quote 0
                                          • K Offline
                                            kasperb @RedNax
                                            last edited by

                                            @RedNax I’ve tried changing this in the main MMM-WunderGround CSS and custom CSS, but neither seem to affect the font size. (note that my goal is to increase the font size):

                                            .MMM-WunderGround .smaller {
                                                font-size: 80%;
                                            }
                                            

                                            and

                                            .MMM-WunderGround .smaller { font-size: 80%; }
                                            

                                            Any guidance would be appreciated.

                                            strawberry 3.141S 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
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 7 / 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