Skip to main content

Async client for communicating with the Ouman EH-800 heating controller

Project description

ouman-eh-800-api

PyPI version Python versions License

Async Python client for communicating with the Ouman EH-800 heating controller.

Installation

pip install ouman-eh-800-api

Usage

import asyncio
import aiohttp
from ouman_eh_800_api import (
    OumanEh800Client,
    OumanRegistrySet,
    SystemEndpoints,
    L1Endpoints,
    HomeAwayControl,
    OperationMode,
)


async def main():
    async with aiohttp.ClientSession() as session:
        client = OumanEh800Client(
            session=session,
            address="http://192.168.1.100",
            username="user",
            password="password",
        )

        # Authenticate
        await client.login()

        # Read values from endpoints
        registry_set = OumanRegistrySet([SystemEndpoints, L1Endpoints])
        values = await client.get_values(registry_set)

        print(f"Outside temp: {values[SystemEndpoints.OUTSIDE_TEMPERATURE]} °C")
        print(f"L1 supply temp: {values[L1Endpoints.WATER_OUT_TEMPERATURE]} °C")

        # Set home/away mode
        await client.set_home_away(HomeAwayControl.HOME)

        # Set L1 operation mode
        await client.set_l1_operation_mode(OperationMode.AUTOMATIC)

        await client.logout()


asyncio.run(main())

Features

  • Async API using aiohttp
  • Read sensor values (temperatures, valve positions, etc.)
  • Control heating circuits (operation mode, temperature curves, etc.)
  • Set home/away mode
  • Support for L1 and L2 heating circuits
  • Support for optional room sensors

Available Registries

Registry Description
SystemEndpoints System-wide settings (home/away, outside temp, etc.)
L1Endpoints Primary heating circuit
L1EndpointsWithRoomSensor L1 with room sensor (extends L1Endpoints)
L2Endpoints Secondary heating circuit
L2EndpointsWithRoomSensor L2 with room sensor (extends L2Endpoints)

Requirements

  • Python 3.13+
  • aiohttp

Disclaimer

This client has been developed and tested with the Ouman EH-800 unit that was available to the developer. It did not have all features enabled, thus there may be missing features or bugs.

The L2 heating circuit and room sensor endpoints have not been verified.

Contributing

Pull requests for new features or bug fixes are welcome. Please open an issue first to discuss major changes.

License

Apache-2.0

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

ouman_eh_800_api-0.3.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

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

ouman_eh_800_api-0.3.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file ouman_eh_800_api-0.3.0.tar.gz.

File metadata

  • Download URL: ouman_eh_800_api-0.3.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ouman_eh_800_api-0.3.0.tar.gz
Algorithm Hash digest
SHA256 56121ce22e429a58d97149cd1193ec80bc3f1f66574faf3ca8f072af075b3798
MD5 7db5bff5f11dc8c5c6b914be45028176
BLAKE2b-256 147d69ebc42e96f04353c3d9b4571585ac496a5ca35a055a31d7b72c522079c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for ouman_eh_800_api-0.3.0.tar.gz:

Publisher: release.yml on Markus98/ouman-eh-800-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ouman_eh_800_api-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ouman_eh_800_api-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f881e3a3418a10a78937c266af307bc61658fd76b0965c593e0920f3706510e9
MD5 a9859043702f95fa16e220c019efe07d
BLAKE2b-256 aaf1293329e19db180b35bcaf44f70e7f9919b09f92a4c9c8330000f57615e85

See more details on using hashes here.

Provenance

The following attestation bundles were made for ouman_eh_800_api-0.3.0-py3-none-any.whl:

Publisher: release.yml on Markus98/ouman-eh-800-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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