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

Download files

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

Source Distribution

remeha_modbus-0.2.1.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

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

remeha_modbus-0.2.1-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file remeha_modbus-0.2.1.tar.gz.

File metadata

  • Download URL: remeha_modbus-0.2.1.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for remeha_modbus-0.2.1.tar.gz
Algorithm Hash digest
SHA256 90f12a68ad0f563bc5cf64c12ed36db1d060734b14864594684ce86cbf4ee8b8
MD5 c5d6ca78ed54f0f663a09d47dac01bbc
BLAKE2b-256 1211cde99b2a55bec6c098d4b1deae4802fe4d911c539f1149f12058658d8686

See more details on using hashes here.

File details

Details for the file remeha_modbus-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: remeha_modbus-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for remeha_modbus-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0a9d22c41779bab24dc004c75e46c4fbfc53f40554c4fb147ff6ce87dce66c4
MD5 0806b47114bad4591d91fcee0afd0e03
BLAKE2b-256 2dbc50589bf03f87bcb8bbcbce4876af089713953b15e313d9067387e0ed4bec

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.0

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