Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vlcty/tesla_wallbox_docker

InfluxDB + tesla_wallbox_exporter + Grafana + Telegraf + Docker = <3
https://github.com/vlcty/tesla_wallbox_docker

grafana influxdb metrics prometheus prometheus-exporter

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](/.github/screenshots/charging-session.png?raw=true "Charging session overview")

Grid details:

![Grid details](/.github/screenshots/grid-details.png?raw=true "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](http://localhost:3000) 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.