Enercoop smart home integration, free and open source

Enercoop contracts in Gladys: prices, off-peak hours, weekends, public holidays, scenes.
This integration adds the Enercoop contracts to Gladys: Gladys prices your consumption with the Enercoop prices, knows when off-peak hours start (weekends and public holidays included) and can run scenes.
It reads no meter: the consumption comes from the electricity meter you already have in Gladys.
What you need
- An Enercoop electricity contract.
- An electricity meter in Gladys, for example:
- your Linky through the Enedis integration of Gladys (with Gladys Plus);
- a Lixee TIC module (Zigbee) plugged into the Linky;
- a clamp or metering module (Shelly EM, Shelly Pro 3EM…).
- Gladys 5.3 or newer.
1. Install the integration
In Gladys: Integrations → Enercoop → Install.
One optional setting:
| Field | Purpose |
|---|---|
| Alsace-Moselle public holidays | Adds Good Friday and 26 December to the public holidays list. |
2. Attach an Enercoop contract to your meter
In the Energy settings of Gladys, add a contract to your electricity meter and pick one of the Enercoop offers the integration provides:
- Enercoop – Base offer: one price all day.
- Enercoop – Flexibility, off-peak hours: peak / off-peak prices. The off-peak hours are those of your meter, set by Enedis and written on your bill (22:00 – 06:00 by default).
- Enercoop – Flexibility, night and weekend: off-peak on weekdays from 23:00 to 06:00, all weekend and on public holidays.
The prices offered are indicative (incl. VAT, 6 kVA, October 2026). Copy those of your bill: price per kWh and monthly subscription. When Enercoop changes its prices, just edit the contract in Gladys.
Then go back to Integrations → Enercoop → Configuration and click Check the contract: the offer, the current price and the next change should show.
The integration publishes the public holidays calendar (holidays-fr) used by the "night and weekend" offer
itself. If another integration already publishes it, that one keeps it: everything works the same.
Widget
Add the Enercoop widget to a dashboard: current price and period (peak / off-peak), followed offer and next tariff change. The consumption and its cost show in the Gladys energy widgets, on your meter.
Scenes
Trigger (Integrations category):
- Enercoop: tariff period changed — filter on the new period (off-peak / peak), variables
period,label,price. Example: start the water heater when off-peak hours begin, weekends included.
Action:
- Enercoop: get the current price — returns
period,label,price,is_off_peak. Example: start the dishwasher only ifis_off_peakis true.
The period changes follow the Enercoop contract attached in Gladys. Everything is computed locally: no Internet access is needed.
Coming from version 0.0.1?
Version 0.0.1 read the Linky through Conso API and created a Linky Enercoop device. It no longer does:
- In the Energy settings, attach your Enercoop contract to your real meter (Enedis, Lixee TIC…).
- Delete the Linky Enercoop device if you no longer need it.
- You can also revoke the consent given on conso.boris.sh.
Troubleshooting
- "No Enercoop contract in Gladys yet": attach an Enercoop contract to your meter (step 2).
- The costs stay empty: check that your meter does publish its consumption in Gladys.
For more details, look at the integration logs in Gladys.
Configuration settings
These are the settings Enercoop asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Getting started | section | No | This integration adds the Enercoop offers to the Gladys contract wizard and tells when off-peak hours start. It does not read any meter: the consumption comes from the electricity meter you already have in Gladys (Linky through the Enedis integration of Gladys Plus, Lixee TIC, Shelly EM…). In the Energy settings of Gladys, add an Enercoop contract to that meter and copy the prices of your bill. |
| Alsace-Moselle public holidays | boolean | No | Adds Good Friday and 26 December to the holidays priced off-peak by the 'Night and weekend' offer. |
How to install Enercoop in Gladys
- In Gladys, open Integrations: Enercoop appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/prohand/gladys-enercoop:0.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/prohand/gladys-enercoop.
Enercoop 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
Enercoop 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 prohand, 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