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
- 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 test.py in the base of the repository for some simple example code.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6168d980981b82d948bcc39c2f7919a3647b7e6288edc6a783d167bb02780d12 |
|
MD5 | 2468c5edf67953d7d4906bf8428fb5c1 |
|
BLAKE2b-256 | 3e53142cc9b6ee3519154a682638cdf17e799a034ffb013c188dca976783949d |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b284376b1e54bcaf6affd80942cd0f91f7599f040e59f8c75fa194de2a9f6c8c |
|
MD5 | 14a80eeaeda9da4ef0f6187d4a141811 |
|
BLAKE2b-256 | 08f59cc770d18a24c9fd3796b51319eeebd7fea4af1d6ba7821c5dcb5246a3a4 |