
Stiebel Eltron LWA/LWZ (SG Ready)
The Stiebel Eltron LWA/LWZ is a compact air-to-water heat pump that combines heating, domestic hot water, ventilation, and cooling in a single unit for residential new builds and retrofits. This template communicates over Modbus TCP via the Stiebel Eltron Internet Service Gateway (ISG) and covers the SG Ready interface: reading the active operating state from the getmode register and writing the setmode_a enable flag and setmode_b input to shift the heat pump between frost-protection, normal, and forced operating modes. Installers can use this to align heat pump demand with PV generation or grid tariff signals in the ModbusCloud portal.
- Protocol
- Modbus TCP
- Connection
- Ethernet, Modbus TCP
- Registers
- 4, read and write
- Brand
- Stiebel Eltron
- Compatible models
- LWA/LWZ (SG Ready) · THZ (SG Ready)
- Last updated
Registers (4)
2 read, 2 write
| Name | Unit | Access | Address (Hidden until you enter your email) | Function (hidden) | Type (hidden) |
|---|---|---|---|---|---|
| getmode | Read | 5000 | FC04 | uint16 | |
| setmode_a | Write | 4001 | FC16 | uint16 | |
| setmode_b | Write | 4002 | FC16 | uint16 | |
| temp | Read | 15 | FC04 | int16 |
Loading registers…

Send your device list
If a device is not in the library yet, we build the template for free as soon as we have the register data.
Use cases
- Monitor the active SG Ready operating state to verify correct mode transitions during PV surplus periods.
- Alert on unexpected reversion to frost-protection mode (state 1) outside scheduled low-tariff windows.
- Track temperature readings over time to detect sensor faults or abnormal heat pump behaviour.
- Compare logged SG Ready mode changes against energy meter data to verify demand-shift effectiveness.
- Verify that setmode_a and setmode_b writes take effect within the expected response time after a grid signal.
Installation
Enable Modbus TCP on the Stiebel Eltron ISG: navigate to Settings, then Energy Management, set SG Ready Enabled to ON, and set the SG Ready Input source to Modbus.
Connect the ISG to the same LAN segment as the ModbusCloud Gateway using a standard Ethernet cable; confirm the ISG has a reachable IP address on port 502.
In the ModbusCloud portal, add a new device, import the Stiebel Eltron LWA/LWZ (SG Ready) template, and assign the correct unit ID (default 1) together with the ISG IP address.
Verify the connection by reading the getmode register (address 5000); a value of 1, 2, 3, or 4 confirms a live response. If 32768 is returned, the register is unavailable on this ISG firmware version.
Things to watch for
The getmode register always returns 32768. What does that mean?
The value 32768 (0x8000) is the Stiebel Eltron substitute value for an unavailable register. This typically means the ISG firmware does not expose the SG Ready block, or the Modbus TCP interface is not fully activated. Update the ISG to the latest firmware and confirm the Modbus TCP/IP interface appears in the ISG interface list.
Writes to setmode_b have no effect on the heat pump.
SG Ready Modbus control requires a two-step write: setmode_a (address 4001) must be written with value 1 to enable Modbus control before setmode_b (address 4002) is evaluated. Also confirm that SG Ready Enabled is set to ON and the SG Ready Input is set to Modbus in the ISG Energy Management menu.
Why can the gateway connect to the ISG but no registers are readable?
The ISG uses 1-based addressing. Some Modbus clients subtract 1 automatically, which can shift addresses off by one. Verify your client is sending the exact addresses listed in the template (5000 for getmode, 4001 and 4002 for setmode). Also confirm port 502 is not blocked by a firewall on the ISG or local network.
Is it safe to write setmode_b freely to shift the heat pump into forced mode?
Exercise caution: forced operating mode (SG Ready state 3 or 4) causes the heat pump to run at elevated targets that may exceed DHW or heating circuit limits set on the heat pump manager. Prolonged forced operation can trigger safety cutouts. Always test with short write intervals first and verify that return to normal mode (state 2) is confirmed via getmode before repeating.
Want to see how it works?












