Skip to content
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

Integration not working anymore, failed to start #160

Closed
0p3t0 opened this issue Oct 6, 2023 · 32 comments · Fixed by #198
Closed

Integration not working anymore, failed to start #160

0p3t0 opened this issue Oct 6, 2023 · 32 comments · Fixed by #198
Assignees
Labels

Comments

@0p3t0
Copy link

0p3t0 commented Oct 6, 2023

Starting from 2nd october the integration is not able anymore to start

image
image
image

Checking debug log this is relevant lines:
2023-10-06 22:13:28.819 DEBUG (MainThread) [custom_components.toyota] The car is reporting data in metric
2023-10-06 22:13:31.965 ERROR (MainThread) [custom_components.toyota] Error fetching toyota data: HTTP: 400 - {"timestamp":1696623211942,"status":400,"error":"Bad Request","message":"No device associated with VIN","errorCode":"CMA400"}
2023-10-06 22:13:31.966 DEBUG (MainThread) [custom_components.toyota] Finished fetching toyota data in 7.722 seconds (success: False)

Please let me know if you need more details, I'm glad to help :)
Best regards

@AdrianStanciu22
Copy link

AdrianStanciu22 commented Oct 7, 2023

Same issue

Error fetching toyota data: HTTP: 400 - {"timestamp":1697607877295,"status":400,"error":"Bad Request","message":"No device associated with VIN","errorCode":"CMA400"}

@vix66
Copy link

vix66 commented Oct 7, 2023

Same issue

@mario-pranjic
Copy link

mario-pranjic commented Oct 8, 2023

+1

I tried to remove enry and configure it again. Got OK, but failed in terms of services.
toyota_hacs_fail

@mario-pranjic
Copy link

Any feedback on this one? This integration is completely broken in my setup.

@AdrianStanciu22
Copy link

Just few people encounter this trobuble?

@SrvRpi
Copy link

SrvRpi commented Oct 20, 2023

Same. It works very unstable, constantly losing connection.

@rbrymora
Copy link

+1, stopped working 2-3 weeks ago.

@hercza
Copy link

hercza commented Oct 24, 2023

+1, same problem here!

@panosru
Copy link

panosru commented Oct 25, 2023

Same for me...

2023-10-25 20:54:40.786 ERROR (MainThread) [custom_components.toyota] Error fetching toyota data: Update canceled! Toyota's API was too slow to respond. Will try again later...
2023-10-25 20:54:40.787 WARNING (MainThread) [homeassistant.config_entries] Config entry '******' for toyota integration not ready yet: None; Retrying in background
2023-10-25 20:54:56.666 ERROR (MainThread) [custom_components.toyota] Error fetching toyota data: Servers are temporarily unavailable

image

@SrvRpi
Copy link

SrvRpi commented Oct 31, 2023

Again ...

Logger: custom_components.toyota
Source: helpers/update_coordinator.py:322
Integration: Toyota Connected Services (documentation, issues)
First occurred: 9:40:29 AM (6 occurrences)
Last logged: 9:48:19 AM

Error fetching toyota data: Update canceled! Toyota's API was too slow to respond. Will try again later...

@briandelicata
Copy link

I am still receiving this error even on the latest master. "HTTP: 400 - {"timestamp":1700492682007,"status":400,"error":"Bad Request","message":"No device associated with VIN","errorCode":"CMA400"}"

However if debug logging is enabled, the car details and sensors data are shown for only one of my cars registered on the new MyToyota app.

@renewoensdregt
Copy link
Contributor

It doesn´t work for me either, but with a different message :

Source: custom_components/toyota/init.py:89
Integration: Toyota Connected Services (documentation, issues)
First occurred: November 22, 2023 at 16:31:26 (928 occurrences)
Last logged: 10:42:58

Please setup Connected Services if you want live data from the car. (********)

@andyz68
Copy link

andyz68 commented Dec 25, 2023

It doesn't work for me to.
I installed the last version 1.3.0, i'm able to do the login but the integration doesn't work with this message "failed to setup"

I tryed to reinstall the intergration and to restart HA with the same issue.

Screenshot 2023-12-25 091107
image

HA Version
image

@DanielePalombo
Copy link

Same here!

@mario-pranjic
Copy link

