-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf753da
commit 0cc3d6e
Showing
1 changed file
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|