Code Monkey home page Code Monkey logo

tesla-powerwall-json-py's Introduction

tesla-powerwall-json-py

Python module to access local Tesla Powerwall JSON API https://github.com/piersdd/tesla-powerwall-json-py

NOTE: Tesla offer no official API to their Powerwall & Gateway; therefore, this library may well stop working at any time without warning.

Written by Piers Dawson-Damer

Description

Python interface to the local Tesla Powerwall Gateway API.

  • Meter information: Battery, Grid, Load & Solar
  • Battery state of charge
  • Toggle the operation state from Charge to Discharge.
  • Set reserve for backup/blackout event.

Principlly developed to interface with the excellent Home Assistant project https://developers.home-assistant.io/en and a time series database such as InfluxDB.

Credits

Many thanks to: Vince Loschiavo for documenting the API (https://github.com/vloschiavo/powerwall2)

Božo Stojković for his JSON-Python object code (https://stackoverflow.com/users/4936137/božo-stojković)

License

Apache-2.0. By providing a contribution, you agree the contribution is licensed under Apache-2.0. This code is provided as-is with no warranty. Use at your own risk.

tesla-powerwall-json-py's People

Contributors

piersdd avatar

Stargazers

 avatar Kyle avatar J.R. Morgan avatar Robert Dyball  avatar Josh Pullin avatar Dan Sully avatar Richard Woodbury avatar

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.