evcc-io / evcc

Sonne tanken ☀️🚘
https://evcc.io
MIT License
3.42k stars 622 forks source link

Heater tEmperature resets to 100 °C on every reboot #12688

Closed buliwyf42 closed 7 months ago

buliwyf42 commented 7 months ago

Describe the bug

I use a Heater with a shelly Plug to heat water. Unfortunately if i set a Temperature the Temp is reseted after every reboot. Previously this could be set with min and max soc. The Option for "PLAN" like on my go-e charger is not shown for the heater. Perhaps i just f.. some config but setting a Limit should survive a restart.

Steps to reproduce

  1. Restart EVCC
  2. Set Temp
  3. Restart
  4. Set Temp again.

Configuration details

-meters
    - name: Warmwasser
        type: template
        usage: charge
        template: shelly-1pm
        host: 192.168.211.46
-vehicles
    - name: Warmwasser
      type: custom
      title: Warmwasser
      icon: waterheater
      phases: 1
      onIdentify:
        mode: off
      soc:
        source: mqtt
        topic: esphome/1wire/sensor/warmwasser/state
        timeout: 60m
chargers
  - name: Warmwasser-Steckdose
    type: template
    template: shelly
    heating: true
    integrateddevice: true
    icon: waterheater
    host: 192.168.211.46
    standbypower: -1
loadpoint
  - title: WW-Steckdose
    charger: Warmwasser-Steckdose
    meter: Warmwasser
      #    mode: now
    vehicle: Warmwasser
#    phases: 1
#    mincurrent: 16
#    maxcurrent: 16
    enable:
      threshold: 0
      delay: 1m
    disable:
      threshold: 0
      delay: 1m
    soc:
      poll:
        mode: always
        interval: 30s

Log details

Nothing relevant.

What type of operating system are you running?

Linux

Version

evcc version 0.124.6 (0d541fcb)

VolkerK62 commented 7 months ago

No idea, why "PLAN" isn´t shown within the loadpoint. Normally it is only unvisible if heating: true is configured. You can set vehicle limitSoc also via API https://docs.evcc.io/docs/reference/api#vehicles

buliwyf42 commented 7 months ago

No idea, why "PLAN" isn´t shown within the loadpoint. Normally it is only unvisible if heating: true is configured. You can set vehicle limitSoc also via API https://docs.evcc.io/docs/reference/api#vehicles

Sorry, I mixed up the copy and paste. The Charger is configured heating: true. Therefore, "plan" should not appear? Is there any other Way to configure if heating: true? If I remove heating: true i'm back to 5% steps which is not fine enough.

VolkerK62 commented 7 months ago

The Charger is configured heating: true. Therefore, "plan" should not appear?

Yes.

Is there any other Way to configure if heating: true?

You can set it via REST API in 1% steps. (see link above)

andig commented 7 months ago

@naltatis why should planner be hidden for heating devices? Seems hot water in the morning could be nice?

VolkerK62 commented 7 months ago

Problem seems to be, to define the needed energy.

Edit: see https://github.com/evcc-io/evcc/pull/9393

naltatis commented 7 months ago

Yes, energy does not correlate linearly to temperature increase and we don't have charging sessions. Means our resetting mechanism don't work here.

andig commented 7 months ago

Yes, energy does not correlate linearly to temperature increase

OT physically it should. But we sre missing a battery capacity here.

Seems this is more a discussion now?