ngardiner / TWCManager

Control power delivered by a Tesla Wall Charger using two wires screwed into its RS-485 terminals.
The Unlicense
133 stars 55 forks source link

Support for vehicle command proxy / FleetAPI #545

Closed RichieB2B closed 10 months ago

RichieB2B commented 10 months ago

I have started the work to support the new FleetAPI / vehicle command protocol (through the supplied proxy) at https://github.com/RichieB2B/TWCManager/tree/vehicle-command

For now this is just a basic config (which should work though). It needs testing, especially the token refresh process.

RichieB2B commented 10 months ago

I have tested the new code both with the legacy owner-api and using a Tesla Vehicle Command proxy. Both work and the API tokens are refreshed as expected. I'll create a PR so others can test this as well.