dwd_weather

Deutscher Wetterdienst integration for Home-Assistant

https://github.com/fl550/dwd_weather

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.1%) to scientific vocabulary

Keywords

deutscher-wetterdienst dwd dwd-weather hacs hass home-assistant homeassistant weather weather-entity weather-forecast
Last synced: 9 months ago · JSON representation

Repository

Deutscher Wetterdienst integration for Home-Assistant

Basic Info
  • Host: GitHub
  • Owner: FL550
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 2.01 MB
Statistics
  • Stars: 251
  • Watchers: 3
  • Forks: 18
  • Open Issues: 8
  • Releases: 91
Topics
deutscher-wetterdienst dwd dwd-weather hacs hass home-assistant homeassistant weather weather-entity weather-forecast
Created almost 6 years ago · Last pushed 10 months ago
Metadata Files
Readme Funding License

README.md

GitHub Release releases releases License hacs Community Forum BuyMeCoffee

DISCLAIMER: This project is a private open source project and doesn't have any connection with Deutscher Wetterdienst.

Features

  • Forecast
    • Daily and hourly, fully integrated into HA weather cards with daily min and max
    • Provides condition, temperature, pressure, humidity, wind speed and visibility
  • Weather reports
  • Weather Charts
    • Precipitation radar loop
    • Maximum feels like Temperature
    • UV-Index
    • Pollen
    • Satellite RGB
    • Satellite IR
    • Warnungen Gemeinden
    • Warnungen Kreise
  • Additional hourly sensors
    • Temperature
    • Dewpoint
    • Pressure
    • Wind speed
    • Wind direction
    • Wind gusts
    • Precipitation
    • Precipitation probability
    • Precipitation duration
    • Cloud coverage
    • Visibility
    • Sun duration
    • Sun irradiance
    • Fog probability
    • Absolute humidity

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


Frequently asked questions (FAQ)

Please see the Wiki


Screenshot Weather Card

Screenshot Weather Details

Screenshot Precipitation Chart

Installation

  1. Install integration via HACS or use the button below.

Open your Home Assistant instance and open this repository inside the Home Assistant Community Store.

  1. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "Deutscher Wetterdienst" or "DWD" or use the button below. You can repeat this for as many stations as you like.

Open your Home Assistant instance and start setting up this integration.

  1. Follow the setup instructions.

Configuration

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.

Usage

Lovelace mode

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:

  1. Go to the view where you would like to a the weather card.
  2. Click on the three dots at the top right corner.
  3. Select "Edit Dashboard".
  4. Click on the round button with the "plus"-symbol.
  5. Pick the "Weather Forecast" card.
  6. In the following configuration dialog, choose the weather entity you need.
  7. If you would like to display the forecast, check the corresponding slider.
  8. Per default the info displayed below the current temperature are the temperature extrema for this day. If if would like to change this, you can enter the following in the field "Secondary Info Attribute":
    • humidity
    • pressure
    • wind_bearing
    • wind_speed
    • visibility
  9. Click on "Save" and voila, you have your own DWD weather forecast.
  10. Finally if you like my work, I would be very happy if you buy me a coffee. :)

YAML mode

If you are not using the graphical interface and want to use the yaml-mode, you can add the card like this:

yaml 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:

yaml secondary_info_attribute: pressure

Weather report

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:

