This release is a pre-release and may not be stable for production use.
Async I/O modbus API for Remeha appliances
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.0beta1
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aio_remeha_modbus-1.0.0b1.tar.gz.
File metadata
- Download URL: aio_remeha_modbus-1.0.0b1.tar.gz
- Upload date:
- Size: 40.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.12 {"installer":{"name":"uv","version":"0.12.12","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8ad82e0efc64c56c96b995d8f145cd6ee745c965ed1ff8e89e3379489499ff2
|
|
| MD5 |
9b8bd191bd0699135a399ebd67843d43
|
|
| BLAKE2b-256 |
51164a0f1dd1b9d1a7f8bca79f3cb9bd9de17bc6bdfb53d1ea6b11477a315963
|
File details
Details for the file aio_remeha_modbus-1.0.0b1-py3-none-any.whl.
File metadata
- Download URL: aio_remeha_modbus-1.0.0b1-py3-none-any.whl
- Upload date:
- Size: 43.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.12 {"installer":{"name":"uv","version":"0.12.12","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29bd526389702b61257cdd292f889c9148c8360b3994750a2cf0f480f0aa03e4
|
|
| MD5 |
8a846ceb7d3eca33f601c0cf9bbc7064
|
|
| BLAKE2b-256 |
9b98e4430f697902966eaad7ed0c8476f7a91751584110a552973bef32c7a31b
|