Commwatt Gen4 Python client
This module allow you to retrieve data from your Comwatt PowerGen4 box. It connects to the Commwatt website using Selenium webdriver and firefox and reads teh data.
Installation
Prerequisites:
- Install Firefox
- Download geckodriver form https://github.com/mozilla/geckodriver/releases
Install using pip:
$ python -m pip install comwatt
Usage
import comwatt
c = comwatt.PowerGEN4(<username>, <password>)
s = c.get_devices("sun")
print(s[0].value_instant)
Available device types are:
- injection
- withdrawal
- sun
- hotwatertank
- plug
Metadata
Release files for comwatt 0.12.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 | Actions |
|---|---|---|---|---|
| comwatt-0.12.0.tar.gz | 4.2 kB | Without provenance | Details for comwatt-0.12.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| comwatt-0.12.0-py3-none-any.whl | Python 3 | none | any | Details for comwatt-0.12.0-py3-none-any.whl |
Total release size: 8.6 kB
Release files / comwatt-0.12.0.tar.gz
| Download URL | comwatt-0.12.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8fa19c1e1a49f952e99a5c431e9388ac7fc66c5696f1e1b297c55626683d278d
|
|
BLAKE2b-256 checksum How to use checksums |
77bf0e70deb68f9ca7231fe2b60337221866be806610b923cb80b899464710c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / comwatt-0.12.0-py3-none-any.whl
| Download URL | comwatt-0.12.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db617c2ea00971aa65cc6c569fc4dfff0570c4d546d3d557c05104e16f9bbed8
|
|
BLAKE2b-256 checksum How to use checksums |
def22493a7dd1fbab161ffbb3115cfbe454250e86b113db972d109cb4fb70912
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for comwatt 0.12.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.