-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Tesla] Error fetching the list of vehicles : 412:org.apache.cxf.jaxrs.impl.ResponseImpl$1@c37d94 #16318
Comments
This issue has been mentioned on openHAB Community. There might be relevant details there: |
I have the same issue. Tesla OFFLINE since yesterday. [ERROR] [internal.handler.TeslaAccountHandler] - Error fetching the list of vehicles : 412:org.apache.cxf.jaxrs.impl.ResponseImpl$1@160fc1d My Teslafi.com account also stopped receiving data and required a change of authentication. It was mentioned that "Tesla has changed to a new officially supported Tesla API to connect your car" Happy to support or test something if required. |
I can confirm that I have the same. I cannot say, when I will find time to look into it, though; hopefully at the weekend. |
I made a simple change and tested on SNAPSHOT version, that the binding is working great again. EDITED: Sorry I'm wrong. Tesla Account is working great, but vehicleData is not loaded. I will investigate the situation. |
Maybe there is some other API change as I get these 404.
|
can you please share the snapshot? |
https://download.vojtechzavrel.cz/org.openhab.binding.tesla-3.4.6-SNAPSHOT.jar |
Thanks! will this work on OH 4.1.1? |
See this: timdorr/tesla-api#763 |
I read a bit through the corresponding issue on teslafi, and ist seems that only changing the endpoint from /vehicles to /products might lead to further problems. The response might now contain not only vehicles but also other tesla products (e.g. batteries), so it would be a good idea to filter the response for vehicles. |
yeah. Makes sense. And maybe a future feature request could be to model the wall chargers (I have one for example) which are already supported into the the tesla app.... P.S. What I'm really concerned is the above information that they plan to cut off the regular access to the API and use only the official API channel which may get charged after a while... |
This issue has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/tesla-account-rapidly-flapping-offline-online/153363/3 |
I also made some changes - https://smedley.id.au/tmp/org.openhab.binding.tesla-4.1.2-SNAPSHOT.jar |
Does not work for me. The account thing goes online and the car thing appears in the inbox (when awake) but all channels stay NULL.
|
Yes I got same results |
Finally I made it working! Even sending commands (at least charging, sentry, auto conditioning ON/OFF) is working.
|
Based on some information at https://teslamotorsclub.com/tmc/threads/using-fleet-api-to-control-my-powerwall-reserve-percentage.320164/page-2 there were some API issues yesterday... |
Started a thread about moving to Fleet API... |
Can confirm it working with the snapshot. |
Hi, Cheers, P.S. Or I may do it myself and open another PR but I guess whoever is changing now endpoints has done that anyway... |
oops - thread about moving to Fleet API ithat I mentioned in #16318 (comment) is at https://community.openhab.org/t/tesla-teslapowerwallcloud-time-to-think-about-fleet-api/153392/2 |
@psmedley - i don'ŧ see more changes in the API than switching to @nommy68 - it's not working for me with models - what tesla model do you have? If I add the discovered vehicle (it is type vehicle not type models) i got |
The change to Fleet API isn't too bad - the hard bit is the need for a proxy to send commands via the REST api. You need to wake the vehicle to generate the list of channels. |
@psmedley - sorry I didn'ŧ ment moving to the fleet API but the curret hotfix - switchting for product And I'm still recieving 404 error:
|
I installed org.openhab.binding.tesla-4.2.0-SNAPSHOT.jar. Doesn't work for me. I get a server error when I try to enable the bridge-thing. Any help available? |
@hlemmens Are you running a 4.2.0-SNAPSHOT runtime? If so, there is no need to install the jar separately. |
I'm running the 4.1.1 stable version. |
I have a mid 2020 Model 3, no other Tesls products. |
@nommy68 My problem is probably not related to the model as I don't even get a bridge running. I have a 2019 Model 3. |
I can confirm everyting is working again with my Model 3 (2019) after following the procedure with the 4.1.2-SNAPSHOT! |
I find the tesla add ons in 2 folders: Which one should I delete and replace? |
Uninstall the binding via the add-ons store, and copy the snapshot into /usr/share/openhab/addons |
Thanks. Works fine now. Sorry, to optimistic. Bridge blocks from time to time. Debug log: looks like an issue we had last year issue #14435 |
This snap doesn't work on my OH 3.4.4 |
Setting charging amps and start/stop charging is a forbidden command. can some help please? |
Is this a new vehicle? Newer vehicles are prohibited from sending commands via the deprecated owners api. I have a test version of the binding using the newer fleet api. there is a forum post about this at https://community.openhab.org/t/tesla-teslapowerwallcloud-time-to-think-about-fleet-api/153392 - DM me for a link to the binding and instructions on how to register your card to the binding. |
It seems the new snapshot is unable to refresh the access token: 2024-02-05 06:19:40.318 [DEBUG] [internal.handler.TeslaVehicleHandler] - Querying the vehicle, response : 401, Unauthorized This is the same issue as we had in #14435 Anyone able to fix? |
Please create a seperate issue as this is closed. |
… On 5 Feb 2024, at 19:42, lsiepel ***@***.***> wrote:
Please create a seperate issue as this is closed.
—
Reply to this email directly, view it on GitHub <#16318 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADY6ZUJVDQ7F4YYQLM6HWLTYSERY3AVCNFSM6AAAAABCHBQHS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRXG44DKNBRGY>.
You are receiving this because you were mentioned.
|
Suddently this night my Tesla things become offline.
When I check the log I received follow error:
[ERROR] [.internal.handler.TeslaAccountHandler] - Error fetching the list of vehicles : 412:org.apache.cxf.jaxrs.impl.ResponseImpl$1@c37d94
Potential fix here:
teslamate-org/teslamate#3629
The text was updated successfully, but these errors were encountered: