Skip to main content

Python client for the Moehlenhoff Alpha2 underfloor heating system

Project description

python-moehlenhoff-alpha2

Python client for the Moehlenhoff Alpha2 underfloor heating system

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()
    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())

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

moehlenhoff-alpha2-1.0.2.tar.gz (15.3 kB view hashes)

Uploaded Source

Supported by

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