Read the statement by Michael Teeuw here.
Weatherunderground - currently - hourly - daily - configurable
-
@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…
-
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." } ]``
-
@RedNax is it possible to disable these weatherwarnings?
-
@ostfilinchen try config option
show_popup: false
-
@strawberry-3.141 i don’t mean an popup. I mean the weatherwarnings in the module
-
@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;
-
The yellow warning “strong wind” shows the whole time. How can i disable this warning?
-
@trividar Same thing Here but with 3 Warnings
-
@ostfilinchen And you’re certain the warning isn’t present in the wunderground payload?
Mine shows three because the payload has three warnings:
"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." } ]
-
@RedNax I don’t know, But the dwd warningmodule doesn’t Show any warnings. And btw the warnings are since friday there