empierre / domoticz_linky-deprecated

Get Linky smart meter index to Domoticz
https://easydomoticz.com/forum/viewtopic.php?p=45583#p45583
GNU General Public License v3.0
15 stars 16 forks source link

Use Enedis new API? #23

Open LudovicRousseau opened 4 years ago

LudovicRousseau commented 4 years ago

Enedis now provides a new API to get access to Linky data. https://datahub-enedis.fr/data-connect/

I discovered that after my domoticz_linky script failed with "Temporary Redirect" and I saw that the concurrent project pyLinky has moved to the new API in https://github.com/Pirionfr/pyLinky/commit/62bbcc8355167014d4e763d7c5de6faaf0dd39ef

I have not yet had a look at the new API. This issue ticket is just to let you know about the new API.

tobiasisenberg commented 4 years ago

It seems weird to use this new API since when applying for access the form requires some APP with an URL and a sketch (if my French serves me well). This seems total overkill, and does not seem to be directed at customers who only want to access their own data on a regular basis. There do seem to be other APIs (https://datahub-enedis.fr/data-connect/documentation/metering-data-v4/) that can serve JSON data based on simple queries for single meters, but it is unclear to me how to get access to these APIs. Did anyone succeed in getting access to one of these APIs?