DurgNomis-drol / ha_toyota

Toyota Connected Services integration for Home Assistant.
MIT License
148 stars 32 forks source link

Integration not working anymore, failed to start #160

Closed 0p3t0 closed 10 months ago

0p3t0 commented 1 year ago

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 commented 1 year ago

Same issue

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

vix66 commented 1 year ago

Same issue

mario-pranjic commented 1 year ago

+1

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

mario-pranjic commented 1 year ago

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

AdrianStanciu22 commented 1 year ago

Just few people encounter this trobuble?

SrvRpi commented 1 year ago

Same. It works very unstable, constantly losing connection.

rbrymora commented 1 year ago

+1, stopped working 2-3 weeks ago.

hercza commented 1 year ago

+1, same problem here!

panosru commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 11 months ago

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 commented 11 months ago

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 commented 10 months ago

Same here!

mario-pranjic commented 10 months ago

+1.

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

CM000n commented 10 months ago

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 commented 10 months ago

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 commented 10 months ago

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?

mario-pranjic commented 10 months ago

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 commented 10 months ago

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.

disi commented 10 months ago

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

luigisax commented 10 months ago

same issue, yaris cross - v 1.3 - new app

BarbaGrump commented 10 months ago

chiming in...RAV4, new app

SrvRpi commented 10 months ago

Same. CH-R v1.3

radzio commented 10 months ago

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)
TheNickFury commented 10 months ago

Same issue with yaris cross - v 1.3 - new app

jdoebv2 commented 10 months ago

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 commented 10 months ago

From my side, the pull request with the changes for the new Toyota API would be ready for merging: https://github.com/DurgNomis-drol/ha_toyota/pull/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. ๐Ÿ˜Š

SrvRpi commented 10 months ago

Works with new version v2.0.0

0p3t0 commented 10 months ago

image Unfortunately also with v2.0.0 still not working image

renewoensdregt commented 10 months ago

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 commented 10 months ago

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 ๐Ÿ˜‰ ๐Ÿ˜›