-
-
Notifications
You must be signed in to change notification settings - Fork 29.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linky Integration: cannot connect with my valid credentials #33634
Comments
Hi ! Are you using a personal or professional account ? At which time of day are you trying to add the integration ? Thanks |
Hi, I use a personnal account. Whatever the time of the day I try to connect I have the same message. Rgds |
Hi, Same behavior for me aswell (personnal account) 👍 |
Can you try to set the Do you have special network going on over your NAS ? @Antexa may you specify your operating environment ? I've just set up my Linky on a HA testing set up, working perfectly. Thanks |
Are your accounts new ? There is an issue on the underlying library side that may be linked to your issue : Pirionfr/pyLinky#28 The maintainer seems to be very responsive, you may check this and help him. |
I have access to enedis account since 6 months but I have my data since 1 or 2 months maximum. let us know if you find a solution to this. You are right, it's probably link to the issue you mentionned in the above message. |
I have the same problem with incorrect credentials (new personal account). If I try the dependency Looking in the pylinky/client.py file, there is this variable LOGIN_URL = "https://espace-client-connexion.enedis.fr/auth/UI/Login" This URL no longer exists so there is a (logical) error. Hopefully the dependency (pyLinky) can be fixed in the future ;) |
Okay so the issue is comming from the underlying library. So we should all follow this issue Pirionfr/pyLinky#28 Closing this issue. |
Why closing this issue because, even if the maintainer is responsive, the pylinky will be updated when the bug will be fixed, so we can keep this issue open to avoid multiple issues reported for the same problem??? |
Hello I am facing the same problem with valid credentials not being accepted to connect. |
@Quentame please reopen to track the pylinky upgrade |
The issue seems to have been corrected (pyLinky v0.5.0) but the way to get credentials is a bit more complex : |
Has anyone tried it with this method ? |
hello, i'm not a HA user but i could give you some info which is similar with other integration or other box. So no end-user could use the API authorization (Oauth2), only company is allowed to perform the complete job to recieve access_token and refresh_token. i did that way for lifedomus box. I have my own company, i have signed a contract with enedis, publish a web server to establish the dialog with end-user, gave enedis access to test the mecanism, then recieve the 2 client_id and client_secret. Then and only then end-user application could call enedis API with access_token to request for linky data. |
Quelle bande de pénibles ... |
@jluc2808 Any opportunity to use your html page to get our credentials? |
yes that need to be tested and surely adapted to send token to HA , as i don't know what is the standard dialog to send to HA , i need some help , perhaps it's easier to gon this discussion with my direct email. |
just to say , my program is free (and will stay free), it could be used to dialog with any box, with a little modification according to the way of incoming info for the box. so if @Th0mC or @peioe or anybody else could give me some help for this part i'm open to make the modification and publish the new page for HA. |
To be honest, if Enedis requires an outside service ran by a company to integrate into HA, I think I'm just going to give up and not do it. Maybe I will reconsider in the future if someone gets it working but right now I think what they are doing is not ok and I'd rather not use it at all. Hopefully you can find someone else to test it, good luck. |
Just received my clientID and my clientSecret for the sandbox. |
maybe @NabuCasa can help us on this. |
thanks for the reply , how could contact @NabuCasa ? |
Wait wait wait, Nabu-casa does not provide support at all. See https://www.home-assistant.io/ in the footer Only support here are volunteer, code mainteners or the Discord https://discord.gg/NAKujAp |
Linky integration will be removed in 0.114.0, and Enedis integration will come next. It' longer than expected and first time for me dealing with OAuth2. I'll tell you when you can test the next integration. Sorry for the delay. |
I can't find a way to integrate Enedis? @Quentame |
It's not available. |
Hi @Quentame ! Thanks a lot for your work ;) |
Component has been disabled while Enedis integration is being worked on as detailed on this issue: home-assistant/core#33634
Component has been disabled while Enedis integration is being worked on as detailed on this issue: home-assistant/core#33634
Hi @Quentame , It seems that both ENEDIS and GRDF share the same API ? If so, do you think your upcoming code will be OK for both Link and Gazpar ? By the way, thanks a lot for your job on HA integration ;o) |
@urbatecte No, the 2 links you give for ENEDIS and GRDF APIs are not designed to get the individual gaz or electricity index ; they give some global information for France or for a specific geographic area. The API for GRDF is here: |
I wanted to get in that discussion about the possible utility meter integration. Indeed the old component was only getting raw data into home assistant. Since then we got a new tool to represent utility meters. I would like to help in development if needed to make it more user friendly. The main issue was that the data wasn't real-time and HA doesn't really handle history data. I tried discussing the matter with the core team without success. The issue lies in the recorder and we would need a API or something to add old data into it, which isn't possible so far. It would be nice to have a country wide available utility meter display something like the cost of the last or current day based on data asked by the integration about the characteristics of the billing (like high hours rates and the such). Is there a repo to follow the development of this feature ? Thanks again for the good work ! |
isn't that how the utility meter works already? |
I was 2 weeks in vacation. Will be back to work in 1-2 weeks. When I left, I saw an issue in the @jluc2808 wrapper API that needs changes. |
The issue is that the data is from yesterday at least meaning that you can't compare it to other sensors without time trickery. The solution would be to tweak or hack the recorder but that's quite messy if not adressed properly. |
I have seen a plugin with Domoticz, perhaps this could help for development : https://github.com/guillaumezin/DomoticzLinky |
If you need any beta testers for Enedis new integration, I'm in ;) |
+1 beta tester available |
me too 😉 |
I'm in too!
Le jeu. 24 sept. 2020 à 16:00, RobertLesgros <notifications@github.com> a
écrit :
… me too 😉
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#33634 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMQPUX2Q47FWJXRQK4TQVHTSHNGHVANCNFSM4L6N4GNQ>
.
|
Anything new? Do you need help on something? |
The A new I'll let you know when the time comes. |
Hey @Quentame , |
Link updated 😉 |
Why don't use : https://enedisgateway.tech/ ? |
I like the concept but I'm not a fan of hosted services, also I can't find the code for this app anywhere, i doubt this is open source. |
Well, the issue is the fact that the API is now limited to company usage ; you can't have an API key if you don't have a business working with Enedis (or having a big project). This Enedis Gateway is right now the only way to use officially the API |
Self employed developpers can't get credentials ? Does your app needs to be reviewed in order to qualify for an API key ? |
They ask for SIRET and such I'm guessing. For those the Home assistant team got NabuCasa to do the endorsement for the community. I think it should be asked if there's no other way. |
Hello, |
Maybe we can use this project : https://github.com/bokub/linky ? |
Initially this project was a POC to see the possibilities of NodeRED :p I could share the flow without problem, but as it is, it would be unusable without the signing of a legal contract with Enedis. Do not hesitate to go on my Discord dedicated to home automation: |
The problem
Cannot connect on linky integration with my valid credentials (but working on https://mon-compte-particulier.enedis.fr/).
I have the issue: " Erreur inconnue: merci de réessayer plus tard (pas entre 23h et 2h)". I try to add it since since few weeks.
It works fine on Enedis and EDF website.
it does not work either with the intergation in configuration.yaml file or directly in the lovelace UI.
Environment
Problem-relevant
configuration.yaml
Traceback/Error logs
Additional information
The text was updated successfully, but these errors were encountered: