Linux app

Solar EV Charger

A self-hosted Linux automation controller for Aimiler and Tuya EV chargers with solar-following logic, Tesla Fleet API and Powerwall integration, night charging, and a local web dashboard.

About this app

Solar EV Charger is an unofficial self-hosted automation controller for Aimiler and Tuya-compatible EV chargers. It reads live Powerwall and site telemetry from the Tesla Fleet API and adjusts the charger output current in real time to follow surplus solar generation. It supports seasonal charger profiles, scheduled night charging, no-charge peak-rate blocks, emergency override, a fixed-energy charging mode that stops automatically when the target kWh is delivered, Google Nest HVAC-aware load management, MySQL session logging, and a local web dashboard with a live Tesla energy chart, charger controls, profile settings, system configuration, and HTTP API endpoints for home automation integrations.

  • Linux
  • EV charger
  • Tesla
  • Powerwall
  • solar
  • Tuya
  • Aimiler
  • home automation
  • Raspberry Pi

Release status

This app is distributed via its public GitHub repository. Clone or download the ZIP — no compiled binary is needed.

Capabilities

Built for solar-aware EV charging automation

Focused controls and real-time telemetry make intelligent EV charging easier to configure, automate, and monitor from a single local dashboard.

Follow surplus solar generation in real time by reading Tesla Powerwall and site telemetry via the Tesla Fleet API.
Schedule automatic 32A night charging and enforce no-charge blocks during peak-rate hours.
Override to emergency charging at maximum amps from the web dashboard or CLI, with an automatic cooldown after the session ends.
Request a fixed kWh amount and have the controller stop automatically once the target energy is delivered.
Reduce EV charging current when Google Nest HVAC cooling is active to manage shared household load.
Log charging sessions to MySQL with start time, duration, target amps, peak amps, and energy in Wh.
Configure charger hardware, Tesla OAuth credentials, seasonal profiles, HVAC integration, and dashboard access through the built-in web UI.

Preview

Workflow preview

Screenshots show the current app workflow and interface.

Changelog

  • Initial public Linux release is available from the public GitHub repository.
  • Includes solar-following automation, Tesla Fleet OAuth, Powerwall telemetry, night charging, fixed-energy mode, Nest HVAC integration, MySQL session logging, and a local web dashboard.

GitHub repository

Clone with Git:

git clone https://github.com/vardanchikb/solar-ev-charger.git