Closed hirschaj closed 9 months ago
looks like the underlying api client needs some updates. i have this problem but not with the python client, they had an authentication fix in october. https://github.com/CJNE/pyporscheconnectapi/pull/35
Authentication continuously fails for me now. Unfortunately this renders this plugin unusable until an update happens to fix the authentication mechanism.
@hirschaj I'm working on a fix. Authentication works for me (locally with code changes), but I can't get Emobility info yet from the new API. I will update the package when things are solved
@bigkraig can you re-test? I;ve updated the plugin to the latest version of porsche-connect package. For me it is not working, but want to double check if it is working for you?
@jasper-seinhorst - The update appears to have fixed the issue. The plugin has authenticated, is collecting data, and appears to be stable. Thank you so much for getting it fixed!
Super weird, it is not working for me unfortunately. Getting 400 errors myself! Glad it works for you. Will leave this issue open until issues are solved at my end too. Thanks for reporting the issue 👍
@hirschaj I was too fast with my comment. It works right now, must have been an API outage or something like that. Im closing the issue.
Describe The Bug:
I randomly get the error message "Porsche Connect connection failed". When this happens, the plugin stops working until it gets restarted manually. I get this failure basically every single day so I have a daily cron job set to run in the middle of the night to try and kickstart this plugin.
To Reproduce:
Nothing special but I do also have the electric sidecar app running on my phone which probably hits the same API. There might be a rate limiting issue due to MyPorsche, Electric Sidecar, and this plugin all trying to use the same API (guessing at what the problem might be).
Expected behavior:
Would love to have a graceful recovery where this app tries to connect again after an appropriate timeout period (maybe 5-10 minutes).
Logs:
Plugin Config:
Screenshots:
Environment: