This is a custom integration for Home Assistant that provides weather forecast data from the official Lithuanian Hydrometeorological Service (LHMT) API - Meteo.lt.
- Make sure HACS is installed in your Home Assistant instance
- Add this repository as a custom repository in HACS:
- Click the three dots in the top right corner and select "Custom repositories"
- Add
https://github.com/moonia33/meteoltforecast
- Select category "Integration"
- Click "Install"
- Restart Home Assistant
- Copy the
custom_components/meteoltforecast
folder to your Home Assistant'scustom_components
folder - Restart Home Assistant
- Go to Settings -> Devices & Services
- Click "+ ADD INTEGRATION"
- Search for "Meteo.lt Forecast"
- Select your location from the dropdown list (closest location to your Home Assistant coordinates will be selected by default)
- Click "Submit"
- Hourly weather forecasts up to 7 days
- Automatic location selection based on Home Assistant's configured location
- Real-time weather conditions including:
- Temperature
- Feels like temperature
- Air pressure
- Humidity
- Wind speed and direction
- Precipitation
- Cloud coverage
- Weather conditions
- Local time zone support (automatically converts UTC to Europe/Vilnius)
- Compatible with Home Assistant's standard weather cards and dashboards
You can use this integration in:
- Weather cards
- Weather dashboard
- Automations
- Templates
- Sensors
Example weather card configuration:
type: weather-forecast
entity: weather.meteoltforecast_your_location
This integration uses the official LHMT (Lithuanian Hydrometeorological Service) API. Data is provided under the Creative Commons Attribution-ShareAlike 4.0 (CC BY-SA 4.0) license.
- Maximum 180 requests per minute from one IP address
- Maximum 20,000 requests per day from one IP address
The integration is configured to update data every 30 minutes by default to stay well within these limits.
-
Integration not showing up:
- Make sure you've restarted Home Assistant after installation
- Check your Home Assistant logs for any errors
-
No forecast data:
- Verify your internet connection
- Check if meteo.lt website is accessible
- Check Home Assistant logs for API errors
-
Wrong location:
- Remove the integration
- Add it again and manually select your preferred location
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under CC BY-SA 4.0 - see the LICENSE file for details.
This integration is provided "as is", without warranty of any kind. The creator takes no responsibility for any damages that might occur from its use. Use at your own risk.