EDF blue tariff?

Good evening

I see in the example: Monitor your energy consumption with Gladys Assistant | Gladys Assistant

but I can’t find my contract:

What should I do with the cost?

Thanks for your help

Hi @Prof_Techno
normally the blue tariff is the regulated tariff so it should be this one in the contracts:


Not very clear, I agree :confused:

Good evening

I must be missing something because I get this in response:

tariff.components: must contain less than or equal to 16 items

Unfortunately, I can’t help any more :confused:
@pierre-gilles, any ideas?

Hi everyone!

This topic is now in development.

A PR has been opened to fix the « too many components » error on EDF Tarif Bleu templates:

Don’t hesitate to follow the PR, test (optional, especially for small requests), and share your feedback here if needed.

Well, we’ll just have to wait…

Hi @Prof_Techno, thanks @mutmut!

You chose the right model: edf-peak-off-peak corresponds to the Tarif Bleu Heures Creuses. The name is not very explicit, we will improve it.

The error is not your fault, it’s a bug in Gladys. The model contains the entire history of EDF prices since 2012, i.e., 23 periods with a subscription per period. This makes 24 components while Gladys only accepts a maximum of 16. The EDF Base and Tempo models are also affected.

The fix is ready: fix(energy-contract): drop tariff history outside the contract validity (EDF Tarif Bleu templates) by Pierre-Gilles · Pull Request #3235 · GladysAssistant/Gladys · GitHub
Gladys will now only keep the history that overlaps with the period of your contract. It will be in the next version.

In the meantime, you can work around the problem:

  1. In the assistant, at the step where you choose your off-peak hours, activate « Advanced: edit the tariff definition (JSON) ».
  2. Replace the entire content with this. I took the prices from your screenshot, adjust them if they change:
{
  "tariff_version": 1,
  "components": [
    {
      "key": "energy",
      "kind": "consumption",
      "rules": [
        { "label": "Off-peak hours", "when": { "time": [["22:30", "06:30"]] }, "price": 0.1589 }
      ],
      "fallback": { "label": "Peak hours", "price": 0.2142 }
    },
    { "key": "subscription", "kind": "fixed", "amount": 19.88, "per": "month" }
  ]
}
  1. Click on Preview, check the amounts, then save.

With this tariff, the new EDF prices will not be taken into account automatically, you will have to update them yourself. After the Gladys update, you can recreate your contract from the model if you prefer.

Thanks for reporting!

I’ll wait and see if it’s ready soon. Given the speed at which updates are rolling out, I think it’s probably just a matter of hours or a few days!

I’ve managed to live without it so far, so I can continue like this for a little longer. There are so many other things to test anyway!