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

Weatherunderground - currently - hourly - daily - configurable

Scheduled Pinned Locked Moved Utilities
182 Posts 47 Posters 316.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.
  • O Offline
    ostfilinchen @strawberry 3.141
    last edited by Feb 26, 2017, 10:44 AM

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

    S 1 Reply Last reply Feb 26, 2017, 12:02 PM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @ostfilinchen
      last edited by Feb 26, 2017, 12:02 PM

      @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 Feb 27, 2017, 10:21 AM Feb 27, 2017, 10:21 AM

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

        0_1488190717436_11.jpg

        O 1 Reply Last reply Feb 27, 2017, 1:23 PM Reply Quote 0
        • O Offline
          ostfilinchen @trividar
          last edited by Feb 27, 2017, 1:23 PM

          @trividar Same thing Here but with 3 Warnings

          R 1 Reply Last reply Feb 27, 2017, 1:30 PM Reply Quote 0
          • R Offline
            RedNax Module Developer @ostfilinchen
            last edited by RedNax Feb 27, 2017, 1:37 PM Feb 27, 2017, 1:30 PM

            @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 Feb 27, 2017, 1:36 PM Reply Quote 0
            • O Offline
              ostfilinchen @RedNax
              last edited by Feb 27, 2017, 1:36 PM

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

              R 1 Reply Last reply Feb 27, 2017, 1:38 PM Reply Quote 0
              • R Offline
                RedNax Module Developer @ostfilinchen
                last edited by Feb 27, 2017, 1:38 PM

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

                O 1 Reply Last reply Feb 27, 2017, 1:40 PM Reply Quote 0
                • O Offline
                  ostfilinchen @RedNax
                  last edited by Feb 27, 2017, 1:40 PM

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

                  R 1 Reply Last reply Feb 27, 2017, 2:06 PM Reply Quote 0
                  • T Offline
                    trividar
                    last edited by Feb 27, 2017, 2:06 PM

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

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      RedNax Module Developer @ostfilinchen
                      last edited by RedNax Feb 27, 2017, 4:18 PM Feb 27, 2017, 2:06 PM

                      @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
                      • 1
                      • 2
                      • 12
                      • 13
                      • 14
                      • 15
                      • 16
                      • 17
                      • 18
                      • 19
                      • 14 / 19
                      14 / 19
                      • First post
                        133/182
                        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