Skip to main content

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

Gateway diagnostic tool

The package includes an interactive diagnostic command for checking a gateway connection, credentials, and recent meter readings. After installation, run:

conexa-smgw-debug

The command defaults to 192.168.1.200. You can supply a different host and username with --host and --user; if omitted, it prompts for the username. The password is always requested interactively and is not echoed or exposed in the command line. Use --verbose to print a traceback when a diagnostic fails. Run it from a machine that can reach the gateway on the local network.

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.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for theben-conexa-smgw 0.4.4
File Size Uploaded Provenance Actions
theben_conexa_smgw-0.4.4.tar.gz 41.6 kB Without provenance Details for theben_conexa_smgw-0.4.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for theben-conexa-smgw 0.4.4
File Interpreter ABI Platform Actions
theben_conexa_smgw-0.4.4-py3-none-any.whl Python 3 none any Details for theben_conexa_smgw-0.4.4-py3-none-any.whl

Total release size: 61.3 kB

Release files / theben_conexa_smgw-0.4.4.tar.gz

Download URL theben_conexa_smgw-0.4.4.tar.gz
Size 41.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2959be8641165e67e56eab717b3908e641d7635d27081a28d03946de1b8cd866
BLAKE2b-256 checksum
How to use checksums
bc7e3230124472b39c2e38ecd735d5046e4233505d155008776e746cb0744511
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.4-py3-none-any.whl

Download URL theben_conexa_smgw-0.4.4-py3-none-any.whl
Size 19.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
097d3b7bd5934fe330147aef4e771ceb6403f17b829eb0250867f393bb7ad764
BLAKE2b-256 checksum
How to use checksums
8221cac34182db67658e28dfec86a220168e2e6605a24243fe0047a920014b2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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}

Security for theben-conexa-smgw 0.4.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page