Skip to main content

python-stiebel-eltron

Python API for interacting with the STIEBEL ELTRON ISG web gateway via modbus for controlling integral ventilation units and heat pumps.

This module is based on the STIEBEL ELTRON modbus user manual, but is not official, developed, supported or endorsed by Stiebel Eltron GmbH & Co. KG. For questions and other inquiries, use the issue tracker in this repo please.

Requirements

You need to have Python installed.

  • STIEBEL ELTRON Internet-Service Gateway ISG WEB with enabled modbus module
    • You can call the STIEBEL ELTRON support, if your ISG does not have the modbus module enabled. They upgraded mine for free.
  • STIEBEL ELTRON heatpumpt (compatible). Successfully used devices:
    • LWZ504e
    • LWZ304
  • Network connection to the ISG WEB

Installation

The package is available in the Python Package Index.

Base install:

    $ pip install pystiebeleltron

Install with the optional tmodbus backend used in the example below:

    $ pip install "pystiebeleltron[tmodbus]"

Example usage of the module

The examples/ directory contains runnable examples for WPM and LWZ heat pumps. They use the optional tmodbus backend, so install pystiebeleltron[tmodbus] first.

The API takes a ModbusUnit. You own the connection: build it, hand a unit to the API, and close it when done. Building it performs no I/O — the first read establishes the link, and a link that drops later is re-established on the next request, over the same unit handle. Each register block is a component exposed on the API, and values are read as typed attributes (None when the register is unavailable).

Pass the IP address of the ISG gateway to the selected example:

./examples/wpm-example.py 192.168.1.10
./examples/lwz-example.py 192.168.1.10

The WPM example also demonstrates writing and restoring the DHW comfort temperature. The LWZ example reads room and outside temperatures and the current operating mode.

For a read-only WPM library check outside Home Assistant, use examples/wpm-readonly-check.py in a separate virtual environment. Select --family wpm, wpm3 or wpm3i, and pass --confirm-read-only. It performs one poll by default (--polls accepts at most three); --raw exercises raw reads without printing register values. The output contains package versions, a retry-module fingerprint and request outcomes, excluding host addresses and register values. The wrapper permits only input and holding reads and rejects all write operations. This checks the library, not Home Assistant compatibility.

WPM API polls retry an illegal-address input or holding read at most once from a lower start answered directly in the same register space and poll, when the expanded read fits within 125 registers. Healthy reads and writes are unchanged; LWZ does not opt in. A rejected block costs one failed original request and at most one additional read on every poll. A successful retry does not establish that the target registers exist; unavailable words still decode as None.

License

python-stiebel-eltron is licensed under MIT, for more details check LICENSE.

Metadata

Release files for pystiebeleltron 0.9.2

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

Source distribution (sdist)

Source distribution for pystiebeleltron 0.9.2
File Size Uploaded
pystiebeleltron-0.9.2.tar.gz 20.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pystiebeleltron 0.9.2
File Interpreter ABI Platform
pystiebeleltron-0.9.2-py3-none-any.whl Python 3 none any Details

Total release size: 46.0 kB

Release files / pystiebeleltron-0.9.2.tar.gz

Download URL pystiebeleltron-0.9.2.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ef666e514e03801c82087777b2f639277ba03204d55efabac20048cb7e863175
BLAKE2b-256 checksum
How to use checksums
578fd3dc05fb41d80c59eaf8da7d4c6e4435a7da1aaaaacdd951a3f986da2382
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / pystiebeleltron-0.9.2-py3-none-any.whl

Download URL pystiebeleltron-0.9.2-py3-none-any.whl
Size 25.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
58acf22b8b6783763420784c824c1b9415f049cd76134d090ede03d55f68f734
BLAKE2b-256 checksum
How to use checksums
bb15baba5889bb08cb788d47b857bd9e53345ffd5e0323f26665db26d95c8305
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log
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