2024.8 Tesla Fleet Integration (still) only one way

I hope nobody minds, if so please remove, but I am maintaining a fork of Yoziru’s BLE Tesla project that provides an alternative approach. I started looking for an alternative to apps using Tesla’s pay for API and realised BLE was the likely best approach. I can’t use BLE from the RPi on which I run HA so needed something on a separate device, likely ESPHome based, and Yoziru’s project was what I found and tried. However, that seems to have stalled so I started a fork from which I’ve done some development that provides sensors and controls in HA. You can find it here: GitHub - PedroKTFC/esphome-tesla-ble: Interact with Tesla vehicles over BLE using ESPHome and Home Assistant.

It’s another tool in our armoury.

1 Like

Is there a simple way to update a device running yorizus project to yours?

Just update your yaml to point to my project. The readme is all but up to date and the example yaml in the repository explains the basic yaml.

bit of a novice when it comes to esp32 gear. Can this be done through home assistant ESPHOME device builder Addon? or i need to compile some other way?

I always use the ESPHome device builder myself. The readme and example.yaml should point you in the right direction. It’s pretty straightforward.

1 Like

I have spent hours trying many ways to implement Tesla Vehicle tracking
since my newest Tesla failed under the old " Tesla Custom Integration" implementation.

Tesla Fleet will not take any domain names that are registered and do work in browser.

Teslamate integrations would require 60+ entries in configuration.yaml file for each vehicle.

NONE of the options are acceptable for normal Home Automation users and more than 50% of the home assistant users.

No discovery when using Teslamate integration as it puts entries under teslamate.

There must be a better way.

I’d like to see how you set yours up as I’m wanting to do the same. There is the charge on solar function in the Tesla app but it ignores basically everything important like the Powerwall 3 not being charged yet.

I’ve set up the Tesla Fleet Integration in Home Assistant and I’m seeing values from everything. I thought all the reads and writes to the Powerwall were free but I guess that changed with Powerwall 3 as well?

So Tesla recommends using streaming but there’s no way for Home Assistant to do that? If you’re using the Tesla fleet integration you’re using polling?

This is my first attempt and I’ve not enabled it yet I’m guessing there’ll be issues with the vehicle not being on yet and the amount of grid exported energy fluctuating too much etcetera.

When
solar_excess = Powerwall 3 Grid exported energy changes is > 1.4kW for 1 minute
low_solar = Powerwall 3 Grid exported energy changes is < 0.2kW for 1 minute

And if
Current Cybertruck Battery level battery level < 80%

Then do
Test If triggered by solar_excess
    Set value for Cybertruck Charge current = 5amps - so we only draw 1.2kW
    Turn on Cybertruck Charge
Test If triggered by low_solar
    Turn off Cybertruck Charge

There is a better way, and its vehicle data is all real-time: https://teslemetry.com/