This project has been archived by its maintainers, and is no longer receiving any updates.
WatchPower API in Python
By using Jadx and decompiling the WatchPower Android APK, I reverse-engineered its authentication process to have direct access to the backend's Rest-API. This way, we can programmatically query inverter data. I've made this available through a Python package in pip:
pip install watchpower-api
Check the examples folder for how to use the library. To run examples or develop for this library its best to use Poetry. Clone the project and run:
poetry install
It should install all necessary dependencies.
Metadata
Release files for watchpower-api 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| watchpower_api-0.3.0.tar.gz | 3.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| watchpower_api-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / watchpower_api-0.3.0.tar.gz
| Download URL | watchpower_api-0.3.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9dc127fc0a2d28a74b39075dcdf74c26a3207e5d866581d3894e0d9364d3067c
|
|
BLAKE2b-256 checksum How to use checksums |
d2334913f278d70a4e77d925e45b32214cae71b1628f74c7a63551613c847379
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.10 Linux/6.11.5-200.fsync.fc40.x86_64
|
Release files / watchpower_api-0.3.0-py3-none-any.whl
| Download URL | watchpower_api-0.3.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e2a5fd616ee38a7c3548e1c58dc2e0cfcb4d86af23978ff2b6a45b5a5c7057c
|
|
BLAKE2b-256 checksum How to use checksums |
751ab1316d9b5dfe8314f36eea1f6ed98f9f6773d6b1e521f6367f7df1148a0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.10 Linux/6.11.5-200.fsync.fc40.x86_64
|
Security for watchpower-api 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.