Engie France smart home integration, free and open source

Engie contracts in Gladys: Elec Référence, Elec Car, gas, daily consumption and invoices.
Bring your Engie customer account (residential, France) into Gladys: electricity and gas contracts, the consumption of every day, the kWh price, invoices and the balance to pay. The integration also provides the contract templates of the Engie offers Elec Référence (Base and off-peak hours) and Elec Car (super off-peak hours), so Gladys computes the cost of your consumption.
Unofficial integration: Engie publishes no API. It uses the same service as the Engie mobile app, like the Home Assistant integration it is modelled on. Engie may change it at any time.
Installation
- In Gladys, open Integrations, then the external integrations store.
- Search for Engie France and click Install.
- Wait for the container to start: the integration shows up in the list.
Configuration
- Open the Configuration tab of the integration.
- Type the e-mail and the password of your Engie customer area (the ones of the Engie app), then save.
- Click Log in.
- If Engie asks for a verification code, it sends it to you (SMS or e-mail); with an authenticator app, open it. Type the code in Validate the code.
- The code is only asked once: the session is kept in the
/datavolume of the integration and renewed automatically.
- Open the Discovery tab and add the devices.
The refresh interval (6 hours by default, 1 to 24) sets how often the account is read. Engie publishes the consumption of a day the next day: a few reads a day are enough.
Other buttons of the Configuration page:
- Refresh now: reads the account right away;
- Show my prices: the kWh prices and the subscription Engie reports, and the contract template to pick in Gladys;
- Log out: forgets the saved session.
Devices
| Device | Values |
|---|---|
| Engie – Compte … (one per contract account) | Balance to pay, amount and date of the last invoice, date of the next invoice |
| Engie – Électricité (…) (one per contract) | Daily consumption (kWh), cost of the day computed by Engie, kWh price incl. taxes, monthly subscription incl. taxes, offer name |
| Engie – Gaz (…) (one per contract) | Daily gas consumption (kWh), cost of the day, kWh price incl. taxes, monthly subscription incl. taxes, offer name |
The days are published dated as soon as the device is added, with the history of the last 35 days. The current day is never published: Engie completes it the next day.
Energy contracts: the Engie templates
In Gladys, open Energy → Contracts, create a contract on the Engie – Électricité device (or on your Linky meter if it is already in Gladys), then pick one of the templates of the integration:
| Template | Prices to type |
|---|---|
| Engie Elec Référence – Base | kWh price, monthly subscription |
| Engie Elec Référence – Off-peak hours | peak and off-peak prices, off-peak hours, subscription |
| Engie Elec Car – Super off-peak hours | peak, off-peak and super off-peak prices, off-peak and super off-peak hours (2 am – 6 am by default), subscription |
The prices depend on your offer and your subscribed power: the Show my prices button gives the ones Engie knows, otherwise copy those of your invoice.
With a daily consumption, Gladys does not know how a day splits between peak and off-peak hours: for an exact cost of the off-peak and Elec Car offers, attach the contract to a meter providing the half-hourly load curve (the Enedis or Téléinfo integration, for example).
Gas: the Gladys energy contracts only price electricity for now. There is therefore no gas template; the cost of every gas day is the one Engie computed, published on the Gas device.
Scenes and dashboards
Triggers
| Trigger | When | Variables |
|---|---|---|
| New Engie invoice | Engie issued a new invoice (filter: account) | amount, date, due date, number, account number |
| New day of consumption | Engie published a new day (filters: contract, energy) | energy, day, consumption (kWh), cost (€) |
| Balance to pay changed | The balance of the account changed (filter: account) | new balance, previous balance, account number |
| Engie session expired | Engie ended the session: log in again | reason |
At installation, the first read only records where the account stands: the invoices already issued are not "new". A restart never fires the same event twice.
Actions
- Refresh Engie data: reads the account and returns the balance, the amount and date of the last invoice, and the number of contracts. It fires no trigger, so a scene can never loop: the next scheduled read does.
- Get the latest day of consumption (electricity or gas): returns the day, the consumption, the cost and the kWh price.
Widget
The Engie account widget shows the latest day of electricity and gas, the balance to pay, two weeks of consumption in a chart, the last and next invoice, the kWh price and the connection state, with a Refresh button.
Privacy
The password is only sent to Engie. The session tokens are kept in the /data volume of the integration (a file only it can read) and never appear in the logs.
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 Engie France asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Getting started | section | No | Type the login of your Engie customer area (the one of the Engie app), save, then click "Log in". If Engie sends you a code, type it in "Validate the code": it is only asked once. |
string | Yes | E-mail address of your Engie customer area. | |
| Password | secret | Yes | Password of your Engie customer area. It is only sent to Engie. |
| Refresh interval (hours) | number | No | How often the Engie account is read. Engie publishes a day the next day: a few reads a day are enough. |
How to install Engie France in Gladys
- In Gladys, open Integrations: Engie France appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/prohand/gladys-engie-france: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/prohand/gladys-engie-france.
Engie France 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
Engie France 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