Install ha-map-card version v1.13.0
or above.
Then, install the plugin using one of these options:
Copy ha-map-card-buienradar.js
to the www
folder of your Home Assistance configuration.
Note: with a manual installation, the url
in the configuration should be /local/ha-map-card-buienradar.js
Add the ha-map-card custom card to your Home Assistant dashboard.
Option | Description |
---|---|
delaySeconds |
The amount of seconds between every sprite image. |
imageRange.forecast |
The amount of forecast images after the current time to fetch. |
imageRange.history |
The amount of historic images before the current time to fetch. |
imageRange.skip |
The amount of 5-minute intervals to skip between every image fetched. |
opacity |
The opacity of the image overlay. |
refreshSeconds |
The amount of seconds between fetching new image data. |
Use the following configuration as example:
type: custom:map-card
card_size: 8
focus_entity: zone.home
zoom: 7
tile_layer_url: https://basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}.png
tile_layer_attribution: >-
© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>,
© <a href="https://carto.com/attributions">CARTO</a>,
© <a href="https://www.buienradar.nl">Buienradar.nl</a>
entities:
- entity: zone.home
display: icon
size: 15
plugins:
- name: buienradar
url: /local/community/ha-map-card-buienradar/ha-map-card-buienradar.js
options:
delaySeconds: 0.75
imageRange:
forecast: 36
history: 4
skip: 0
opacity: 0.7
refreshSeconds: 300