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


Download files

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

Source Distribution

growattServer-0.0.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

growattServer-0.0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file growattServer-0.0.1.tar.gz.

File metadata

  • Download URL: growattServer-0.0.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for growattServer-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8e54a15324b2405d85d1fe4649cd85b45488b97907ef24b6f2722c74059fb2a8
MD5 4a3715d4ef66cf703518d1bc13fa717f
BLAKE2b-256 63cf592807ccf10cd2a2707ed7e96f817f04a656cb385c35e292154b05aa8865

See more details on using hashes here.

File details

Details for the file growattServer-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: growattServer-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for growattServer-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf5922b2a3e8754aab6b696cc140905868e84a1b6d19d5adb1474ec1ff2ed06c
MD5 b71910cf687e05b4cb7050ef456219e8
BLAKE2b-256 a9b8fb220774a6de161a33d87520465702d07336162634bcbeb5dbfb9f341c2b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page