ARSO Slovenia smart home integration, free and open source

Slovenian weather from ARSO: nearest station, regional forecast and official warnings.
The official weather of Slovenia in Gladys, from ARSO (Agencija Republike Slovenije za okolje, the Slovenian Environment Agency, publisher of meteo.si): the readings of the nearest automatic weather station every 10 minutes, the daily forecast of its region, and the official weather warnings of its area (wind, rain, thunderstorm, snow, glaze, heat, cold, forest fireâŠ).
Open data: no account, no API key. This integration is not affiliated with ARSO.
Overviewâ
- Two devices: the nearest station (temperature, humidity, pressure, wind, gusts, rain, snow depth: what the station measures) and your place (forecast of today and tomorrow, warning levels).
- A scene trigger, "New ARSO warning", as soon as a warning is announced, often a day or more before it starts.
- A dashboard widget with the readings, the minimum and maximum of the coming days, the warnings and the forecast of today and tomorrow.
- Read-only: ARSO is a data source, nothing is controlled.
Requirementsâ
- Gladys 5.3.0 or later.
- A place in Slovenia (or within 25 km of its border).
- Your Gladys house located on the map (Settings â Houses), or coordinates typed in the configuration.
- Gladys must reach the Internet (
meteo.arso.gov.si).
Configurationâ
Install the integration from Integrations â Install from GitHub (or from the store), then open its configuration. Every field is optional: by default the integration takes the position of your first located house, the station nearest to it, and refreshes every 10 minutes.
| Field | Use |
|---|---|
| House | The house whose position is used. Empty: the first house that has a position. |
| Latitude, Longitude | Another place than a house, for example 46.05 and 14.51 (a comma works too). Both, or neither. |
| Weather station | The id of an ARSO station, for example LJUBL-ANA_BEZIGRAD (Ljubljana). Empty: the nearest one. |
| Refresh interval | 10, 15, 30 or 60 minutes. Most stations report every 10 minutes, some every 30. |
| Language of the feature names | Language of the feature names (set when the devices are created) and of the scene event texts. French by default. |
The house position is read through the Gladys location permission, shown when you install the
integration. It never leaves Gladys: ARSO publishes whole files (every station, every region,
every warning area), and the integration picks the nearest ones itself. It is never written to
the logs either.
Then open the Discovery tab of the integration and add the two devices to Gladys.
Devicesâ
Stationâ
The name is "ARSO" followed by the station name. Values of the last observation:
| Feature | Unit | Note |
|---|---|---|
| Temperature | °C | Air temperature, 2 m |
| Dew point | °C | |
| Humidity | % | |
| Pressure (sea level) | hPa | Pressure reduced to sea level, as in the forecasts |
| Wind speed | km/h | Mean of the interval |
| Wind gusts | km/h | Strongest gust of the interval |
| Wind direction | ° | Where the wind comes from: 0 = north, 90 = east |
| Rain intensity | mm/h | Rain of the interval (10 or 30 min), hourly rate |
| Snow depth | cm |
A station only gets the features of what it measures (about half the stations have neither wind nor pressure): a feature added once is kept, even if the station stops sending it. A station silent for more than 3 hours is not re-published as current.
Placeâ
The name is "ARSO" followed by the house name (or the coordinates). The forecast of the ARSO region nearest to the place (15 regions, such as "Ljubljana region" or "Coastal region"), and the warnings of its area (5 areas: North-West, South-West, Central, North-East, South-East):
| Feature | Unit | Note |
|---|---|---|
| Weather today | text | Sky or phenomenon of the day, e.g. "Partly cloudy" or "Rain (light)" |
| Minimum today | °C | Days in the time zone of Gladys |
| Maximum today | °C | |
| Weather tomorrow | text | |
| Minimum tomorrow | °C | |
| Maximum tomorrow | °C | |
| Gusts tomorrow | km/h | Strongest gust forecast for tomorrow |
| Warning level | 0 to 3 | Highest level in force: 0 none, 1 yellow, 2 orange, 3 red |
| Wind warning | 0 to 3 | Level in force for this type |
| Rain warning | 0 to 3 | |
| Thunderstorm warning | 0 to 3 | |
| Snow warning | 0 to 3 | |
| Glaze warning | 0 to 3 | Freezing rain and glaze (ARSO "poledica/ĆŸled") |
| Heat warning | 0 to 3 | |
| Cold warning | 0 to 3 | |
| Forest fire warning | 0 to 3 | |
| Weather warnings | text | The warnings in force or announced, e.g. "Yellow · Wind Sun 21:00 â âŠ" |
The levels are those in force now: an announced warning raises them when it starts. To act as soon as it is announced, use the scene trigger. The other ARSO warning types (fog, avalanches, coastal events, floods) count in "Warning level", in the text and in the trigger.
Widgetâ
ARSO weather shows, in the language and units of the dashboard:
- the place name (as named in Gladys), then the temperature, humidity, wind and gusts of the station;
- the minimum and maximum of the coming days (up to 6);
- the warnings in force (until when) and announced (from when), or a green "None" line;
- the weather of today and tomorrow, with their minimum and maximum;
- the source and the time of the observation.
Scene triggerâ
New ARSO warning fires when ARSO issues a warning (yellow, orange or red) for the area of the place, or raises the level of one: once per warning and per level, as soon as it is announced. A restart does not fire it again. The very first start only takes note of the warnings already issued.
Filters (empty = any): Warning types (wind, rain, thunderstorm, snow, glaze, heat, cold, forest fire, fog, avalanche, coastal event, flood) and Levels (yellow, orange, red).
Information passed to the scene actions: warning type, level, level (1 to 3), start, end, already
in force, level raised, official text (in English, as published by ARSO) and warning area. For
example, a message: ARSO: \{\{triggerEvent.data.level_label\}\} \{\{triggerEvent.data.type_label\}\} warning from \{\{triggerEvent.data.starts_at\}\} to \{\{triggerEvent.data.ends_at\}\}.
Configuration actionsâ
- List the nearest stations: the 8 stations nearest to the place, with their id, altitude and distance. Copy an id into "Weather station" to choose another one (a station in the valley often fits better than a nearer one on a summit).
- Check the connection: reads every source now and says what answered: the station temperature and its time, the forecast region, the number of warnings of the area. Shown in red if a source failed.
Scene examplesâ
- Storm coming: trigger "New ARSO warning", types "Wind" and "Thunderstorm", levels "Orange" and "Red" â close the shutters, retract the awning, send a message with the start time.
- Heat day: when the "Heat warning" feature becomes greater than or equal to 2 â close the south-facing shutters at 10:00 and send a reminder to drink.
- Frost tomorrow: every evening at 20:00, if "Minimum tomorrow" is below 0 °C â notify to protect the plants and the windshield.
Troubleshootingâ
- "No location": no house has a position. Place your house on the map in Settings â Houses, or type coordinates, or choose a station.
- "Outside Slovenia": the place is more than 25 km away from every ARSO warning area.
- "ARSO does not answer": Gladys cannot reach
meteo.arso.gov.si; the values are updated when it is back. The logs say which source fails, once, and when it works again. - A feature is missing on the station: the station does not measure it. Choose another station with List the nearest stations.
- More details: set the
LOG_LEVELvariable of the container todebug.
Limitsâ
- Data: open data of ARSO, free to reuse with the mention of the source ("Source: ARSO", shown by the widget), as required by ARSO's reuse terms.
- Requests: about 13 an hour at the default pace (observations and the warnings of the area every refresh, forecast once an hour, the five warning areas once a day). The files are fetched compressed (about 30 KB for all the stations).
- The forecast is the one of the region, not of the exact place, once a day: no hourly forecast in ARSO's open files. Solar radiation and soil temperatures are not published as features (no matching unit in Gladys).
- ARSO's warnings are also relayed by Meteoalarm (the
gladys-meteoalarmintegration covers Slovenia too): this integration reads them at the source, with their polygons, and adds the station readings and the regional forecast. - One place and one station per installation.
- The feature names are set when the devices are created: changing the language later does not rename them.
- ARSO publishes these files for its website: it may change them without notice.
Configuration settingsâ
These are the settings ARSO Slovenia asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| ARSO | section | No | Open data of ARSO (Agencija Republike Slovenije za okolje), the Slovenian Environment Agency: no account, no key. By default, the integration uses the position of your first Gladys house: the nearest automatic station, the forecast of its region and the warnings of its area. Not affiliated with ARSO. |
| House | select | No | The house whose position is used. Empty: the first house with a position. |
| Latitude (optional) | string | No | To use another place than a house. Takes precedence over the house. |
| Longitude (optional) | string | No | |
| Weather station (optional) | string | No | Id of an ARSO automatic station. Empty: the nearest one. The action below lists them. |
| Refresh interval | select | No | Most stations report every 10 minutes, some every 30. |
| Language of the feature names | select | No | Used when the devices are created, and for the scene event texts. |
How to install ARSO Slovenia in Gladysâ
- In Gladys, open Integrations: ARSO Slovenia appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/guim31/gladys-arso:1.0.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration). - Open the Configuration screen of the integration, fill in the settings, and save.
- You can also install it directly from its repository URL: https://github.com/guim31/gladys-arso.
ARSO Slovenia requires Gladys >=5.3.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.
Not running Gladys yet? It is free and open source: follow the installation guide to get started.
About external integrationsâ
ARSO Slovenia is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by guim31, not by the Gladys core team.
- Browse all integrations, native and community
- Build and publish your own external integration
- Source code on GitHub â source of this documentation