#Extended DWD Widget

1 messages · Page 1 of 1 (latest)

cedar fable
#

Hello,
I use the dwd (German Weather Service/Deutscher Wetterdienst) integration. I have a widget in my dashboard which shows me the number of current warnings. But when I click on "Attributes" in the screenshot, I see more information like name, details, color etc..

How can I display this information directly in the dashboard?

gusty canopy
#

With a Markdown card for example.

#

Mine looks like this:

#

This is my Markdown code for it. You would have to change the region name in it and to place a DWD png icon in /www/images/dwd.png (or change that part).
https://dpaste.org/CqcFL

cedar fable
#

Thank you!

cedar fable
gusty canopy
#

Maybe a wrong region name or a missing icon.

#

And I found a typo. Replace sensorregionname by sensor_region_name in the first line.

cedar fable
#

But right now I have a warning level

gusty canopy
#

The region name has to be the first part of the warning entity name. Example:
If the warnings sensor is named sensor.hansestadt_hamburg_aktuelle_warnstufe,
the region name would be hansestadt_hamburg.

cedar fable
#

wrong city name.. its done, thank you again!

gusty canopy
#

The other display problem might be the icon I use. It might show that "broken picture", if the file is missing at the defined location.

cedar fable
#

i haven't quite figured out where to put the image. i.e. from which directory the image is searched for.

#

i now have “/config/dwd_logo.png” in the code and in the container (i use ha on docker) i have mounted the image in the folder “/config/dwd_logo.png”, but it is not displayed

gusty canopy
#

it is expected to be in /config/www/images/dwd.png

#

The first time after creating the /config/www directory, HA has to be restarted.

#

It has to be in the www directory. If you want the icon to be directly in that www directory and not an additional subdirectory, you would to change the icon location in the markdown to /local/filename

#

/config/www on the system is mapped to /local in the frontend. At least after a restart after creating that www directory