DISCLAIMER: This project is a private open source project and doesn't have any connection with Deutscher Wetterdienst.
Everything can be configured via the Homeassistant UI. See below for images.
If you like my work, I would be really happy if you buy me some coffee: Buy Me A Coffee
Please see the Wiki
The configuration is done via UI. You can add as many stations as you like. Each will appear as an individual entity in Home Assistant. You can add more stations by repeating the second step of the install instructions.
If you followed the previous steps, you should now have a weather entity inside Home Assistant which contains the weather for today and the next 4 days. To display the weather, you can use the default weather-card where you can select the DWD-weather entity you configured earlier. To add the card follow these steps:
humidity
pressure
wind_bearing
wind_speed
visibility
If you are not using the graphical interface and want to use the yaml-mode, you can add the card like this:
type: weather-forecast
entity: weather.dwd_weather_*station_name*
If you would like to change the secondary info, you have to add this line and replace pressure with whatever info you like:
secondary_info_attribute: pressure
If you want to get the regional weather report as text, you have to enable the _weatherreport sensor. For instructions on this see below at Additional sensor entities. You can then include the report in a markdown card. For this, you have to add the following template to the content field where you replace the part after sensor. with your weather station:
{{ state_attr("sensor.weather_report_homburg_bad", "data") }}
To find the correct name for the configured station, have a look at the developer tools within Home Assistant.
This integration allows you to add sensor entities with hourly forecasts for 10 days:
The sensors entities are disabled per default, as they contain a lot of data.
You can enable the ones you like in HA UI under "Configuration" -> "Entities" -> click on the filter icon on the right -> Check "Show diabled entities" -> Check the ones you like to enable -> Click "ENABLE SELECTED" at the top -> Confirm the next dialog
The sensor values will be set when the next update of dwd_weather is scheduled by Home Assistant. This is done every 15 minutes. You can skip the waiting time by reloading the component/integration or restarting HA.
Note: If you activate the option for hourly updates during setup of a weather station, DWD does not provide data for precipitation duration and probability. If this or other data is not available for a certain weather station, this component does not create sensors for it. As a workaround you can create setup the same station without activating the hourly updates option and use the slightly less acurate sensor data that is refreshed twice daily.
This integration provides also some weather charts as camera entities. They can be configured the same as a weather station.
Available data layers:
The chart can be adjusted to every region you like, however as most data is only provided for Germany, it is best used within these region.
Feel free to open an issue if you find one and I will do my best to help you. If you want to contribute, your help is appreciated! If you want to add a new feature, add a pull request first so we can chat about the details.
This integration uses 'simple_dwd_weatherforecast' to fetch weather data from Deutscher Wetterdienst (DWD). This integration is based on Open Data from DWD and based on their Licence.
This package uses public data from DWD OpenData. The Copyright can be viewed here.