python-moehlenhoff-alpha2
Python client for the Moehlenhoff Alpha2 underfloor heating system
Vendor documentation
Installation
Moehlenhoff Alpha2 can be installed from PyPI using pip or your package manager of choice:
pip install moehlenhoff-alpha2
Usage example
import asyncio
from moehlenhoff_alpha2 import Alpha2Base
async def main():
base = Alpha2Base("192.168.1.1")
await base.update_data()
# Set current date and time in base
await base.set_datetime()
# Increase the temperature of heatarea by 0.2 degrees
heat_area = list(base.heat_areas)[0]
t_target = heat_area["T_TARGET"] + 0.2
await base.update_heat_area(heat_area["ID"], {"T_TARGET": t_target})
asyncio.run(main())
Development
Get uv
# Install project dependencies
poetry sync
# Run tests
ALPHA2_BASE_ADDRESS=<address> uv run pytest --tb=short -o junit_family=xunit2 --junitxml=testreport.xml --cov-append --cov moehlenhoff_alpha2 --cov-report term --cov-report xml -v tests
Metadata
Release files for moehlenhoff-alpha2 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| moehlenhoff_alpha2-1.4.0.tar.gz | 19.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| moehlenhoff_alpha2-1.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.2 kB
Release files / moehlenhoff_alpha2-1.4.0.tar.gz
| Download URL | moehlenhoff_alpha2-1.4.0.tar.gz |
|---|---|
| Size | 19.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8927fe4b7b60acf227a76d15b27004cfc8cec3e978ba0c716876bdc6c2dd7d6
|
|
BLAKE2b-256 checksum How to use checksums |
9887ff96e60d147f66206cbf077a8b7cd3ea9588ea07243be5eb90990a94e51c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.6
|
Release files / moehlenhoff_alpha2-1.4.0-py3-none-any.whl
| Download URL | moehlenhoff_alpha2-1.4.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b47462044efe432338c471a2a584647e3cd6db81c6346054c4b0711cfd67708
|
|
BLAKE2b-256 checksum How to use checksums |
a75f88261baa2f4a56ced61976f5b8309c346ba2b38ed84770b0c562df157077
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.6
|