Skip to content
Home assistant custom camera platform for NWS radar loops
Python
Branch: master
Clone or download
Latest commit 30f92ad Sep 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
custom_components/nwsradar fix not adding entity and using incorrect Class Jul 25, 2019
LICENSE OS license Jul 7, 2019
README.md Component to integration Sep 6, 2019
hacs.json Add hacs.json Sep 23, 2019
info.md Add more information about dependencies to info.md Sep 6, 2019

README.md

nwsradar

Custom integration for short range NWS radar loops for Home Assistant. Radar stations can be found by clicking on this map.

hacs_badge

Installation

  • This custom integration can be installed and managed using HACS.
  • If you want to manually install, place files in the custom_components/nwsradar/ folder into path/to/haconfig/custom_components/nwsradar/

⚠️ Required Dependencies for Installation

There are system image library dependencies for the python Pillow package that may be required. Here are some reported by users:

  • A jpeg library dependency, libjpeg-dev, libjpeg-turbo or similar, that needs to be separately installed via sudo apt-get install libjpeg-turbo. See here for report. You will get an error message like this otherwise: ImportError: libopenjp2.so.7: cannot open shared object file: No such file or directory.
  • A tiff library dependency, libtiff5 or similar, that needs to be separately installed via sudo apt-get install libtiff5. See here for report. You will get an error message like this otherwise: ImportError: libtiff.so.5: cannot open shared object file: No such file or directory.

Sample configuration

camera:
  - platform: nwsradar
    station: VWX

radar

Change log

  • 0.3.0
    • Add Standard style option
    • BREAKING CHANGE: Default is now Standard style

Detailed Configuration

Different radar types can be displayed (Note all 0s are zeros):

  • NCR - Composite Reflectivity (default)
  • N0R - Base Reflectivity (out to 124 nm)
  • N0Z - Base Reflectivity (out to 248 nm)
  • N0S - Storm Relative Motion
  • N1P - One-Hour Precipitation
  • NTP - Storm Total Precipitation
camera:
  - platform: nwsradar
    station: VWX
    type: N0R

The Standard radar style (the default) offers a simple white background and either a still picture (frames: 1) or a loop (any number larger than 1). Looping is the default.

The 'Enhanced' radar style offers a topographical background and a configurable loop length.

camera:
  - platform: nwsradar
    station: VWX
    style: Standard

Different length animations can be produced (default is 6) for Enhanced style:

camera:
 - platform: nwsradar
   station: VWX
   style: Enhanced
   frames: 8

Entity name can be specified:

camera:
  - platform: nwsradar
    station: VWX
    name: radarname

Works with picture-entity card:

- type: picture-entity
  entity: camera.vwx
You can’t perform that action at this time.