Skip to content

Integrates a Buienradar.nl rain radar overlay in the Home Assistant custom map card

License

Notifications You must be signed in to change notification settings

Kevinjil/ha-map-card-buienradar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ha-map-card Buienradar plugin

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.

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

About

Integrates a Buienradar.nl rain radar overlay in the Home Assistant custom map card

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published