2024.8 Tesla Fleet Integration (still) only one way

I installed the 2024.8 Tesla Fleet Integration but, like the previous Tesla Integration, it only works one way, reading data from the car but it does not include any commands to send to the car.

Not related to the Tesla Fleet Integration, I restored my HA to a previous backup as apparently the Alexa Integration does not work (yet) with 2024.8

1 Like

It will support commands, I have a PR for climate control already raised, and plan to add all other platforms before 2024.9

What it wonā€™t support is command signing, at least for a couple of months, as thatā€™s going to be significantly more complex to implement.

7 Likes

Great & Thanks so much.

Will there be a way to force a poll to the API?

We have a special electrical rate that gives a significant discount if we avoid charging from 1PM-9PM (they monitor our EVSE to see if we did). Iā€™d like to poll the car at 12:55PM to see if it is charging, and then (initially) notify me to stop the car from charging. Eventually, Iā€™d like to send the stop charging command via the integration.

I was looking into transitioning to this but I canā€™t find a charge limit sensor. I guess itā€™s not supported yet. I use charge limit and SOC to calculate required charging time in my charging automations. I control charging via the charger so I donā€™t need the commands. Otherwise looks great and super easy to install!

Great job @Brett_Adams! Looking forward to see command support in the future.

1 Like

This is fantastic. Whatā€™s the best way for getting commands for the energy platform into this (by that, I mean, should I consider forking your repo - specifically the tf_climate branch for example which adds commands).

I have control of my powerwall using the fleet API (set reserve, set mode to self_consumption or TOU) which effectively allows you to tell the powerwall to charge slowly or quickly from the grid, hold charge, or discharge to meet household load.

Iā€™m currently controlling it outside of HA, but would like to see if I can move control inside of HA (say to allow support via predbat), and your integration looks like the most promising supported route.

Technically you could fork tf_climate and just copy paste platforms from the Teslemetry platform, because thatā€™s basically what Iā€™ll be doing, but I am waiting for tf_climate to merge to avoid conflicts.

Otherwise just wait for 2024.9

What would help is if people approved the tf_climate PR

2 Likes

will we be able to adjust charging speeds once this is active, or is this not possible through the fleet API (for example for smart solar charging via GitHub - jmcollin78/solar_optimizer: The Solar Optimizer integration for Home Assistant starts and stops your equipments depending on the Solar net production )

You can adjust the changing amperage yes, but only 50 times a day.

See this ESPHome project if you want to do more for free using Bluetooth: GitHub - yoziru/esphome-tesla-ble: Interact with Tesla vehicles over BLE using ESPHome and Home Assistant

Thanks, thatā€™s really helpful. Iā€™ll start by looking at Teslemetry.

Any news on getting two way things working on this. It would be great to be able to unlock my charge port again!

2 Likes

I am trying to set up my Tesla ā€œdeveloperā€ account, but I am stuck at:

The ā€œAllowed Origin URLā€ is the one of my HA ? And what about the ā€œAllowed Redirect URLā€ ?

Only the redirect matters, which is why itā€™s the only one mentioned in the docs. Origin will need to be the domain your going to host your public key on if thatā€™s something you know how to do.

Unfortunately not :frowning:

Questions on the promising TeslaFleet addon.

  1. Do I understand it correctly that it currently is only one way? So you cannot yet control the charger door, charger amperage, start and stop charging?

  2. Besides the TeslaFleet addon, do you still need the other Tesla addons like the a Tesla Custom Integration and/or the Tesla Proxy?

Just updated to the latest beta (2024.10) hoping to get two way back, but it seems that is is still only one way :frowning:
I just get a message saying ā€˜Vehicle needs command signingā€™. when I try to interact.

Ok, thanks so we need to wait or use the complex setup for the custom Tesla integration.

I really hope for the 2-way update as the custom integration setup is too complex for me.

Indeed, Iā€™m spending many hours now to get the Tesla Proxy up and running but without any luck. Not sure what the reason is why it is failing all the time.

This is the error message when following the TeslaProxy instructions!

IMG_0507

I cannot the created app to the vehicle app somehow. Suggestion from somebody on how to fix this?