Skip to main content

remeha_modbus

PyPI version Python License: MIT

Python library for accessing Remeha heating systems via Modbus TCP (GTW-08 gateway).

Designed to be used standalone or as the backend for a Home Assistant custom integration.

Features

  • Async Modbus TCP client based on pymodbus
  • Full register definitions from the GTW-08 parameter list
  • Automatic value scaling (gain) and signed integer handling
  • Invalid value detection (returns None for disconnected sensors)
  • Support for all 12 heating zones
  • Read/Write access for configurable parameters

Supported Registers

Chapter Description Addresses
System Discovery Device info, zone count 128 - 200
Main Controller Setpoints, temperatures, status 256 - 352
Appliance Temperatures, pressures, counters 384 - 503
Maintenance Service info, error codes 512 - 551
Zones (1-12) Per-zone temps, setpoints, programs 640 - 6783

Installation

pip install remeha-modbus

Or for development:

git clone https://github.com/klacol/remeha-modbus.git
cd remeha-modbus
pip install -e ".[dev]"

Usage

import asyncio
from remeha_modbus import RemehaModbusClient

async def main():
    client = RemehaModbusClient(host="192.168.1.100", port=502, slave_id=1)
    await client.connect()

    # Read all appliance sensors
    data = await client.read_appliance()
    print(f"Vorlauftemperatur: {data['flow_temperature']} °C")
    print(f"Wasserdruck: {data['water_pressure']} bar")

    # Read a specific zone
    zone1 = await client.read_zone(1)
    print(f"Zone 1 Modus: {zone1['zone1_zone_mode']}")

    await client.disconnect()

asyncio.run(main())

Testing

pytest tests/ -v

Tests use mocked Modbus responses so no hardware is needed.

Hardware Setup

Requires a Remeha GTW-08 Modbus gateway connected to the heating system's L-Bus. The gateway provides Modbus TCP access over Ethernet.

  • Set the Modbus address via the GTW-08 rotary switch
  • Default port: 502
  • Supported baud rates: 9600, 19200, 38400, 57600

Reference

Metadata

Release files for remeha-modbus 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for remeha-modbus 0.2.1
File Size Uploaded Provenance Actions
remeha_modbus-0.2.1.tar.gz 13.9 kB Without provenance Details for remeha_modbus-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for remeha-modbus 0.2.1
File Interpreter ABI Platform Actions
remeha_modbus-0.2.1-py3-none-any.whl Python 3 none any Details for remeha_modbus-0.2.1-py3-none-any.whl

Total release size: 25.4 kB

Release files / remeha_modbus-0.2.1.tar.gz

Download URL remeha_modbus-0.2.1.tar.gz
Size 13.9 kB
Tags Source
SHA-256 checksum
How to use checksums
90f12a68ad0f563bc5cf64c12ed36db1d060734b14864594684ce86cbf4ee8b8
BLAKE2b-256 checksum
How to use checksums
1211cde99b2a55bec6c098d4b1deae4802fe4d911c539f1149f12058658d8686
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / remeha_modbus-0.2.1-py3-none-any.whl

Download URL remeha_modbus-0.2.1-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0a9d22c41779bab24dc004c75e46c4fbfc53f40554c4fb147ff6ce87dce66c4
BLAKE2b-256 checksum
How to use checksums
2dbc50589bf03f87bcb8bbcbce4876af089713953b15e313d9067387e0ed4bec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Security for remeha-modbus 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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