All Projects → liveaverage → docker-powerwall-dashboard

liveaverage / docker-powerwall-dashboard

Licence: GPL-3.0 license
Grafana dashboard showing trend & historical data polled from Tesla Powerwall 2 API served up in an easy to use docker image

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to docker-powerwall-dashboard

tesla powerwall
Python API for Tesla Powerwall
Stars: ✭ 43 (+43.33%)
Mutual labels:  powerwall, powerwall-api
TeslaPy
A Python module to use the Tesla Motors Owner API
Stars: ✭ 216 (+620%)
Mutual labels:  powerwall
ENNOID-BMS
Open-Source: Modular BMS based on LTC68XX & STM32 MCU for up to 400V EV battery pack
Stars: ✭ 132 (+340%)
Mutual labels:  powerwall
diypowerflow
DIY Powerflow
Stars: ✭ 19 (-36.67%)
Mutual labels:  powerwall
diy-BMS-with-Arduino-Nano
If you have a private powerwall of 18650 cells, this is the battery management system you need. The small PCB is equipped with the cheap Arduino Nano.
Stars: ✭ 33 (+10%)
Mutual labels:  powerwall
Powerwall2PVOutput
Send Tesla Powerwall data to PVOutput
Stars: ✭ 23 (-23.33%)
Mutual labels:  powerwall

GitHub Workflow Docker Pulls

⚠️ DEPRECATION NOTICE This monolith image is being deprecated in favor of the podman-compose or docker-compose variant which works the same, utilizes vendor-maintained images [for x86 and aarch64], and decouples the services for easier troubleshooting.

Overview

This is based on the work of @rhodesman and his teslaPowerDash repo, but hopefully enables easier ramp up to start obtaining and trending Powerwall 2 API data.

Preview

Grafana Dashboard Preview

Usage

If you're still using docker rather than podman, simply replace all podman calls with docker.

  • Pull the container image:
podman pull quay.io/liveaverage/powerwall-dashboard:latest
  • Start the container, replacing POWERWALL_IP with the assigned IP address of your Powerwall, POWERWALL_PASS with your Powerwall password (required for Cookie-based auth as of February 2021), and LOCAL_INFLUXDB_PATH with an appropriate destination to store trend data:

The default Powerwall password may be the last 5 digits of your Backup Gateway.

Note you must use a hostname map for powerwall due to changes in the API introduced in June 2021

export POWERWALL_IP=192.168.1.92
export POWERWALL_PASS=0R2D2
export LOCAL_INFLUXDB_PATH=/tmp/influxdata
export LOCAL_GRAFANA_PATH=/tmp/grafana
export GRAFANA_WEATHER_LOCATION="lat=36.2452052&lon=-80.7292593"
export GRAFANA_DASHBOARD_URL="https://raw.githubusercontent.com/liveaverage/docker-powerwall-dashboard/master/graf_dash.json"

podman run --add-host powerwall:${POWERWALL_IP} -p 3000:3000 \
	-e "POWERWALL_PASS=${POWERWALL_PASS}" \
        -e "GRAFANA_DASHBOARD_URL=${GRAFANA_DASHBOARD_URL}" \
        -e "POWERWALL_LOCATION=${GRAFANA_WEATHER_LOCATION}" \
	-v ${LOCAL_INFLUXDB_PATH}:/var/lib/influxdb:z \
	-v ${LOCAL_GRAFANA_PATH}:/var/lib/grafana:z \
	liveaverage/powerwall-dashboard
 
  • Access the Grafana dashboard from your container host IP, which may require firewall exceptions for TCP3000: http://localhost:3000
    • Default credentials are "admin" for username/password
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].