teslamotors / fleet-telemetry

Apache License 2.0
633 stars 68 forks source link

Higher Limits for Open-Source Applications #189

Open SebastianGode opened 2 weeks ago

SebastianGode commented 2 weeks ago

With the introduction of the new Open-Source category for projects I'm a bit shocked that those projects still have the same limits as the discovery plan and that there's no way to even upgrade them. https://developer.tesla.com/docs/fleet-api#2024-07-08-open-source-support

Overall I think Tesla benefits from the Open-Source community and many owners just want e.g. some driving stats of their vehicle. They don't want to make money from it.

I would really like if the OpenSource tier can get higher API limits than the DiscoveryPlan. I understand, that the API usage also isn't free to run and that Tesla of course needs to charge big companies for using it, but in my opinion the amount of Open-Source apps like Teslamate really should still be usable with the new Streaming-API. If you don't offer options to pay for the API, please at least increase the limits a bit so that it still is possible to run such loggers.

TLDR: I really would like to have a separate plan for Open-Source applications with higher limits than the default DiscoveryTier for companies.

Bre77 commented 2 weeks ago

Firstly, thank you for raising this issue and making me aware Tesla had added this new open source category.

I have implemented the OAuth flows in Home Assistant and the rate limits are making it rather useless indeed. For some reason even polling every 5 minutes was still being rate limited, and I think I can't even have the whole interaction start up at once because it takes 4 API calls for 1 vehicle and 1 energy site, which also gets me blocked. (Products, vehicle_data, site_info, live_status)

I also don't know how command signing is meant to work but I'll raise that issue separately.

netdata-be commented 2 weeks ago

I also believe that this will be the end for projects like teslamate :-( The rate limit on the API is actually OK if the limit of the Telemetry would be higher. Currently the undocumented web socket API is nearly realtime, the current discovery tier is 10 items / min which is really limited and not enough to achieve the same as we currently have with the owners api in conjunction with the websocket streaming.

Any suggestions from Tesla side on this?