Skip to main content

Growatt API for photovoltaic statistics

Project description

Growatt API client

This Python script logs in to and retrieves data on solar panels.


Create a new GrowattApi instance, log in, retrieve a list of plants and request details of these plants. An example can be found in growatt/, and can be run using python -m growatt.


Currently this package uses an API that I reverse engineered the API from the Growatt mobile app. This is more of an internal API that can be changed by Growatt if they want.

There is also an API specification for a more standard API, but that is currently not used by this package.

Getting started

Run the following commands to set up a new virtualenv and run the growatt API example:

git clone
cd growatt_api_client
python3 -m venv venv                    # create a new virtual environment in the directory 'venv'
. venv/bin/activate                     # activate this environment
./ install                      # install all dependencies
python -m growatt 'username' 'password' # retrieve data for today

After setting up like this, you can just run the python from the virtualenv each time you want to run it:

venv/bin/python -m growatt 'username' 'password'

If you want to create your own client, start from growatt/ Copy it and change it to your liking, and then run it like this:

venv/bin/python 'username' 'password'

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for growatt, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size growatt-0.0.4.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View
Filename, size growatt-0.0.4-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page