Skip to content

Weather Alert application for AppDaemon and HomeAssistant

Notifications You must be signed in to change notification settings

turboc1208/weatherAlert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

weatherAlert

Weather Alert application for AppDaemon and HomeAssistant

Make sure your home knows about any severe weather approaching. WeatherAlert sends a persistent_notification to your HA desktop with with information on any severe weather alerts in your area.

Weather alerts is configurable to only show you the alerts you are interested in seeing.

Installation Instructions

  • Clone this repository in your AD code directory. It should create a weatherAlert directory.
  • Add the following lines to your appDaemon config file

    [weatherAlert]
    module=weatherAlert
    class=weatheralert
    alerts = {"HEA","TOR"}
    key = your weather underground key
    * location={"city":"your city","state":"your state"} or {"zmw":"your zmw"}`
    * frequency=minutes between checks ( Defaults to 15 min )
    * title=title of persistent notification window
    * dash_dir = /home/pi/appdaemon_dashboard/appdaemon/conf/custom_css/notices/ - directory to where alert pages should be placed

Notes
  • * represent optional entries (do not include *)
  • location can be expressed as a dictionary containing the following:
    • {"city":"your city", "state":"your state"}
    • {"zip":"your zip code"}
    • {"Country":"Your country name","city":"Your city"}
    • if location is not in the config file, it defaults to your HomeAssistant Latitude/Longitude
  • Possible values for alerts are : type Translated
    HUR Hurricane Local Statement
    TOR Tornado Warning
    TOW Tornado Watch
    WRN Severe Thunderstorm Warning
    SEW Severe Thunderstorm Watch
    WIN Winter Weather Advisory
    FLO Flood Warning
    WAT Flood Watch / Statement
    WND High Wind Advisory
    SVR Severe Weather Statement
    HEA Heat Advisory
    FOG Dense Fog Advisory
    SPE Special Weather Statement
    FIR Fire Weather Advisory
    VOL Volcanic Activity Statement
    HWW Hurricane Wind Warning
    REC Record Set
    REP Public Reports
    PUB Public Information Statement
  • dash_dir - currently this needs to be placed in a directory under the custom_css directory.
  • If you are using the following speach apps in appdaemon

Visit the weatherunderground at the following link for more information about this API https://www.wunderground.com/weather/api/d/docs?d=data/alerts

About

Weather Alert application for AppDaemon and HomeAssistant

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages