Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Async I/O modbus API for Remeha appliances

Remeha logo

GitHub License ci badge

aio-remeha-modbus is an async python API for Remeha appliances.

Installation

Add this library to your project from PyPI using

$ uv add aio-remeha-modbus>=1.0.0beta4

or build it locally by checking out the source of this project and

$ uv build
...
$ uv pip install dist/*.whl

Exposed API

The API is documented at readthedocs. A short textual description of the most important classes and their hierarchy is shown below.

cli tool

This library also includes a cli tool to query your Remeha appliance. After installing this library, you can use remeha-query or if you prefer, you can run it from the cli yourself using python src/query.py.

Examples

Query the 2nd zone of an appliance that uses an RTU over TCP connection at 192.168.1.2 and port 8899:

$ remeha-query --transport serial socket://192.168.1.2:8899 --zone 2

Query all components

$ remeha-query --transport serial socket://192.168.1.2:8899 --all

Caching

To retrieve fetch data from modbus, call await RemehaApi.async_update() explicitly. After that, the values are retained until the next update call.

The discovery table in RemehaApi.discovery_table is read only at the first call to async_update(). To re-read the discovery table, restart the process running this API.

Error handling

All errors raised by this library are intended to be translated. To facilitate that, the base error class contains a translation_key field to look up the translation and a translation_placeholders field. This is a dict to be used when extrapolating the error message.

Configuration

aio-remeha-modbus uses modbus-connection to talk to your appliances, and is agnostic to the way a connection is obtained.

To create a new api instance, you need to obtain a ModbusUnit first. See the modbus-connection docs on how to do that.

RemehaApi

To create a new API instance, provide the ModbusUnit instance to the RemehaApi constructor.

Appliance

The connected Remeha appliance can be retrieved using RemehaApi.appliance.

ClimateZone

Zones, as they are configured in the Remeha appliance are exposed as ClimateZone instances and can be retrieved using RemehaApi.zones.

Zone schedules

When a ClimateZone is read from the appliance and its mode is ClimateZoneMode.SCHEDULING, the schedules for each Weekday are available through ClimateZone.current_schedule as instances of api.schedule.ZoneSchedule.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aio_remeha_modbus-1.0.0b4.tar.gz (43.5 kB view details)

Uploaded Source

Built Distribution

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

aio_remeha_modbus-1.0.0b4-py3-none-any.whl (47.7 kB view details)

Uploaded Python 3

File details

Details for the file aio_remeha_modbus-1.0.0b4.tar.gz.

File metadata

  • Download URL: aio_remeha_modbus-1.0.0b4.tar.gz
  • Upload date:
  • Size: 43.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for aio_remeha_modbus-1.0.0b4.tar.gz
Algorithm Hash digest
SHA256 5ab0bc61be85fc33455ba513bc6861a2086fac6ac0ce061fcaa6124cd22d87e8
MD5 2a9eea7ea6df738c0779d67930eacf2a
BLAKE2b-256 d2496796637297cc512c80d77b0d58732af7a6f0c0a8a18bdf64dfff71899b5d

See more details on using hashes here.

File details

Details for the file aio_remeha_modbus-1.0.0b4-py3-none-any.whl.

File metadata

  • Download URL: aio_remeha_modbus-1.0.0b4-py3-none-any.whl
  • Upload date:
  • Size: 47.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for aio_remeha_modbus-1.0.0b4-py3-none-any.whl
Algorithm Hash digest
SHA256 f6a9b7fb1b54234421e8c5130ac064e792c3c853d52e52d44b3a37dae0c49269
MD5 97c5b038de8989b1de10a04207437464
BLAKE2b-256 62241b40775f64a2accb8f59b89f783dea492e58f8f9fc88892858b2c2103283

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0b4 This release

2 files

0.3.0

2 files

0.2.0

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.0

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page