Skip to main content

API for Theben Conexa 3.0 Smart Meter Gateway

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

theben_conexa_smgw-0.4.2.tar.gz (40.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

theben_conexa_smgw-0.4.2-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file theben_conexa_smgw-0.4.2.tar.gz.

File metadata

  • Download URL: theben_conexa_smgw-0.4.2.tar.gz
  • Upload date:
  • Size: 40.1 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for theben_conexa_smgw-0.4.2.tar.gz
Algorithm Hash digest
SHA256 c4f8fcbdf8dc5238a2b9427ae1abf0097892c2f0e578d5cf26633ccea579e1ab
MD5 f68fa954c03542eed750e5b54a09f73b
BLAKE2b-256 222a03b77eeae2adf8b7779ea5ac600443213ad538551cbc1a8564cad8df8aae

See more details on using hashes here.

File details

Details for the file theben_conexa_smgw-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: theben_conexa_smgw-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for theben_conexa_smgw-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d8adbfed93065bd39fcaa41ebf31edb8b107c529a98c1e76e2114cf2582af724
MD5 7329b2e8f75a9cf9900a666579ae0852
BLAKE2b-256 3c4cc878de2d123379cedb733561c6b819f7d7631b2a4827b60144acc3b98866

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page