Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1.68 KB

README.md

File metadata and controls

42 lines (24 loc) · 1.68 KB

tesla_wallbox_docker

InfluxDB + tesla_wallbox_exporter + Grafana + Telegraf + Docker = <3

Warning
This software is designed around Europe's three phase power grid. If you are located outside said region this software might not work for you.

Warning
A user reported problems running this project on the armv7 architecture (Raspberry Pi 3 with 32bit OS). Apparently the official InfluxDB image is not available for that. Make sure you run this project on amd64 or aarch64 (Raspberry Pi OS 64 bit for example). You can check yours with: docker run -it --rm alpine apk --print-arch

This is my first public compose file. Please be gentle.

What you get

Current charging session:

Chargin session

Grid details:

Grid details

Stack overview

This stack is composed from:

  • InfluxDB: A time series database
  • Grafana: A visualization tool
  • tesla_wallbox_exporter: A proxy appliation to translate the wallbox API result into prometheus format
  • Telegraf: Collects metrics from tesla_wallbox_exporter and writes them into influxdb

Usage

Open the compose.yml file and read it. It's very simple. Exchange the TESLA_WALLBOX_IP env variable with the real IP address of your Tesla gen 3 wallbox. Afterwards you can start the stack:

docker-compose up -d

That's basically it. Navigate to Grafana and have a look at the dashboards. The default credentials are admin/admin.

Security

This project contains hardcoded credentials and keys. Don't make it accessible from untrusted networks e.g. the internet.