Solar surplus charging for Tesla & EVs

Charge your car with your own sunshine

Solar4Car continuously adjusts your car's charging power to your solar surplus – for Teslas on any wallbox and for other EVs on OCPP wallboxes. Fully automatic, running on your own hardware.

7,200 W Solar 2,200 W Grid 82% 1,500 W Battery 1,000 W Home 2,500 W Car
Why Solar4Car

Everything you need to drive on sunlight

Maximise self-consumption

Charge automatically when your panels produce a surplus instead of feeding it back to the grid.

Teslas and other EVs

Teslas charge on any wallbox – even the mobile connector. Other EVs charge via OCPP wallboxes.

Smart, automatic control

The charging power follows your surplus continuously and takes your home battery into account.

Transparent

Built on the popular TeslaSolarCharger project. The full source code is publicly viewable on GitHub.

See it in action

Your charging at a glance

Car overview with state of charge, charge mode and the solar, battery and grid share of all charges
Every charge split into solar, home battery and grid – with the resulting price per kWh.
Setup assistant step for solar and battery data with the brand selection
The setup assistant guides you through your solar system, battery and cars.
How it works

Three steps to charging with sunshine

1

Install on your own hardware

Solar4Car runs in Docker on a Raspberry Pi 3/4/5, a NAS or any PC in your home network.

2

Connect your equipment

Pick your inverter, battery and cars in the setup assistant. Teslas are controlled via Bluetooth or, with a Car License, via the Tesla cloud.

3

Charge with sunshine

Solar4Car adjusts the charging power to your surplus. You set the minimum and maximum state of charge and your charging targets.

What you need

A PV system with a supported inverter, energy meter or battery

A Raspberry Pi 3/4/5, NAS or PC that runs Docker

Tesla: any wallbox, even the mobile connector – plus a Bluetooth device in the same room as the car or a Car License

Other EVs: an OCPP-capable wallbox

Read the installation guide
Compatibility

Works with 39 inverter and battery brands

  • Ads-tec
  • Afore
  • Alpha ESS
  • Anker
  • APsystems
  • batterX
  • Deye
  • EcoFlow
  • FoxESS
  • Fronius
  • GoodWe
  • Growatt
  • Hoymiles
  • Huawei
  • IBC
  • Intilion
  • Kostal
  • M-TEC
  • Marstek
  • Plexlog
  • Powerdog
  • SAJ
  • SAX
  • Senergy
  • Sessy
  • Siemens
  • SMA
  • Smartfox
  • Sofar Solar
  • Solar-Log
  • SolarEdge
  • Solarmax
  • Solax
  • Solinteg
  • Sonnen
  • Sungrow
  • Tesla
  • Varta
  • Victron

Brand not listed? Any device with SunSpec, Modbus TCP, REST (JSON/XML) or MQTT can be connected manually.

Pricing

Simple, fair pricing

Note: Prices in euro. Might be slightly different in your country depending on tax and currency. You will see the final price after clicking Subscribe.

Base App

Required
1.99/month or 49.99 lifetime

5 day free trial on monthly subscription

Use it at up to 2 locations

Linked to 1 Tesla account

Unlimited Teslas controlled via Bluetooth

Unlimited EVs of any brand on OCPP wallboxes

Detects when your Tesla is at home (via Tesla Fleet Telemetry)

Car License

2.99/month per car

5 day free trial

Use the same car at all your locations

Controls your Tesla via the Tesla cloud – no Bluetooth device near the car needed

Live charging data from your Tesla (Fleet Telemetry)

Battery temperature of your Tesla (Fleet Telemetry)

Reads the state of charge of EVs from other brands (via Smartcar)

Do I need a Car License?

No, if a Bluetooth device (e.g. a Raspberry Pi) can reach your Tesla where it parks, or if your car charges on an OCPP wallbox.

Yes, if no Bluetooth device can reach your Tesla, or if Solar4Car should know the state of charge of an EV from another brand.

Ready to charge with sunshine?

Create your account, start your free trial and follow the installation guide.

Get started
An unhandled error has occurred. Reload 🗙