Hello,
In order to monitor the electricity consumption of my home, I looked a bit at what the competitors offer to get the information directly from my Linky meter.
EDIT (Pierre-Gilles): The Enedis-Linky integration is available!
The documentation:
Hello
No, because Gladys is in Node.js
@Madmartigan developed a gateway => https://enedisgateway.tech
No need for a specific library, I am currently testing it, to be seen for a Gladys integration
Indeed, if such data is available, it can be more interesting.
Then again, it depends on what each person is looking for. Daily consumption, historical data over x days/months, instant consumption, hourly consumption.
EDIT: On this website they say that Enedis provides data every 30 minutes up to 24 hours.
EDIT 2: From what I’ve seen, Enedis offers an API, but only for professionals..https://datahub-enedis.fr/data-connect/
Yes, that’s it, that’s the principle of the gateway.
Given the complexity of the matter, but I wonder if it wouldn’t be worth integrating the Pro API from Enedis on the Gladys Gateway side?
I can take responsibility for Gladys users ![]()
I’m not necessarily confident about integrating an external API set up for free, which may not necessarily be sustainable in the long run.
If the service is no longer available, for Gladys users it will be Gladys’s fault, which is a mediocre UX.
Exact +1 for the more (version since you need to be a company)
If you need a PDL or Enedis credentials for testing, don’t hesitate
Citation
Exact +1 for the more
Absolutely agree!
That’s not possible, you need something directly on your meter (teleinfo)
I’m following this project closely https://twitter.com/faire_soi_meme/status/1331243067039510534?s=19
I saw the teleinfo systems go by. The DIY project from your tweet looks nice.
Yeah, self-powered on the TIC. Quite a challenge in itself.
There are already TICs of this kind that you can find on Amazon (D2L WiFi : Amazon.fr: Informatique) or you can craft it yourself (https://fumeebleue.fr/)
As for the Enedis APIs, personally I set up the « enedisgateway.tech » mainly for Home Assistant users as we don’t have a legal entity in France that can hold the contract with Enedis ![]()
Anyway, feel free to use it or not ![]()
@pierre-gilles if you need info to set up the Gladys Enedis gateway, don’t hesitate ![]()
In any case, personally, I don’t plan to shut down the service until Enedis decides to open the APIs to individuals (which would make things much easier…)
I understand, it’s a great idea!
But since we have a legal entity here, we might as well take advantage of it and group Gladys users together. I noticed there’s rate-limiting on the Enedis Pro side. For now, your platform may not be overloaded, but if we put all the Home Assistant users in France + all the Gladys users in France, it could become problematic in the long run ![]()
I completely agree ![]()
We are limited to a maximum of 5 queries/s.
Currently, I have implemented a queue system to avoid overloading the Enedis service and getting responses like « rate limit reached ».
If you want detailed consumption in 30-minute increments (10 minutes or 60 minutes in certain specific cases), you can request a maximum of 1 week of data per query and therefore approximately 52 requests if you want to retrieve 1 year of consumption…
For information, I currently have 765 users on the gateway, which generates approximately 1 million queries per month, and I have never exceeded the 5 queries/s limit.
PS: For information, the Enedis APIs are not very stable.
I have users who regularly receive 500 errors ![]()
If we know that it is not necessarily stable, we can try to manage it. And then it depends on the degree of freedom we give. And we can imagine that if there is a timeout, we restart the request 30 minutes later.
Then how does the history work on HA? We need to look into it if we want to imagine a tile with a monthly consumption graph, or keep in memory the consumption of year N-1 for comparison.
Personally, I always make a request for 1 week and I come back to overwrite the data if it already exists.
Well, personally I don’t use the HA integration, I made a NodeRED flow that sends everything directly to my Influxdb + MQTT.
I then have a Grafana dashboard that queries the InfluxDB to get a good view of the history with graphs & co:
The historical/graphical mode of HA is very limited compared to a Grafana or other…
Your Grafana makes you dream ![]()
Everything is available here:
Yes, that’s what needs to be done.
That’s clear, your Grafana is magnificent! ![]()
I’ll keep it in mind to imagine the next box dashboards on Gladys!
It’s strange, I can’t register my meter on the Enedis website.. Could it be because the distributor is Sorégies (local distributor)?
Edit: It seems to be the case.. In the simulations, Enedis says they do not manage the locality.