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.2.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.2.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ouman_eh_800_api-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 49da5069c7352eb2095d076f371fd2cb9cbb3d5b08495640e3f0283afb8faafd
MD5 ba7d54c210f080fe80b9903b50578e3f
BLAKE2b-256 e7e14b6cc745783723b145f26491acf915d379858ee4a4c90a1b56989f353e15

See more details on using hashes here.

Provenance

The following attestation bundles were made for ouman_eh_800_api-0.2.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.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ouman_eh_800_api-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 adf10ca576909231e1b59b95658215a2c792bc03d9bcb683d4d14df541d42064
MD5 cc197ba49aaff02e1a2f7f8456f6b58b
BLAKE2b-256 dcc76e67292139a31db4be71c6258812174db5081807249bc6eea0eefda207f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for ouman_eh_800_api-0.2.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