Ecopower smart home integration, free and open source

Dynamic electricity prices of the Belgian market, for Ecopower customers
Dynamic electricity prices of the Belgian market (Flemish cooperative Ecopower), as a Gladys device, scene triggers and a dashboard widget.
How it worksâ
Ecopower's dynamic tariff follows the Belgian day-ahead market. Ecopower does not publish a public API, so the integration reads the public ENTSO-E day-ahead prices and computes indicative prices: (spot price x factor + margin) x (1 + VAT). They are not your invoice: set the factor, margin and VAT from your Ecopower contract. The service is Belgium only and needs an Internet connection (cloud).
Installationâ
- In Gladys, open Integrations, then the external integrations store.
- Search for Ecopower and click Install.
- Wait for the container to start: the integration shows up in the list.
Configurationâ
- Create a free account on the ENTSO-E Transparency Platform, then ask for a Web API token by email (see their guide). The token appears under My Account Settings.
- In the Configuration tab, paste the token and set the VAT, the spot price factor, the margin and the injection fee (câŹ/kWh), and the "cheap" threshold. Save, then click Test the connection.
Usageâ
Add the Ecopower tariff device from the discovery tab. Its three features (EUR/kWh, history kept) are the consumption price now, the injection price now and the price of the next hour. Prices are fetched from ENTSO-E when needed (about every 6 hours, and from 1:30 pm until tomorrow's prices are out); nothing is stored on disk.
Scenes and dashboardsâ
Triggers (fired once per change, never at startup):
- Market price turns negative: variables
price,spot_price. - A cheap period starts: the consumption price drops to the threshold or below.
- Tomorrow's prices are published: variables
min_price,max_price,average_price,cheapest_start.
Actions:
- Refresh the prices: outputs
slots,current_price. - Find the cheapest window: input duration and horizon; outputs
found,start,end,average_price. Usefoundas a condition.
Widget Electricity prices: live price and next hour, a 24 h chart, the cheapest two hours 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 Ecopower asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Getting started | section | No | Ecopowerâs dynamic tariff follows the Belgian day-ahead market. This integration reads the public ENTSO-E prices and computes indicative prices: they are not your invoice. Request a free ENTSO-E API token, then enter it below. |
| ENTSO-E API token | secret | Yes | Security token of your ENTSO-E account (My Account Settings, Web API Security Token). |
| VAT (%) | number | No | VAT applied to the consumption price. |
| Spot price factor | number | No | Multiplier applied to the market price (1 = unchanged). See your Ecopower contract. |
| Margin (câŹ/kWh) | number | No | Amount added per kWh, before VAT (network fees, levies, supplier margin). |
| Injection fee (câŹ/kWh) | number | No | Amount taken off the market price for each injected kWh. |
| Cheap threshold (câŹ/kWh) | number | No | A period is cheap when the consumption price, VAT included, is at or below this value. |
How to install Ecopower in Gladysâ
- In Gladys, open Integrations: Ecopower appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/gboulvin/gladys-ecopower: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-ecopower.
Ecopower 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â
Ecopower 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