I just tested with the polling interval set to 10 seconds and everything works properly. So the issue lies somewhere there. As mentioned earlier, since the polling limits were introduced, the functionality for the app no longer works as I was used to, unfortunately.
Hi,
I have a 2019 Model X and I’m using the REST API. I can’t stop and start charging in the battery section of the app, but I can change the charge amps. I’ve successfully tried actions like opening the charge port. Does anyone know a fix for this?
Use the Proxy not the REST API
Do you get any error message in the app?
Do you get an error using a flow to start charging?
If you are able to send other commands (charge port, flash lights…) with REST API, then also chargign should work.
Testa introduced rate limits, especially for special commands like wake up and chargig. Perhaps you got rate limited. But then you should see an error message in the app.
I can see that I get a rate limit. What is that?
Im suppose to use REST API with TMX less than 2021 models.
Tesla activated rate limits some weeks ago.
Seen this one before @RonnyW ?
Haven’t seen this before. I looks liek Tesla is returning a http-429 error (rate limit) but dows not provide valid header field.
Is the error still resent in device details? Then send me a diagnostics report (even if I don’t know if I can see much more).
What car (model/year) and what firmware do you have?
Here you go @RonnyW
a7e309fb-564a-48ab-8cb8-7cd617920f61
It is a TMX 2019
I added some debug logging and check for valid rate limit data.
Can you try new test version 1.9.4?
Thanks! Works now - but will give it some more time.
@RonnyW Is there still issues with leased vehicles? I’m one of those and am able to add the app to see status but not using commands. You write the following in a blog post on your site but I’m unable to understand if this has to do with above issue:
Tesla has released a new version of the Tesla mobile app to resolve the issue. This allows the Homey app to be registered in the vehicle. This must be confirmed in the vehicle using a key card.
Please register the app as car key in repair view of car device mainenance view.
There you can start car registration. You will be forwarded to a Tesla page (that should open Tesla mobile app). Then you can allow car access. You must be at your car to proceed (like adding a new phone as key).
Any plans to add insight possibilities to device location?
Which location? The description (city, street)? Not possible because insights can only be created for numeric values.
I am also getting rate limited now. I am using the api to load balance the total consumption in my house by checking every 5 minutes while charging my car, and adjust the current to available capacity. But it seems like 5 charging commands/vehicle/day is the limit?
I guess setting the charging current goes into this category, or is it under Command limit?
Start/stop charging seems to be in the carging commands limit (5x/day).
Changing the current should be included in the stabdard commands (50x/day). So it’s better to set current to a low value (or 0A) instead of stopping/starting charging.
Hi @RonnyW, thanks for the awesome app! Would it be possible to add MilesToArrival, MinutesToArrival, OriginLocation and DestinationLocation to the app so I can announce to the folks back home when a particular person is on their way home?
It’s on my ToDo list to check for available navigation data.
Based in Tesla API data I think destination coordinates and timestamp could be possible (and street/city based on coordinates like current posisition).