theben-conexa-smgw
Description
Provides a small python API to query data from a Theben Conexa 3.0 Smart Meter Gateway (smgw) This is mainly used by homeassistant but feel free to use it for other purposes.
Installation
pip install theben-conexa-smgw
Usage
The minimum to get your meter readings would be:
async with aiohttp.ClientSession() as session:
try:
await checkNetworkConnection(host)
smgw = await ConexaSMGW.create(session, host, user, password)
vals = await smgw.getLatestValues()
print(f"vals: {vals}")
Where host, user, and password needs to be replaced with the values you received from your power grid operator.
Support
Create an issue here in gitlab if you need support.
Contributing
Feel free to open PRs
License
This project is licensed under GPLv3 see LICENSE file.
Metadata
Release files for theben-conexa-smgw 0.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| theben_conexa_smgw-0.4.2.tar.gz | 40.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| theben_conexa_smgw-0.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 57.6 kB
Release files / theben_conexa_smgw-0.4.2.tar.gz
| Download URL | theben_conexa_smgw-0.4.2.tar.gz |
|---|---|
| Size | 40.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4f8fcbdf8dc5238a2b9427ae1abf0097892c2f0e578d5cf26633ccea579e1ab
|
|
BLAKE2b-256 checksum How to use checksums |
222a03b77eeae2adf8b7779ea5ac600443213ad538551cbc1a8564cad8df8aae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / theben_conexa_smgw-0.4.2-py3-none-any.whl
| Download URL | theben_conexa_smgw-0.4.2-py3-none-any.whl |
|---|---|
| Size | 17.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d8adbfed93065bd39fcaa41ebf31edb8b107c529a98c1e76e2114cf2582af724
|
|
BLAKE2b-256 checksum How to use checksums |
3c4cc878de2d123379cedb733561c6b819f7d7631b2a4827b60144acc3b98866
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|