A command line tool and python library to query the GOODWE SEMS Portal APIs.
Auto-generated documentation is here: https://yaleman.github.io/pygoodwe/
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.
Please feel free to lodge an issue or pull request on GitHub.
- Originally based off the work of Mark Ruys and his gw2pvo software - I needed something more flexible, so I made this.
GOODWE access is based on the undocumented API used by mobile apps. This could break at any time.
Please check out example.py or the examples folder in the project repository for some simple example code.