Read the statement by Michael Teeuw here.
Weatherunderground - currently - hourly - daily - configurable
-
@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
-
@ostfilinchen Could you have at the wunderground payload? It’s present in your logs/console…
-
@RedNax I check this in the evening. Now I have no Mirror here at work.
-
@RedNax How can I see this logs? I just know pm2 logs, but there is nothing…
-
@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