Skip to content

kellerman/lvgmc_weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LVGMC Weather Integration for Home Assistant

hacs_badge

A Home Assistant integration for Latvian Environment, Geology and Meteorology Centre (LVGMC) weather data.

Features

  • Real-time weather data from LVGMC stations
  • Hourly forecasts (48 hours)
  • Daily forecasts (multiple days)
  • Text forecasts in Latvian and English
  • Support for multiple weather stations across Latvia

Installation

Option 1: HACS (Recommended)

  1. Open HACS in Home Assistant
  2. Go to "Integrations"
  3. Click the three dots menu → "Custom repositories"
  4. Add this repository URL
  5. Search for "LVGMC Weather" and install
  6. Restart Home Assistant

Option 2: Manual Installation

  1. Download this repository
  2. Copy the custom_components/lvgmc_weather folder to your custom_components directory
  3. Restart Home Assistant

Configuration

  1. Go to Settings → Devices & Services → Add Integration
  2. Search for "LVGMC Weather"
  3. Enter:
    • Name: Display name for the entity
    • Station ID: LVGMC station ID (e.g., P571 for Litene)
  4. Click "Submit"

Station IDs

Station IDs start with "P" followed by numbers. Examples:

  • P571: Litene
  • P133: Riga
  • (Add more stations as you discover them)

Supported Languages

  • English
  • Latvian (lv)

API

This integration uses public LVGMC APIs:

  • Hourly forecasts: https://videscentrs.lvgmc.lv/data/weather_forecast_for_location_hourly
  • Daily forecasts: https://videscentrs.lvgmc.lv/data/weather_forecast_for_location_daily
  • Text forecasts: https://videscentrs.lvgmc.lv/data/sinopt_prognozes

Support

For issues or feature requests, please open an issue on GitHub.

License

MIT License

About

LVGMC Weather integration for Home Assistant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages