A Home Assistant integration for Latvian Environment, Geology and Meteorology Centre (LVGMC) weather data.
- 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
- Open HACS in Home Assistant
- Go to "Integrations"
- Click the three dots menu → "Custom repositories"
- Add this repository URL
- Search for "LVGMC Weather" and install
- Restart Home Assistant
- Download this repository
- Copy the
custom_components/lvgmc_weatherfolder to yourcustom_componentsdirectory - Restart Home Assistant
- Go to Settings → Devices & Services → Add Integration
- Search for "LVGMC Weather"
- Enter:
- Name: Display name for the entity
- Station ID: LVGMC station ID (e.g., P571 for Litene)
- Click "Submit"
Station IDs start with "P" followed by numbers. Examples:
- P571: Litene
- P133: Riga
- (Add more stations as you discover them)
- English
- Latvian (lv)
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
For issues or feature requests, please open an issue on GitHub.
MIT License