yaml {{ 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.

Additional sensor entities

These are only needed when you want hourly forecast data or a weather report. Daily values are included in the weather entity!

This integration allows you to add sensor entities with hourly forecasts for 10 days:

  • Weather condition
  • Weather report as text
  • Temperature
  • Dewpoint
  • Pressure
  • Wind Speed
  • Wind Direction
  • Wind Gusts
  • Precipitation
  • Precipitation Probability
  • Precipitation Duration
  • Cloud Coverage
  • Visibility
  • Sun Duration
  • Sun Irradiance
  • Fog Probability
  • Humidity
  • Absolute humidity

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.

Weather charts

This integration provides also some weather charts as camera entities. They can be configured the same as a weather station.

Available data layers: - Precipitation radar - Maximum feels like Temperature - UV-Index - Pollen - Satellite RGB - Satellite IR - Warnungen Gemeinden - Warnungen Kreise

Precipitation Chart

Screenshot Precipitation Chart

Pollen Chart

Screenshot Pollen Chart

Alerts Chart

Screenshot Alerts Chart

Custom Chart

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.

Screenshot Alerts Chart

Help and Contribution

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.

Licenses

This integration uses 'simpledwdweatherforecast' 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.


Owner

  • Login: FL550
  • Kind: user
  • Location: Frankfurt

GitHub Events

Total
  • Create event: 26
  • Commit comment event: 1
  • Release event: 20
  • Issues event: 88
  • Watch event: 46
  • Issue comment event: 303
  • Push event: 40
  • Pull request review event: 1
  • Gollum event: 1
  • Pull request event: 9
  • Fork event: 6
Last Year
  • Create event: 26
  • Commit comment event: 1
  • Release event: 20
  • Issues event: 88
  • Watch event: 46
  • Issue comment event: 303
  • Push event: 40
  • Pull request review event: 1
  • Gollum event: 1
  • Pull request event: 9
  • Fork event: 6

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 258
  • Total Committers: 15
  • Avg Commits per committer: 17.2
  • Development Distribution Score (DDS): 0.422
Past Year
  • Commits: 112
  • Committers: 7
  • Avg Commits per committer: 16.0
  • Development Distribution Score (DDS): 0.205
Top Committers
Name Email Commits
FL550 m****r@g****m 149
FL550 g****4@p****m 89
Max g****b@m****e 4
Lars f****n 2
nepozs 5****s 2
felix schwenzel d****x@g****m 2
Christos Baltatzidis 6****e 2
lbrandh 8****h 1
chris 6****w 1
Volker Thiel 5****9 1
Lars Schneider l****r@g****m 1
Jeremiah 4****s 1
Daniel Tschinder 2****z 1
Ben b****b 1
Kim k****m@k****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 173
  • Total pull requests: 26
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 7 days
  • Total issue authors: 129
  • Total pull request authors: 13
  • Average comments per issue: 5.07
  • Average comments per pull request: 0.88
  • Merged pull requests: 23
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 62
  • Pull requests: 13
  • Average time to close issues: 15 days
  • Average time to close pull requests: about 14 hours
  • Issue authors: 55
  • Pull request authors: 6
  • Average comments per issue: 5.06
  • Average comments per pull request: 0.92
  • Merged pull requests: 10
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • GerdRuetten (6)
  • Qhilm (6)
  • elcajon (5)
  • jf-64 (4)
  • FL550 (4)
  • michapr (4)
  • VDRainer (3)
  • Steffen06 (3)
  • bcutter (3)
  • csoltenborn (3)
  • Jpsy (2)
  • microraptor (2)
  • LuckyTriple7 (2)
  • anticharm01 (2)
  • holger-dunst (2)
Pull Request Authors
  • elcajon (6)
  • flabbamann (3)
  • nepozs (2)
  • larsxschneider (2)
  • diplix (2)
  • danez (2)
  • tribut (2)
  • jeremiahpslewis (2)
  • iw0nderhow (1)
  • lbrandh (1)
  • Lemocin (1)
  • riker09 (1)
  • Chreece (1)
Top Labels
Issue Labels
done (17) in progress (10) enhancement (5) waiting (5) unrelated (4) bug (3) help wanted/needed (2) wontfix (1) waiting for answer (1)
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads: unknown
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 162
proxy.golang.org: github.com/fl550/dwd_weather
  • Versions: 81
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 9 months ago
proxy.golang.org: github.com/FL550/dwd_weather
  • Versions: 81
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 9 months ago