Metadata-Version: 2.1
Name: moehlenhoff-alpha2
Version: 1.0.4
Summary: Python client for the Moehlenhoff Alpha2 underfloor heating system
Home-page: https://github.com/j-a-n/python-moehlenhoff-alpha2
Author: Jan Schneider
Author-email: oss@janschneider.net
Requires-Python: >=3.6,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: aiohttp (>=3.7.1,<4.0.0)
Requires-Dist: xmltodict (>=0.12.0,<0.13.0)
Project-URL: Repository, https://github.com/j-a-n/python-moehlenhoff-alpha2
Description-Content-Type: text/markdown

# python-moehlenhoff-alpha2
Python client for the Moehlenhoff Alpha2 underfloor heating system

## Vendor documentation
- https://www.ezr-portal.de/backend/documents.php?d=Alpha2_XML_Schnittstellen_Informationen.zip

## Installation

Moehlenhoff Alpha2 can be installed from PyPI using `pip` or your package manager of choice:

``` bash
pip install moehlenhoff-alpha2
```

## Usage example

``` python
import asyncio
from moehlenhoff_alpha2 import Alpha2Base

async def main():
    base = Alpha2Base("192.168.1.1")
    await base.update_data()
    ha = list(base.heatareas)[0]
    t_target = ha["T_TARGET"] + 0.2
    await base.update_heatarea(ha["ID"], {"T_TARGET": t_target})

asyncio.run(main())
```

