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
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 | |
|---|---|---|---|
| comwatt-0.12.0.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| comwatt-0.12.0-py3-none-any.whl | Python 3 | none | any | Details |
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
|