Read the statement by Michael Teeuw here.
MMM-DWD-WarnWeather - Wetterwarnungen
-
@LukeCodewalker: it’s better but always the width is to great.
And now, no warnings would be loaded. It stops with “Warnungen werden geladen”. It must Display “keine Warnungen”, because there’re no warnings.
-
@ostfilinchen : ok, now everything should be fine.
could you please check that?
Thanks for your help =) -
now it Looks good. One Correction please. Can u Change the Headline to the Standard like calender and so on? In the pic of my post i mean the Headline “1. Bundesliga 2016/2017”.
I have commented out line 56-60 in MMM-DWD-WarnWeather.js. And in my custom.css i add these lines:
.MMM-DWD-WarnWeather div.displaytitle {
text-transform: uppercase;
font-size: 15px;
font-family: “Roboto Condensed”;
border-bottom: 1px solid #666;
line-height: 15px;
padding-bottom: 5px;
margin-bottom: 10px;
color: white; -
@ostfilinchen : done =)
-
So that’s how it looks now.
-
Thanks! Great job
-
I made some small changes to the formatting of the date. It now looks like this:
-
Nice work and thanks for shareing!
Does the german wheater forecast provide an API? Are those warnings for a special region or a general broadcast for your state (Bundesland)?
I think I have look if the Swiss guys does too, usually they provide alot of datas (ch opendata) - Need those warnings too, especially for snow/icy conditions :).
-
Hey @tajno,
they don’t really provide an API. I did a bit of reverse engineering on their website and found that you can get a JSON file with all the warnings for Germany for a specific time.
This JSON contains warnings for all regions (Landkreise) of Germany.
If you find an API for Switzerland I can help you to implement it. -
@LukeCodewalker Very interesting module, will you add this to the wiki as well?
Also why did you make a custom header? Wouldn’t it be better to use the default header functionality?