Metadata-Version: 2.4
Name: theben-conexa-smgw
Version: 0.4.2
Summary: API for Theben Conexa 3.0 Smart Meter Gateway
Project-URL: Homepage, https://gitlab.com/michael.dluhosch/theben-conexa-smgw
Project-URL: Issues, https://gitlab.com/michael.dluhosch/theben-conexa-smgw/-/work_items
Author-email: Michael Dluhosch <michael.dluhosch@gmail.com>
License-Expression: GPL-3.0-or-later
License-File: LICENSE
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.14
Requires-Dist: aiohttp>=3.14.1
Description-Content-Type: text/markdown

# 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:

```python
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.
