Comments (24)
See #204 for the reason it does not work, will publish a fixed version soon
from ha_toyota.
Can confirm fix works, will be releasing a new version shortly!
from ha_toyota.
thank you
from ha_toyota.
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.
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.
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.
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.
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.
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.
Same here. Could it be that they modified their api rate limiter?
from ha_toyota.
hello
same issue for me.
from ha_toyota.
Same issue for me. I can't get it work for several days...
from ha_toyota.
Same here
from ha_toyota.
same here for many hours...
from ha_toyota.
A possible explanation could be here: https://twitter.com/samwcyo/status/1597792097175674880
from ha_toyota.
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.
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.
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.
No, it doesn't work (I've tried this approach)
I just added an issue here:
DurgNomis-drol/mytoyota#204
from ha_toyota.
@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.
from ha_toyota.
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.
from ha_toyota.
@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:
- https://ssoms.toyota-europe.com/authenticate
- Authentication
- https://cpb2cs.toyota-europe.com/api/
- List of Vehicles w limited Metadata (https://cpb2cs.toyota-europe.com/vehicle/user/{UUID}/vehicles)
- Vehicle Metadata (https://cpb2cs.toyota-europe.com/vehicle/user/{UUID}/vehicle/{VIN})
- Workshop History
- Location Status (https://cpb2cs.toyota-europe.com/api/user/{UUID}/cms/share/location/{VIN})
- Trips (https://cpb2cs.toyota-europe.com/api/users/{UUID}/vehicles/{VIN}/workshop)
- Statistics (Trip Summaries) (https://cpb2cs.toyota-europe.com/api/user/{UUID}/cms/trips/v2/history/vin/{VIN}/{INTERVAL={1,2,3}})
- https://myt-agg.toyota-europe.com/cma/api/
- Odometer/Fuel
- Remote control
from ha_toyota.
@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.
@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)
- Add last trip as a sensor
- binary_sensor.yaris_cross_over_all_status 'problem' HOT 1
- The integration is not giving the last position HOT 1
- ValueError on startup HOT 1
- Display last collected value instead of unavailable. HOT 1
- How Change password HOT 1
- Login (USA) HOT 1
- Add Lexus brand HOT 3
- device_tracker not working after HomeAssistant restart - unique_id issue? HOT 1
- Not working with brand new RAV4 - UK HOT 4
- [Feature request] Remote lock/unlock and remote AC Start HOT 2
- One Entity HOT 3
- Integration not working anymore, failed to start HOT 26
- Fuel level always shows 60% HOT 1
- Location tracking sensor is gone. (EU) HOT 3
- Releasing ha_toyota with latest mytoyota lib
- Error «Please setup Connected Services» after Migration to new MyToyota App/API HOT 42
- Enhancement: Add unit and integration tests
- Ignore location updates when reporting 999.0,999.0
- No Sensordata but "Numberplate" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha_toyota.