OMIE smart home integration, free and open source

OMIE Spain-Portugal electricity prices: current, min/max and next-day price
OMIE Spain-Portugal electricity prices: current, min/max and next-day price.
Installation
- In Gladys, open Integrations, then the external integrations store.
- Search for OMIE and click Install.
- Wait for the container to start: the integration shows up in the list.
Configuration
- Price zone: Spain or Portugal (the two prices differ when the interconnection is saturated).
- Refresh interval: how often the price is read (one minute minimum, 60 s by default).
- Test the OMIE connection button: reads the current price to check that the service answers.
The prices come from the public files of the OMIE day-ahead market: no account, no API key. The service is cloud-only and concerns Spain and Portugal.
Usage
Discover the OMIE electricity price device in Gladys. Its features, all in €/kWh, are: current price, next period price, today's lowest, highest and average prices, and tomorrow's lowest and highest prices (available once OMIE publishes them, around 13:00 Madrid time). History is kept for charts.
Scenes and dashboards
- Trigger New price period: fired when a new period starts (every 15 or 60 minutes). Filter on the price level (cheapest of the day, below average, above average, most expensive of the day); variables: price, next price, lowest and highest price of the day.
- Trigger Tomorrow's prices published: fired once OMIE publishes the next day; variables: lowest, highest and average price.
- Scene action Refresh OMIE prices: downloads the prices again; outputs: current, lowest, highest and average price, level, tomorrow's prices available.
- Dashboard widget OMIE prices: current price, level, cheapest and dearest periods, tomorrow's range, price chart and a refresh button.
Help
A question or a problem? Ask on the Gladys community forum or open an issue on the GitHub repository.
Configuration settings
These are the settings OMIE asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Getting started | section | No | Prices come from the public OMIE day-ahead market files: no account, no API key. Pick the zone to follow. |
| Price zone | select | No | Spain and Portugal can have different prices when the interconnection is saturated. |
| Refresh interval (s) | number | No | How often the price is read, in seconds (one minute minimum). A price period lasts 15 or 60 minutes. |
How to install OMIE in Gladys
- In Gladys, open Integrations: OMIE appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/gboulvin/gladys-omie:1.1.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/gboulvin/gladys-omie.
OMIE 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
OMIE 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 gboulvin, 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