Control Tesla via API đźš—

Hi everyone, I’m posting here an integration request that seems possible to me, although I don’t have the skills: controlling certain commands and retrieving information from a Tesla vehicle.

Today I can retrieve information via Teslafi, Node-RED and MQTT devices but it’s not optimal, with a subscription cost (Teslafi) and a usage limit (number of requests). I have read a few pages about API configurations but I don’t understand them.
My goal is to receive important alerts and control charging based on the solar panels.
If anyone is interested in developing…
Thank you for your help.

Hi @tiboys,

For the control side, I personally opted to buy Tessie — I’m in the process of setting it up via Node-RED to control charging based on the home’s overall consumption (because of the heat pump).
Unfortunately, since the Tesla API is no longer open, I think it’s the only option for the control side.

Hi, teslafi works but I’m limited in the number of requests per month and I quickly exceed the limit with a regular ping to adjust charging.
My brother gave me this but I haven’t really looked at it yet and I’m not sure I have the necessary skills:
For Tesla I found this module: GitHub - alandtse/tesla: Tesla custom integration for Home Assistant. This requires a refresh token be generated by third-party apps to login.

Apparently another one is needed now: GitHub - llamafilm/tesla-http-proxy-addon: Tesla HTTP Proxy Add-on for Home Assistant

Hi @tiboys!

Tesla control (car and Powerwall) is the external integration Teslemetry (guim31, v1.3.2), in the catalog.

Charge, climate control, locks, and energy flows are reported as devices, so in scenes. This replaces the TeslaFi + Node-RED detour for these commands.

Integrations → « Teslemetry ». You need a Teslemetry account: it’s the one that talks to the Tesla API.

I’m moving this topic to « Delivered requests ». If there’s still a case that doesn’t fit, open a new topic: it will be easier to follow.