Skip to content

Home Assistant integration for NEA Weather forecasts

License

Notifications You must be signed in to change notification settings

Softwaremaker/nea_sg_weather

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEA Singapore Weather Integration for Home Assistant

Home Assistant Integration to get current weather information directly from Data.gov.sg weather API published by Singapore National Enviroment Agency (SG NEA)

image

image

Installation

Add this integration to Home Assistant using HACS, or copy everything in custom_components/nea_sg_weather to your custom_components folder in your Home Assistant config folder.

Follow the integration config flow to set up the following entities:

  • weather: weather entity with 4 day forecasts
  • area (town) sensors: current weather conditions for up to 47 areas/towns in Singapore
  • region sensors: 24 weather condition forecast for North/South/East/West/Central regions of Singapore
  • rain camera: rain map overlay that is updated every 5 minutes from NEA

Weather Map Overlays

Several yaml files are included to help you quickly set up a weather map card on Lovelace UI. image

For the overlays to display properly, you will need the area, region and rain entities activated in the config flow.

  1. input_boolean.yaml: to set up input_boolean toggles for the map overlays
  2. automations.yaml: automations to manage how the map toggles work
  3. lovelace.yaml: preset card config to display the weather map card

Instructions for how to integrate the yaml files are included in the various files in the nea_sg_weather/yaml folder.

Rainfall map

Starting in v1.5, rainfall sensors have location attributes. Users can display sensors on a map card in Lovelace UI.

For entity pictures to display correctly, copy all image files in www/weather/ to your config/www/weather/ folder. image

About

Home Assistant integration for NEA Weather forecasts

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Python 100.0%