Prix repère gaz (CRE) smart home integration, free and open source

Monthly CRE gas reference price: heating and cooking prices per kWh
The monthly reference gas price published by the CRE (French energy regulator), for the GRDF zone (about 95 % of residential customers). Useful to compare it with your own gas offer, or to follow gas offers indexed on it. France only, cloud access, no account and no API key.
Installation
- In Gladys, open Integrations, then the external integrations store.
- Search for Prix repère gaz (CRE) and click Install.
- Wait for the container to start, then add the Gas reference price (CRE) device from the discovery list.
Configuration
- Check interval (hours): how often the CRE page is checked (the grid changes once a month). Default 6.
- Yearly consumption (kWh): used by the widget to estimate a yearly heating bill. Default 12000.
- Test the CRE connection button: downloads the grid and shows the period read.
Usage
The device holds six read-only sensors, in euros, with history: average price per kWh (TTC and HT) and yearly subscription (TTC) for heating and for cooking / hot water. TTC means including taxes, HT excluding taxes.
Scenes and dashboards
- Trigger "New reference price": fires once when the CRE publishes a new month. Variables:
period(YYYY-MM),heating_priceandcooking_price(€/kWh TTC). It does not fire the first time the integration starts. - Action "Refresh the reference price": downloads the grid now. Outputs:
period,heating_price,cooking_price. - Widget "Gas reference price": period, heating and cooking prices, a yearly heating estimate 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 Prix repère gaz (CRE) asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Getting started | section | No | The CRE publishes the reference gas price once a month, for the GRDF zone. No account, no key: just pick how often to check. |
| Check interval (hours) | number | No | How often the CRE page is checked for a new grid. |
| Yearly consumption (kWh) | number | No | Used by the widget to estimate a yearly heating bill. |
How to install Prix repère gaz (CRE) in Gladys
- In Gladys, open Integrations: Prix repère gaz (CRE) appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/gboulvin/gladys-prix-repere-gaz-cre: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-prix-repere-gaz-cre.
Prix repère gaz (CRE) 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
Prix repère gaz (CRE) 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