Giter VIP home page Giter VIP logo

Comments (24)

DurgNomis-drol avatar DurgNomis-drol commented on May 26, 2024 4

See #204 for the reason it does not work, will publish a fixed version soon

from ha_toyota.

DurgNomis-drol avatar DurgNomis-drol commented on May 26, 2024 1

Can confirm fix works, will be releasing a new version shortly!

from ha_toyota.

primeroz avatar primeroz commented on May 26, 2024 1

thank you

from ha_toyota.

Patronen avatar Patronen commented on May 26, 2024

Same issue with my system. I've tried deleting both the integration and the HACS package while restarting HA with no effect. Following this issue, thanks for reporting

from ha_toyota.

Aad3229 avatar Aad3229 commented on May 26, 2024

Exactly the same here. All sensors unavailable:
Error fetching toyota data: HTTP: 429 - Too Many Requests. Please try again later.
Error fetching toyota data: Update canceled! Toyota's API was too slow to respond. Will try again later...

from ha_toyota.

ajain-93 avatar ajain-93 commented on May 26, 2024

Tried updating the integration using the github-repo (rather than the release in HACS).

After Disabling and Enabling the integration, there is an Failed to set up error on the integration screen.
image

Checking the logs, it shows the same 429, as well as an Update Cancelled error.

Log Output

This error originated from a custom integration.

Logger: custom_components.toyota
Source: helpers/update_coordinator.py:223
Integration: Toyota Connected Services (documentation, issues)
First occurred: 8:52:54 AM (139 occurrences)
Last logged: 11:58:46 AM

Error fetching toyota data: HTTP: 429 - Too Many Requests. Please try again later.
Error fetching toyota data: Update canceled! Toyota's API was too slow to respond. Will try again later...

from ha_toyota.

lkucytowski avatar lkucytowski commented on May 26, 2024

It's now taking forever to pull any data in their official app, somebody in Toyota needs to restart the NGINX ;)
Their infrastructure is in shambles, probably running on a potato, hopefully the problem will go away soon.

from ha_toyota.

DurgNomis-drol avatar DurgNomis-drol commented on May 26, 2024

It's now taking forever to pull any data in their official app, somebody in Toyota needs to restart the NGINX ;) Their infrastructure is in shambles, probably running on a potato, hopefully the problem will go away soon.

Toyota's servers are the worst things I have ever worked with 😆 😭 They crap out for no reason what so ever

from ha_toyota.

fransward avatar fransward commented on May 26, 2024

Same here. Could it be that they modified their api rate limiter?

from ha_toyota.

ald3baranfr avatar ald3baranfr commented on May 26, 2024

hello
same issue for me.

from ha_toyota.

daha76 avatar daha76 commented on May 26, 2024

Same issue for me. I can't get it work for several days...

from ha_toyota.

rpetteruti avatar rpetteruti commented on May 26, 2024

Same here

from ha_toyota.

ndriu avatar ndriu commented on May 26, 2024

same here for many hours...

from ha_toyota.

AdrianStanciu22 avatar AdrianStanciu22 commented on May 26, 2024

A possible explanation could be here: https://twitter.com/samwcyo/status/1597792097175674880

from ha_toyota.

ajain-93 avatar ajain-93 commented on May 26, 2024

The API for Toyota (MyT) is still online. Debuggning a HASS integration was a little bit too much for me. I tried my shot reverse-engineering the API and realised that this integration is an spinoff/inspired from the project https://github.com/calmjm/tojota.

I have now created a fork of the above project, which publishes data to MQTT when executed (this can be accomplished via an automation and Shell Command), from which HASS can automatically pick up the data. Note, I do not have any remote control functions, hence they are not present in the published MQTT data.

image

If @DurgNomis-drol could point me in the right direction for debug I can help try to solve this issue in this integration.

from ha_toyota.

primeroz avatar primeroz commented on May 26, 2024

even with testing just the simple example in https://github.com/DurgNomis-drol/mytoyota/tree/v0.7.7 i get 429 as soon as client.get_vehicle_status(car) is called which seems to issue 4 concurrent requests https://github.com/DurgNomis-drol/mytoyota/blob/v0.7.7/mytoyota/client.py#L248

I guess we need to limit the number of concurrent requests ?

from ha_toyota.

Iture avatar Iture commented on May 26, 2024

No, it doesn't work (I've tried this approach)
I just added an issue here:
DurgNomis-drol/mytoyota#204

from ha_toyota.

DurgNomis-drol avatar DurgNomis-drol commented on May 26, 2024

@Iture issue seems like a good reason as to why it does not work, or they have added aggressive rate limiting to their API to stop integrations like this from getting data from them. Either way, this will require substantial work to fix, if even possible.

from ha_toyota.

lucianlazar1983 avatar lucianlazar1983 commented on May 26, 2024

from ha_toyota.

joro75 avatar joro75 commented on May 26, 2024

The server endpoint seems to be oke. The mytoyota library that is being used is also connecting to: "https://myt-agg.toyota-europe.com/". Can you check or determine if the complete URL of the endpoint is still: "https://myt-agg.toyota-europe.com/cma/api" (including the 'cma/api' suffix?)

from ha_toyota.

lucianlazar1983 avatar lucianlazar1983 commented on May 26, 2024

from ha_toyota.

ajain-93 avatar ajain-93 commented on May 26, 2024

@joro75:
The server endpoint seems to be oke. The mytoyota library that is being used is also connecting to: "https://myt-agg.toyota-europe.com/". Can you check or determine if the complete URL of the endpoint is still: "https://myt-agg.toyota-europe.com/cma/api" (including the 'cma/api' suffix?)

There are essentially three different endpoints used:

from ha_toyota.

joro75 avatar joro75 commented on May 26, 2024

@ajain-93 : Thanks for the information. Most of the endpoint URL's are also being used by mytoyota. However (to my suprise), some of them are also slightly different. That's interesting, but no need to change it at this moment.

from ha_toyota.

ajain-93 avatar ajain-93 commented on May 26, 2024

@joro75:
https://ssoms.toyota-europe.com/authenticate and https://cpb2cs.toyota-europe.com/api/ones i mentioned above are the ones I was able to reverse-engineer by checking out the Swedish MyT portal on the web. The last one though, doesn't show up for me in my webbrowser.

from ha_toyota.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.