+1.

Getting "Failed to setup" after completing setup process and entering username/password.
No additional info in logs this time.

@CM000n
Copy link
Collaborator

CM000n commented Dec 26, 2023

Presumably the old API endpoints are gradually being switched off or neglected by Toyota. It is unlikely that we will make a fix for this.
The next goal is to switch to the new Toyota API endpoints.

@mario-pranjic
Copy link

That is funny, since I have been migrated to new Toyota App at least month ago. The old one doesn't work anymore for me.

@CM000n
Copy link
Collaborator

CM000n commented Dec 26, 2023

That is funny, since I have been migrated to new Toyota App at least month ago. The old one doesn't work anymore for me.

Sorry, I don't understand. What's so funny about that?

@CM000n CM000n self-assigned this Dec 26, 2023
@mario-pranjic
Copy link

Well, I would expect it to work as intended after migration on Toyota side and new version of component here, but it fails, and are bit confused what might be the cause.

@CM000n
Copy link
Collaborator

CM000n commented Dec 26, 2023

Well, I would expect it to work as intended after migration on Toyota side and new version of component here, but it fails, and are bit confused what might be the cause.

Why should that work? We are in no way officially affiliated with Toyota and there is no official documentation of the API endpoints.
For these reasons, the Home Assistant component has not yet been converted to the new API endpoints. You seem to have misunderstood or misread something 😉 With version 1.3.0 there was only a quick fix for which we can in no way guarantee whether and for how long it will work.
We are currently still gaining our knowledge through trial and error and will probably only be able to start adapting the Home Assistant component to the new endpoints in the next few weeks.

@CM000n CM000n pinned this issue Dec 27, 2023
@disi
Copy link

disi commented Dec 30, 2023

I just add myself to the list with my Toyota Corolla :) Version 1.3 -> new app.

@luigisax
Copy link

luigisax commented Jan 2, 2024

same issue, yaris cross - v 1.3 - new app

@BarbaGrump
Copy link

chiming in...RAV4, new app

@SrvRpi
Copy link

SrvRpi commented Jan 2, 2024

Same. CH-R v1.3

@radzio
Copy link

radzio commented Jan 2, 2024

Same here, RAV4

2024-01-02 13:15:22.909 DEBUG (MainThread) [custom_components.toyota] Finished fetching toyota data in 0.947 seconds (success: False)
2024-01-02 13:15:29.719 DEBUG (MainThread) [custom_components.toyota] Finished fetching toyota data in 1.037 seconds (success: False)
2024-01-02 13:15:42.132 DEBUG (MainThread) [custom_components.toyota] Finished fetching toyota data in 1.467 seconds (success: False)

@CM000n CM000n linked a pull request Jan 2, 2024 that will close this issue
@TheNickFury
Copy link

Same issue with yaris cross - v 1.3 - new app

@jdoebv2
Copy link

jdoebv2 commented Jan 13, 2024

Same for me with v 1.3. …..failed to setup.
Authentication works because if I use the wrong password I get an error message.

@CM000n
Copy link
Collaborator

CM000n commented Jan 13, 2024

From my side, the pull request with the changes for the new Toyota API would be ready for merging: #198
Currently I'm just waiting until @DurgNomis-drol has time for a review to approve the PR.
But if you want, you can already test it manually. 😊

@CM000n CM000n unpinned this issue Jan 14, 2024
@SrvRpi
Copy link

SrvRpi commented Jan 15, 2024

Works with new version v2.0.0

@0p3t0
Copy link
Author

0p3t0 commented Jan 15, 2024

image
Unfortunately also with v2.0.0 still not working
image

@renewoensdregt
Copy link
Contributor

image Unfortunately also with v2.0.0 still not working image

I had the same issue. I resolved it by first deleting the old integration from integrations and HACS, then rebooted HA fully and once done added the addon to HACS again and then in the integration and now it completely works fine.

@CM000n
Copy link
Collaborator

CM000n commented Jan 15, 2024

Unfortunately also with v2.0.0 still not working image

Someone else who hasn't read the changelog properly https://github.com/DurgNomis-drol/ha_toyota/releases/tag/v2.0.0 😉 😛

Repository owner locked as resolved and limited conversation to collaborators Jan 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.