Watt Budget Charging calculator

Your Tesla in Home Assistant

Home Assistant offers three official integrations for Tesla. The simplest, Teslemetry, costs a few euros a month and streams data in real time; Tesla Fleet is free but needs a developer account and a domain name. This guide follows Teslemetry and explains when to prefer the others.

  • A few € a month (Teslemetry)
  • Official integration
  • 20 minutes to set up
  • Model 3, Y, S, X, Cybertruck
Tesla Model Y Propulsion
Home · seen 3 min ago
Charging
62%301 km●
050%100%
Power
11.0 kW
Done at
03:20
Target
80%

How it works in one minute

Paid service

Brand-new guide

It was written in October 2026 from the integration's official documentation, but nobody in the Watt Budget community has followed it end to end on their car yet. Trying it? Tell me what works and what gets stuck.

Your TeslaTesla cloud
(car's 4G)
Teslemetry
(official integration)
Home
Assistant
What it isAn integration shipped with Home Assistant, linked to your Tesla account through the Teslemetry service
CostTeslemetry subscription (a few euros a month); Tesla Fleet free within the credit Tesla offers
DataBattery level, range, charging, power, current, charge limit, climate, tyres, location, and your Powerwall if you have one
CommandsCharge limit and current, start and stop, climate, locks, trunk, Sentry mode
Where it worksAnywhere, through the car's connection
Depends onTesla's Fleet API and the chosen service

All three go through Tesla's official API (the “Fleet API”). They differ in setup and price: Teslemetry is built for Home Assistant and streams data in real time; Tessie suits you if you already have a Tessie subscription; Tesla Fleet is free within a monthly credit from Tesla, but you must create your own app on developer.tesla.com, with a domain name and a certificate.

What you need

  • Home Assistant installed and reachable from your computer.
  • Your Tesla account (the app one), with the car on it.
  • For commands: the service's virtual key, added to the car from the Tesla app (the service gives you the link).

1Install the integration

  1. Create your Teslemetry accountOn teslemetry.com, sign in with your Tesla account, allow access to the car and choose the subscription.
  2. Add the virtual keyTo send commands, the car must accept Teslemetry's key: follow the link in the Teslemetry console from your phone, it opens the Tesla app. Without the key you'll get data but no commands.
  3. Add the integrationSettings → Devices & services → Add integration, search for Teslemetry and sign in with the same account: authorisation happens in a browser window.
  4. Find the carThe car (plus your Powerwall or Wall Connector if they're on the account) appears as a device under Settings → Devices & services → Teslemetry.
With Tessie or Tesla Fleet

Steps 3 and 4 are the same with the Tessie integration (access token copied from Tessie's website). Tesla Fleet also needs an app registered on developer.tesla.com, a public key served from your own domain and “application credentials” entered in Home Assistant: allow an evening.

2The data you get

DataWhat it's for
Battery levelIn %, the value to give Watt Budget
RangeEstimated by the car
Charging stateCharging, complete, disconnected…
Charging power and currentTo follow a solar charge
Charge limitAdjustable from Home Assistant
Requested charge currentTo match charging to your solar surplus
Tyre pressureAll four wheels
LocationA tracker to know if the car is home
Rename the entities right away

Replace the long names with short ones, for example sensor.tesla_battery (Settings → Devices & services → Entities → the entity → cog). Your cards, automations and Watt Budget settings will be much easier to read.

3Connect Watt Budget

The sensor to enter in Watt Budget, under Settings › Home Assistant: the Battery level sensor (in %) of the car's device.

Once connected, Watt Budget reads the level every minute: no more typing the starting percentage, and the charge is worked out from the real battery level.

The four steps (HTTPS access, token, sensors, check) are explained on the guides home page and in the Watt Budget guide.

4Precautions

  • With Tesla Fleet, every query and command is deducted from Tesla's monthly credit: keep sensible intervals.
  • Setting the charge current from Home Assistant is ideal for solar, but don't change it every second: the car doesn't like jolts.
  • Don't shorten the update interval: each query can wake the car and drain its 12 V battery. The defaults are a good balance.
  • Your credentials stay in your Home Assistant; neither Watt Budget nor I can see them.

Frequently asked questions

What about TeslaMate?

TeslaMate is a self-hosted logbook; it can publish its data over MQTT for Home Assistant, but it also needs access to Tesla's API. If you already run it, its sensors are enough for Watt Budget.

I have a Wall Connector. Do I need anything else?

The Wall Connector has its own official, local and free integration: it gives the charger's real power, a useful extra.

Does Watt Budget get access to my car?

No. Watt Budget only reads the battery level sensor in your Home Assistant, from your browser, with the token you give it. It never sees your manufacturer login or the car's location.

My model isn't listed. Can it work?

Often yes: these integrations go through the manufacturer's app, shared across the range. The easiest is to try, then tell me how it went via the contact page.

Links and thanks

Thanks to Brett Adams (Teslemetry) and the contributors maintaining Home Assistant's Tesla integrations and the tesla-fleet-api library.

Does your car reach Home Assistant another way? Share your method: the next guides will follow your feedback.

The other Home Assistant guides

What does a charge really cost you? Off-peak tariffs, solar, rapid chargers and XCombo codes: Watt Budget works it all out, free and without an account.

Open Watt Budget