Skip to main content

A command line tool and python library to query the GOODWE SEMS Portal APIs.

Project description

pygoodwe

A command line tool and python library to query the GOODWE SEMS Portal APIs.

API Docs

Auto-generated documentation is here: https://yaleman.github.io/pygoodwe/

Installation

You need to have Python 3 and pip installed. Then:

python -m pip install pygoodwe

Determine the Station ID from the GOODWE site as follows. Open the Sems Portal. The Plant Status will reveal the Station ID in the URL. Example:

https://www.semsportal.com/powerstation/powerstatussnmin/11112222-aaaa-bbbb-cccc-ddddeeeeeffff

Then the Station ID is 11112222-aaaa-bbbb-cccc-ddddeeeeeffff.

To use example.py or the other examples, copy config.py.example to config.py and add your details.

Contributions

Please feel free to lodge an issue or pull request on GitHub.

Thanks

Disclaimer

GOODWE access is based on the undocumented API used by mobile apps. This could break at any time.

Example Code

Please check out test.py in the base of the repository for some simple example code.

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

pygoodwe-0.1.7.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

pygoodwe-0.1.7-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file pygoodwe-0.1.7.tar.gz.

File metadata

  • Download URL: pygoodwe-0.1.7.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.11.6 Darwin/23.1.0

File hashes

Hashes for pygoodwe-0.1.7.tar.gz
Algorithm Hash digest
SHA256 6168d980981b82d948bcc39c2f7919a3647b7e6288edc6a783d167bb02780d12
MD5 2468c5edf67953d7d4906bf8428fb5c1
BLAKE2b-256 3e53142cc9b6ee3519154a682638cdf17e799a034ffb013c188dca976783949d

See more details on using hashes here.

File details

Details for the file pygoodwe-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: pygoodwe-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.11.6 Darwin/23.1.0

File hashes

Hashes for pygoodwe-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b284376b1e54bcaf6affd80942cd0f91f7599f040e59f8c75fa194de2a9f6c8c
MD5 14a80eeaeda9da4ef0f6187d4a141811
BLAKE2b-256 08f59cc770d18a24c9fd3796b51319eeebd7fea4af1d6ba7821c5dcb5246a3a4

See more details on using hashes here.

Supported by

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