Skip to main content

A package to talk to growatt server

Project description

Growatt Server

Package to retrieve PV information form the growatt server.

Usage

import growattServer

api = growattServer.GrowattApi()
login_response = api.login(<username>, <password>)
#Get a list of growatt plants.
print(api.plant_list(login_response['userId']))

Methods and Variables

Methods

Any methods that may be useful.

api.login(username, password) Log into the growatt api. This must be done before making any request. after this you will be logged in. you will want to capture the response to get the userId variable.

api.plant_list(user_id) Get a list of plants registered to your account.

api.plant_info(plant_id) Get info for specified plant.

api.plant_detail(plant_id, timespan<1=day, 2=month>, date) Get details of a specific plant.

api.inverter_list(plant_id) Get a list of inverters in specified plant.

api.inverter_data(inverter_id, date) Get some basic data of a specific date for the inverter.

api.inverter_detail(inverter_id) Get detailed data on inverter.

Variables

Some variables you may want to set.

api.server_url The growatt server url, default: 'http://server.growatt.com/'

Note

This is based on the endpoints used on the mobile app and could be changed without notice.

Project details


Release history Release notifications

Download files

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

Files for growattServer, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size growattServer-0.0.1-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size growattServer-0.0.1.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page