bajansen / home-assistant-frank_energie

Custom Component voor Home Assistant Frank Energie prijsinformatie
66 stars 18 forks source link

Instellen mislukt, wordt opnieuw geprobeerd #101

Closed Mickeyr61 closed 7 months ago

Mickeyr61 commented 7 months ago

Thanks for the great Frank Energy plugin! I have installed the plugin using the documentatie. Everything went fine, exempt for fetching the data. I am stuck with the above error and no devices or entities are installed. I enabled the log and it says:

2024-02-14 12:22:07.977 DEBUG (MainThread) [custom_components.frank_energie.coordinator] Fetching Frank Energie data 2024-02-14 12:22:08.384 INFO (MainThread) [custom_components.frank_energie.coordinator] No gas prices found for user, falling back to public prices 2024-02-14 12:22:08.384 INFO (MainThread) [custom_components.frank_energie.coordinator] No electricity prices found for user, falling back to public prices 2024-02-14 12:22:08.473 DEBUG (MainThread) [custom_components.frank_energie.coordinator] Finished fetching Frank Energie coordinator data in 0.497 seconds (success: False)

Maybe it is a password error? Where is the username and password stored?

Mickeyr61 commented 7 months ago

I tried without login in. This works and created 17 entities. Maybe I am to enthousiastic, my contract starts tommorow and maybe that is the reason there is no connection?

VlarpNL commented 7 months ago

I have the same issue, however, I've been a customer for a couple of years. So that shouldn't be the problem. If I add the integration without logging in at Frank then it's fine, it adds all sensors etc. When I login then the integration gives a "failed setup, will retry" error and no sensors are added to HA.

I'm not getting any apparent error in the logs as far as I can see.

HiDiHo01 commented 7 months ago

The API has been changed so the component is broken for logged in data.

Op wo 21 feb 2024 08:43 schreef VlarpNL @.***>:

I have the same issue, however, I've been a customer for a couple of years. So that shouldn't be the problem. If I add the integration without logging in at Frank then it's fine, it adds all sensors etc. When I login then the integration gives a "failed setup, will retry" error and no sensors are added to HA.

I'm not getting any apparent error in the logs as far as I can see.

— Reply to this email directly, view it on GitHub https://github.com/bajansen/home-assistant-frank_energie/issues/101#issuecomment-1956059935, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXDM265NG4V4FDKZIQPOXRLYUWQQ5AVCNFSM6AAAAABDIGGYYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJWGA2TSOJTGU . You are receiving this because you are subscribed to this thread.Message ID: @.*** com>

AbeltjeNL commented 7 months ago

Data URL:

https://frank-graphql-prod.graphcdn.app/

Result:

GraphiQL has been disabled for this service.

Same issue on my end. Is this fixable? I cannot find any API documentation whatsoever.

twoenter commented 7 months ago

Same issue here!

solid-pixel commented 7 months ago

Same issue here unfortunately :(

luchtgitaar commented 7 months ago

+1

DCSBL commented 7 months ago

Please just press the 👍 button on the first post if you have this issue.


We should adjust https://github.com/DCSBL/python-frank-energie to match the latest changes in the Frank Energie API. Because this is not documented you have to do some magic with looking at the traffic from the app to the server.

I am unable to work on this at the moment, so please feel free to do the above and suggest changes via a PR in this library.

DCSBL commented 7 months ago

https://github.com/bajansen/home-assistant-frank_energie/releases/tag/v3.0.0-beta-1

De API was aangepast, vooral rondom het ophalen van gepersonaliseerde data. De API heeft support gekregen voor meerdere 'sites'; Een gebruiker met meerdere huizen/locaties. Toevallig heb ik dat ook dus kon makkelijk testen (Ik ben onlangs verhuist en had overlap, dus ze hebben het via deze methode in hun systeem gezet).

"Works on my machine", zou nice zijn als jullie de beta kunnen testen en/of een code-review te doen in https://github.com/bajansen/home-assistant-frank_energie/pull/103