evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Stiebel Eltron heatpump wrong Modbus registers

Open nanoBit93 opened this issue 1 year ago • 7 comments

Describe the bug

Hey,

I have a Stiebel Eltron heatpump with a heatpump manager/WPM (Stiebel Eltron ISG) which I was trying to connect to EVCC. However, when I select Stiebel Eltron WPM, an error message indicates that EVCC reads the wrong modbus config.

Image

I can only connect via Stiebel Eltron LWA/LWZ, but also just without a temperature sensor.

Image

Steps to reproduce

  1. Add heatpump to EVCC
  2. Select manufacturer Stiebel Eltron (WPM)
  3. Enter details (IP etc), hit test button ...

Configuration details

configured via UI

Log details

n/a

What type of operating system or environment does evcc run on?

HomeAssistant Add-on

External automation

  • [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • [x] I have verified that the issue is reproducible with the latest nightly build

Version

0.205.0

nanoBit93 avatar Jul 26 '25 08:07 nanoBit93

/cc @Vogelbecker

andig avatar Jul 26 '25 08:07 andig

Hi,

what type of heat pump do you own? It is absolutely necessary that the mode in the ISG is set to “automatic.” In addition, the “SGready” function must be activated in the ISG under ‘Settings’ -> “Energy Management.” Which firmware version is installed on your ISG?

Can you provide a trace log? evcc charger db:1 -l trace

I have a Tecalor heat pump, but as far as I know, it should be identical in construction to Stiebel Eltron. This is what the trace looks like for me:

/app # evcc charger db:1 -l trace
[main  ] INFO 2025/07/28 14:58:00 using config file: /etc/evcc.yaml
[db    ] INFO 2025/07/28 14:58:00 using sqlite database: /.evcc/evcc.db
[db    ] TRACE 2025/07/28 14:58:00 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
[db    ] TRACE 2025/07/28 14:58:00 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "settings" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2025/07/28 14:58:00 SELECT * FROM `settings` LIMIT 1 -1 <nil>
[db    ] TRACE 2025/07/28 14:58:00 SELECT * FROM `settings` 48 <nil>
[mqtt  ] INFO 2025/07/28 14:58:00 connecting evcc-774330396 at tcp://172.16.1.31:1883
[mqtt  ] DEBUG 2025/07/28 14:58:00 tcp://172.16.1.31:1883 connected
[db    ] TRACE 2025/07/28 14:58:00 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs" -1 <nil>
[db    ] TRACE 2025/07/28 14:58:00 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "configs" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2025/07/28 14:58:00 SELECT * FROM `configs` LIMIT 1 -1 <nil>
[db    ] TRACE 2025/07/28 14:58:00 SELECT * FROM `configs` WHERE `configs`.`class` = 1 1 <nil>
[db:1  ] TRACE 2025/07/28 14:58:00 modbus: send 00 01 00 00 00 06 01 04 00 0f 00 01
[db:1  ] TRACE 2025/07/28 14:58:00 modbus: recv 00 01 00 00 00 05 01 04 02 01 ff
[db:1  ] TRACE 2025/07/28 14:58:00 modbus: send 00 02 00 00 00 06 01 04 13 88 00 01
[db:1  ] TRACE 2025/07/28 14:58:00 modbus: recv 00 02 00 00 00 05 01 04 02 00 02
[db:1  ] TRACE 2025/07/28 14:58:00 modbus: send 00 03 00 00 00 06 01 04 13 88 00 01
[db:1  ] TRACE 2025/07/28 14:58:00 modbus: recv 00 03 00 00 00 05 01 04 02 00 02
Temp:          51°C
Charge status: B
Enabled:       false
Features:      [Heating IntegratedDevice]

Vogelbecker avatar Jul 28 '25 13:07 Vogelbecker

@Vogelbecker

Hi, i have a very similar problem , see: https://github.com/evcc-io/evcc/discussions/21072#discussioncomment-13933742

System is a Tecalor TTL18Cool (Stiebel WPM18Cool) with WPM (3)

Image

WP is set to Automatic, but why should SGReaady be already activated, as this could be done by modbus. But never mind i even tried it already activated with no change.

Modbus registers from this manual works: (be carefull the register numbers are 1 based where most others working 0 based) https://www.stiebel-eltron.de/toolbox/content/docs/anleitungen/installation/ISG_Modbus/321798-44755-9770_ISG%20Modbus_de_en_fr_it_nl_cs_sk_pl_hu.pdf

this the output of "evcc charger db:1 -l trace"

[main  ] INFO 2025/07/30 14:46:43 using config file: /etc/evcc.yaml
[db    ] INFO 2025/07/30 14:46:43 using sqlite database: /var/lib/evcc/evcc.db
[db    ] TRACE 2025/07/30 14:46:43 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="settings" -1 <nil>
[db    ] TRACE 2025/07/30 14:46:43 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "settings" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2025/07/30 14:46:43 SELECT * FROM `settings` LIMIT 1 -1 <nil>
[db    ] TRACE 2025/07/30 14:46:43 SELECT * FROM `settings` 5 <nil>
[db    ] TRACE 2025/07/30 14:46:43 SELECT count(*) FROM sqlite_master WHERE type='table' AND name="configs" -1 <nil>
[db    ] TRACE 2025/07/30 14:46:43 SELECT sql FROM sqlite_master WHERE type IN ("table","index") AND tbl_name = "configs" AND sql IS NOT NULL order by type = "table" desc 1 <nil>
[db    ] TRACE 2025/07/30 14:46:43 SELECT * FROM `configs` LIMIT 1 -1 <nil>
[db    ] TRACE 2025/07/30 14:46:43 SELECT * FROM `configs` WHERE `configs`.`class` = 1 0 <nil>

nothing about modbus there

evcc-20250730-145005-debug.log

labmaster avatar Jul 30 '25 12:07 labmaster

Werden im isg Programme für Warmwasser und Heizen verwendet?

jdietz-evolution avatar Aug 02 '25 19:08 jdietz-evolution

since there is no modbus communication can you try to set the model to Tecalor THZ? The registers won't fit here, but then we'll see if any Modbus communication is happening at all. We might have a problem with the other template then.

Vogelbecker avatar Aug 05 '25 05:08 Vogelbecker

I have connection with the isg plus but Evcc only Switch to the Betriebszustand 3. Now i have got the Information from the Stiebel Eltron Support that Betriebszustand 3 only heat up warm water to 52 for greater Temperature 4 Must be used

jdietz-evolution avatar Aug 05 '25 10:08 jdietz-evolution

Seems to be resolved

andig avatar Aug 15 '25 16:08 andig