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
- Originally based off the work of Mark Ruys and his gw2pvo software - I needed something more flexible, so I made this.
Disclaimer
GOODWE access is based on the undocumented API used by mobile apps. This could break at any time.
Example Code
Please check out example.py or the examples folder in the project repository for some simple example code.
Release files for pygoodwe 0.1.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pygoodwe-0.1.11.tar.gz | 120.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pygoodwe-0.1.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 128.8 kB
Release files / pygoodwe-0.1.11.tar.gz
| Download URL | pygoodwe-0.1.11.tar.gz |
|---|---|
| Size | 120.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b39d31af128ac4df0112196bd8d2fbb019eccd627a3b581d1d2201049dfafda0
|
|
BLAKE2b-256 checksum How to use checksums |
19b40519aea30fb500858b099d4139496d9d51283cf6e58b4ddc0b9cbdd7ffee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pygoodwe-0.1.11-py3-none-any.whl
| Download URL | pygoodwe-0.1.11-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be353da9d7ac2bc63b993bd0288afe4ef9d36058b8f32e077533998e47941196
|
|
BLAKE2b-256 checksum How to use checksums |
49152b98355b67f6712a625af1b7fbc821cbc4a603131df7a0cedfbd06353bac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|