Skip to content

Buderus WLW196i: emsesp charger template: hpin4opt permanently set to boost mode, never reset on missing PV surplus #29966

@uger1

Description

@uger1

Describe the bug

When using the emsesp charger template with a Buderus WLW196i heat pump, EVCC permanently sets hpin4opt (Input 4) to 1xxxxxxxxxxx (comfort/boost mode) via the EMS-ESP API. The reset command (0xxxxxxxxxxx) is never sent, even when there is no PV surplus – including at night (00:32 local time in logs).
The heat pump therefore runs permanently in comfort mode instead of switching back to the eco program when no surplus is available.

Steps to reproduce

    1. Configure emsesp charger template with Buderus WLW196i (connected via EMS-ESP)
    2. Set heat pump loadpoint to PV surplus mode
    3. Observe EMS-ESP logs: hpin4opt is set to 1xxxxxxxxxxx on every EVCC startup and never reset
    4. Heat pump ignores the lower eco temperature program and permanently heats to comfort temperature
      Expected behavior
      EVCC should reset hpin4opt to 0xxxxxxxxxxx when no PV surplus is available, so the heat pump returns to its configured eco program.
  1. Manually setting hpin3opt to 0xxxxxxxxxxx via EMS-ESP API restores normal operation. Problem reoccurs immediately when EVCC is restarted.
    Note: In many German installations the WLW196i maps the PV function to Input 3, not Input 4 – this may be related to the hardcoded input mapping in the emsesp template (see also Configurable EMS-ESP Inputs for Heat Pump SG-Ready Control #28584).
    ...

Configuration details

# open evcc at http://evcc.local:7070
#network:
# schema: http
#host: evcc.local # .local suffix announces the hostname on MDNS
#port: 7070

## log: debug
levels:
  cache: error

# unique installation ID

interval: 60s # control cycle interval

meters:
  - type: template
    template: varta
    usage: grid
    host: 192.168.
    port: 502
    name: grid1
  - type: template
    template: varta
    usage: battery
    host: 192.168.
    port: 502
    name: battery2
  - name: pv3
    type: template
    template: sunspec-inverter
    usage: pv
  
   # Modbus TCP
    modbus: tcpip
    id: 1
    host: 192.168
    port: 502 # Port

chargers:
  - name: wallbox6
    type: template
    template: ellipro
    #ski: 9741 E77C 42F0 1674 480F 282C 0821 41C0 1107 8D7A
    ski: 9741E77C42F01674480F282C
    ip: 192.168.
  - name: wp_ww
    type: template
    template: emsesp
    host: 
    token:
    tempsource: "warmwater"
  #- name: wp_hc
  #  type: template
  #  template: emsesp
  #  host: 192.168.178.90
  #  token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IkhlYXRwdW5wIiwiYWRtaW4iOnRydWV9.3V9q6Ybr1iczfeEqw53aFQctpA
  #  tempsource: "heating"

vehicles:
  - name: ev1
    type: template
    template: vw
    title: ID3
    user: de
    password: 
    vin: 
    capacity: 77
    timeout: 10s
  - name: id7
    type: template
    template: vw
    title: ID7
    user: 
    password: 
    vin: 
    capacity: 86
    timeout: 10s

loadpoints:
  - title: Garage
    charger: wallbox6
    mode: pv
  # phases: 3
  # mincurrent: 6
  # maxcurrent: 16
    #resetOnDisconnect: false
  - title: WP Warmwasser
    charger: wp_ww
  #- title: WP Heizung
  #  charger: wp_hc

site:
  title: Mein Zuhause
  meters:
    grid: grid1
    pv:
    - pv3
    battery:
    - battery2 
  residualPower: 100

eebus:
  certificate:
    private: |
      -----BEGIN EC 
      nLEKqMx/oHkiohild9N/xsM5JJbLSmd+DA==
      -----END EC PRIVATE KEY-----
    public: |
      -----BEGIN CERTIFICATE-----
      
      JJbLSmd+DKNCMEAwDgYDVR0PAQH/BAQDAgeAMA8GA1UdEwEB/wQFMAMBAf8wHQYD
      VR0OBBYEFHW+qgKVlsmyS3wJ0HvgnIhMw9kxMAoGCCqGSM49BAMCA0gAMEUCIACI
      iCxdKPe+XwdWZiKR/K+Xv5VxeAX4wwMN39VAKI60AiEAm7Iond
      1mlwma2zTnKd2TN6lA77dZk=
      -----END CERTIFICATE-----

Log details

2026-05-16T22:36:34.127    INFO 32:     [command]    Called command boiler/hpin4opt (input 4 options) with value 1xxxxxxxxxxx
2026-05-16T22:39:33.860    INFO 33:     [command]    Called command boiler/hpin4opt (input 4 options) with value 1xxxxxxxxxxx
2026-05-16T22:42:34.001    INFO 34:     [command]    Called command boiler/hpin4opt (input 4 options) with value 1xxxxxxxxxxx
2026-05-16T22:45:34.100    INFO 35:     [command]    Called command boiler/hpin4opt (input 4 options) with value 1xxxxxxxxxxx
2026-05-16T22:48:34.120    INFO 36:     [command]    Called command boiler/hpin4opt (input 4 options) with value 1xxxxxxxxxxx
2026-05-16T22:51:33.956    INFO 37:     [command]    Called command boiler/hpin4opt (input 4 options) with value 1xxxxxxxxxxx
2026-05-16T22:54:34.064    INFO 38:     [command]    Called command boiler/hpin4opt (input 4 options) with value 1xxxxxxxxxxx
2026-05-16T22:57:34.093    INFO 39:     [command]    Called command boiler/hpin4opt (input 4 options) with value 1xxxxxxxxxxx
2026-05-16T23:00:34.115    INFO 40:     [command]    Called command boiler/hpin4opt (input 4 options) with value 1xxxxxxxxxxx

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

HomeAssistant Add-on

External automation

  • 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

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

Version

0.306.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions