ha-map-card Buienradar plugin

January 26, 2025 ยท View on GitHub

image

Installation

Install ha-map-card version v1.13.0 or above. Then, install the plugin using one of these options:

HACS

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

Manual

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

Configuration

Add the ha-map-card custom card to your Home Assistant dashboard.

OptionDescription
delaySecondsThe amount of seconds between every sprite image.
imageRange.forecastThe amount of forecast images after the current time to fetch.
imageRange.historyThe amount of historic images before the current time to fetch.
imageRange.skipThe amount of 5-minute intervals to skip between every image fetched.
opacityThe opacity of the image overlay.
refreshSecondsThe 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: >-
  &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>,
  &copy; <a href="https://carto.com/attributions">CARTO</a>,
  &copy; <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