Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vlcty/tesla_wallbox_docker
- Owner: vlcty
- License: mit
- Created: 2021-10-31T18:48:10.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T18:20:03.000Z (about 2 years ago)
- Last Synced: 2023-08-05T02:41:33.237Z (over 1 year ago)
- Topics: grafana, influxdb, metrics, prometheus, prometheus-exporter
- Language: Dockerfile
- Homepage:
- Size: 2.46 MB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.