Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
DurgNomis-drol committed Mar 10, 2021
1 parent cf753da commit 0cc3d6e
Showing 1 changed file with 49 additions and 2 deletions.
51 changes: 49 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,49 @@
# DMI_pollen
Pollen tal fra DMI
# DMI pollen integration for Home Assistant

This integration retrieves the pollen data for Danmarks Meteorologiske Institut (Denmark's governmental Weather provider).

[!] **This implementation uses an unofficial API and it may change in the future**

DMI is in the works of making all there data free via DMI open data project. This is not done yet.

## Installation

1. Download zip file and extrat it into the `custom_components` folder in your config folder. If it does not exist, then create it.
2. Add `dmi_pollen`in your `configuration.yaml` file. See below:
```yaml
sensor:
- platform: dmi_pollen
```
3. Restart your HA installation.
4. Now you should see two different sensors. `sensor.dmi_pollen_kobenhaven` and `sensor.dmi_pollen_viborg`.

Note: There is only two measurement stations in denmark. One in Københaven(Copenhagen) and one in Viborg.

## Usage

Readings are listed as attributes, and the state of the sensors is a calculated severity.
```yaml
birk: 0
bynke: 0
el: 697
elm: 0
græs: 0
hassel: 8
severity: mange
forecast: >-
For i morgen, torsdag d. 11. marts 2021, ventes et højt antal ellepollen
(flere end 50) samt et lavt antal hasselpollen (færre end 5)
applicable_date: onsdag den 10. marts 2021
source: 'Kilde: Astma-Allergi Danmark og DMI'
friendly_name: DMI Pollen Viborg
icon: 'mdi:flower-poppy'
```

## Important to know

New information is only released once a day, at about 15.00 GMT+1 (Local danish time).

## Bugs

If you run into a bug, or you have a good idea, submit a issue or even better, make a PR for it. :smile:

0 comments on commit 0cc3d6e

Please sign in to comment.