External integration - Gaz De Bordeaux

Hello everyone :wave:

I present to you a new external integration for Gladys: Gaz de Bordeaux.

cover

It connects to your Gaz de Bordeaux customer space (life.gazdebordeaux.fr) and brings into Gladys your gas and electricity consumption, along with its cost. Nothing to install at your home: no module on the meter, everything goes through the internet.

What it does

  • One device per contract (gas, electricity) with:
    • the consumption (kWh), the cost (€) and the volume of gas (mÂł) of the last recorded day;
    • the totals of the month and of the year.
  • Values dated on the right day: Gaz de Bordeaux publishes with 1 or 2 days delay, but the graph shows the consumption from Monday to Monday, even if it arrives on Wednesday.
  • Historical data imported when creating the device (30 days by default, up to 90): the graphs do not start empty.
  • Energy module: electricity powers Gladys’ daily consumption.
  • Widget for the dashboard: day and month (kWh + €), graph of the last 30 days, total of the year, current price, Refresh button.

Scenes

Triggers:

  • New daily reading (variables date, kwh, cost, volume)
  • High daily consumption (adjustable threshold for gas and electricity)
  • Customer space unreachable (bad password, blocked site, network…)
  • Contract price modified: you are notified when your kWh price or your subscription changes

Actions:

  • Refresh readings
  • Read a consumption (last day, month, year): useful for a morning message « Yesterday’s gas: 42 kWh, 5.10 € Â».

Energy Contracts (Gladys 5.2)

For Gladys to calculate the cost of your electricity at Gaz de Bordeaux’s price, the integration adds models to the contract assistant:

  • NovaFixe Élec, NovaFixe Bonus Élec, NovaFlex Élec (Base and Off-Peak Hours), with the prices of the official grids, updated every month;
  • My contract (Base and Off-Peak Hours): for all offers (Ecodigo, old offers…), with your own prices.

The My contract prices button reads your current prices from your customer space (line « Your current price Â») and gives them to you as is, ready to copy.

Installation

  1. Gladys 5.2 or newer.
  2. Install the Gaz de Bordeaux integration from Gladys’ integrations.
  3. Configuration tab: email and password of your customer space, then Test the connection.
  4. Discovery tab: add the contracts to follow.

The password is a secret field, it never appears in the logs.

Links

To know

  • This is not an official integration of Gaz de Bordeaux: it reads the same data as your customer space (like the Home Assistant integration gazdebordeaux-ha). If the site changes, it may stop until an update.
  • Gladys’ energy contracts only cover electricity: for gas, the displayed cost is the one provided by Gaz de Bordeaux.
  • The Off-Peak Hours model requires consumption every half hour (Linky via another integration).

Your feedback is welcome, especially if you are a Gaz de Bordeaux customer with a gas + electricity account :slightly_smiling_face:

Good evening,

I have loaded the Gaz de Bordeaux integration, which is my electricity supplier, via ecodigo.

It shows as connected, but no data is being retrieved!

How do I fix this?

Pat

Good evening

Could you please provide the external integration logs?

Thanks

Sorry, I don’t know what you’re talking about (I’m terrible with computers…)

Do you see that the data is not coming through?

Thanks

Do the stats stay at 0?!

Hi Pat,

Thanks for the screenshots, they helped me find the issue :+1:

Your Ecodigo contract is in Full Hours / Off-Peak Hours. For those days, the Gaz de Bordeaux website stores the consumption in a different place, and the integration couldn’t find it: it displayed 0. The yearly total, however, was correct, hence the discrepancy.

This is fixed in version 1.0.11. To get it:

  1. Go to Integrations → Gaz de Bordeaux, then run the integration update.
  2. On the dashboard, click Refresh in the Gaz de Bordeaux widget.
  3. Go back to the Logs tab (the one in your first screenshot), click Refresh, and send me a screenshot.

In the logs, you should see a new line that starts with Contract … and contains days read. It will tell me if everything is being retrieved correctly, without displaying any personal data.

Note: days already recorded as 0 in the device history will remain at 0. However, the widget, the monthly total, and the Energy module will be accurate after the refresh.

Great, thanks for the change.

It seems to work.

Hello @prohand,

I’m getting back to you, I don’t see any changes to the Bordeaux Gas widget since my last post.

The data is strictly the same!!

Attached is a copy of the log

Looking forward to your reply,

Have a nice day

Pat

Hi @Pat, could you send me a screenshot of the widget please, hiding any sensitive information?
Thanks

Here you go:

Hi Pat,

Thanks for the screenshots. The integration reads your customer space every 6 hours, but the Gaz de Bordeaux website hasn’t published any days after October 8th. Even the year’s total, calculated by the site, hasn’t changed since then.

Could you check on https://life.gazdebordeaux.fr, in a browser, if you see any days after October 8th?

- If not: your meter reading is no longer reaching Gaz de Bordeaux. You need to contact their customer service.

- If yes: send me a screenshot, then there will be a real issue to fix on my side.

As soon as the site publishes the missing days, the integration will pick them up on its own.

In the next version, the widget will display in orange « No reading since the … Â» to make it clearer.

Hi prohqnd,

I went on the gdb website, well, apparently I hadn’t subscribed to their half-hour data service on their site. Which I just did. However, their site states that the data will arrive within 12 days at the latest! (They’re less responsive than you are :wink:)

I’ll keep you posted

Have a good day

Pat

Thanks Pat, that was it :+1:

Small tip in the meantime: in Integrations → Gaz de Bordeaux → Configuration, increase « Days of history to import » to 60 (or 90), then save. If Gaz de Bordeaux fills in the missing days since October 8, the integration will be able to retrieve all of them. With 30, the first ones would be lost.

Also update the integration (version 1.1.1): the widget displays « No readings since the … » in orange as long as nothing arrives.

Keep me posted when the data comes back!