Skip to main content

Ecopower smart home integration, free and open source

Ecopower integration for Gladys Assistant

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​

  1. In Gladys, open Integrations, then the external integrations store.
  2. Search for Ecopower and click Install.
  3. Wait for the container to start: the integration shows up in the list.

Configuration​

  1. 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.
  2. 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. Use found as 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.

SettingTypeRequiredDescription
Getting startedsectionNoEcopower’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 tokensecretYesSecurity token of your ENTSO-E account (My Account Settings, Web API Security Token).
VAT (%)numberNoVAT applied to the consumption price.
Spot price factornumberNoMultiplier applied to the market price (1 = unchanged). See your Ecopower contract.
Margin (c€/kWh)numberNoAmount added per kWh, before VAT (network fees, levies, supplier margin).
Injection fee (c€/kWh)numberNoAmount taken off the market price for each injected kWh.
Cheap threshold (c€/kWh)numberNoA period is cheap when the consumption price, VAT included, is at or below this value.

How to install Ecopower in Gladys​

  1. In Gladys, open Integrations: Ecopower appears in the catalog, next to the native integrations, with a community badge.
  2. 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).
  3. Open the Configuration screen of the integration, fill in the settings, and save.
  4. 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.

Subscribe to the Gladys Assistant newsletter

A few emails per month about new releases and project news. Sent by Pierre-Gilles Leymarie, founder of the project. Unsubscribe anytime 🙂