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

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.3
File Size Uploaded Provenance Actions
theben_conexa_smgw-0.4.3.tar.gz 41.4 kB Without provenance Details for theben_conexa_smgw-0.4.3.tar.gz

Built distribution (wheel)

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

Total release size: 61.0 kB

Release files / theben_conexa_smgw-0.4.3.tar.gz

Download URL theben_conexa_smgw-0.4.3.tar.gz
Size 41.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2b24cf584b0750ace26c5902bd8c812ad0cb60861f790e4d6349b08218ce8c80
BLAKE2b-256 checksum
How to use checksums
19ffaa1bdbdf49db2c37b6931874594cace66ef8111b3c946ebbd2117dc42022
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.3-py3-none-any.whl

Download URL theben_conexa_smgw-0.4.3-py3-none-any.whl
Size 19.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3e4ed9d0576e860fa90d089401d38bfa9cf33e2206f98b9ba16623545de0832
BLAKE2b-256 checksum
How to use checksums
3d88e746a11f2515ed54eed37731ebeb4c21eab0059a15b1136947378288d362
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.3

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