Giter Club home page Giter Club logo

powerwalldashpi's Introduction

Overview

!!Stop Press!! The upsteam project liveaverage/docker-powerwall-dashboard now supports multiarch using the quay.io/liveaverage/powerwall-dashboard:multiarch image:tag.

You're much better off using that now (I certainly am) as my humble fork is a bit of a kludge and doesn't support cookie auth like J.R's latest version does.

A raspberry pi fork of the excellent liveaverage/docker-powerwall-dashboard

Please note that this has been built specifically for RPI 4 on raspbian.

Please see original below:

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 liveaverage/powerwall-dashboard
  • Start the container, replacing POWERWALL_IP with the assigned IP address of your Powerwall and LOCAL_INFLUXDB_PATH with an appropriate destination to store trend data:
export POWERWALL_IP=192.168.1.92
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 teslapw:${POWERWALL_IP} -p 3000:3000 \
        -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

powerwalldashpi's People

Contributors

carrio110 avatar liveaverage avatar

Stargazers

Christian Nogueras  avatar

Watchers

 avatar

powerwalldashpi's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.