Energy tracking is coming soon to Gladys ⚡️

Hello everyone,

I mentioned some time ago a big project I’ve been working on… today I can finally tell you more!

I explain everything in this article:

As indicated at the end of the article, I’m looking for Gladys Plus + Enedis users to test the consumption calculation engine in euros. If you want me to test it on your data, contact me!

And above all, a huge THANK YOU to @Terdious, who came up with this feature and funded its development :raising_hands:

9 Likes

Thanks to @pierre-gilles and @Terdious for this development.
I have a smart outlet where my customers plug in to charge their electric cars and I bill them for the consumption.
So in my opinion this could be of interest, especially since I wasn’t differenti

1 Like

:star_struck: oh my goodness, what excellent news!
So a huge thanks to @terdious for the funding and the CDC and to @pierre-gilles for this work that I can’t wait to get running at my place!

2 Likes

Are these monthly « fixed » taxes, regardless of consumption, or are they linked to consumption?

In the calculation engine, I clearly distinguish the variable part (consumption) and the subscription fee.

A CSV with consumption per 30-minute interval, as well as a CSV with historical fixed and variable electricity rates, also lets me test, so absolutely :slight_smile:

1 Like

Proportional to consumption and I just checked it’s not calculated the same for businesses and individuals.

In that case, it’s just the variable rate including tax (TTC) that needs to be entered correctly.

All of this section can be entered/modified manually in Gladys if you’re in a slightly exotic case:

1 Like

[quote="pierre

1 Like

In that case it’s impossible to calculate; if you’re on peak/off-peak hours, how can I know how much you consumed during peak or off-peak? :sweat_smile:

With the index, we should be able to manage, but that’s a bit outside this first version.

For now, I don’t have an automatic method to calculate consumption over 30 minutes from index values, but it will definitely be present in the final development, because it’s a need of @Terdious for his Shelly :slight_smile:

1 Like

With the readings I have, each day shows me the number of kWh in HC (off-peak), HP (peak) and HC Blue, HP Blue, HC White, HP White, HC Red and HP Red as well as the corresponding indexes.
Would this data be suitable for testing?
Since the Linky installation, I have 64 weeks of data. Before that I had a turntable as a meter, so indeed those readings were just guesses!

2 Likes

That would be fine, but I’m not sure how useful it is to run the test on this data, which in fact are already « final » data — already calculated and therefore already good :slight_smile:

If we only do the final step kwh * prix, I hope we’ll end up with the same thing as EDF :sweat_smile:

What is complicated in the calculation is iter

2 Likes

No worries, just tell me as soon as you need it.

1 Like

This is really great! :grinning_face: Thanks to both of you

1 Like

Great feature :slight_smile:
Thanks indeed to both of you.
I just sent you a DM @pierre-gilles with my usage.

Is it planned to be able to calculate the cost of an individual outlet?
I’m actually trying to do this via scenes right now but I’m struggling a bit… :sweat_smile:

Thanks! I’ll look into all that after the weekend :grin:

Yes !

1 Like

Hi @prohand,

This is exactly one of the basic needs I had for this first step. For

3 Likes

Thank you @Terdious for requesting and funding this new feature :folded_hands:

3 Likes

Hello everyone :slight_smile:

This morning I worked on creating a GitHub repo to centralize all the types of energy contracts that can exist, to allow automatic import of historical contract data into Gladys.

For now, I added the historical data for the 3 EDF contracts:

  • Base
  • Peak hours / Off-peak hours
  • EDF Tempo

The data comes from the CSVs available on data.gouv.fr.

If you’re on EDF Tempo, you have, for example, 642 different prices since 2016 (6 prices per period, 7 available power levels, with several changes per year sometimes). Automatic import greatly simplifies the configuration.

The idea behind this repo is to allow anyone to make a PR to add a CSV from their energy provider and to code a small script that converts that CSV into the format expected by Gladys.

I personally coded all the conversion scripts with AI and the expected result was always correct without any changes, so honestly it takes 2 minutes :smiley:

The repo is here:

I’m of course open to feedback, and in the future open to PRs on this repo to add as many contracts as possible :wink:

Knowing that this repo will need to be updated each time a provider changes prices, we’ll therefore have to find ways to automate all of that as much as possible!

5 Likes

Hello everyone!

I started testing today on the data some people sent me.

Option Tempo :

I tested on @prohand’s installation, and I get exactly the same values as his EDF dashboard :white_check_mark:

Option Heure Creuse/Heure Pleine EDF

I am still looking for testers!

You need to be a Gladys Plus + Enedis user (Tutorial: Visualiser sa consommation électrique dans Gladys avec Enedis | Gladys Assistant), and send me privately the contracted power on the contract as well as a screenshot of your consumption in euros, month by month.

Option Base EDF

I ran tests on @qleg’s installation, but for now I have differences of a few euros. We’re checking whether his contract has surcharges because we see a strange subscription price on his EDF dashboard.

I’m looking for other testers to see if the problem is general or if it’s just him :slight_smile:

PS: I should mention there’s a 10-day free trial with no commitment on Gladys Plus. If you want to connect Enedis and test your data with me, that’s possible!

Thanks in advance

2 Likes

Good evening,
my contract is with EDF — it’s a Vert électrique Auto heures creuses + week-end.
It’s an HP/HC contract.
I’m