evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Schedule does not refresh after editing

Open maduuto opened this issue 9 months ago • 1 comments

Description

First i started to activate a schedule for monday (today is friday) which worked. Then i activated an plan for tomorrow, but the display above the charging line (the start arrow with the time when plan starts) did not refresh to the new earlier second plan. Then i deacitvated both plans and it still shows charginf on monday.

Steps to Reproduce

Activate repeating plan Activating second plan one time Deactivate one or both

⚠️ RETURN TO EVCC TAB → COPY STEP 2 → PASTE HERE

Configuration (YAML)

database:
  type: sqlite
  dsn: /var/lib/evcc/evcc.db

Configuration (UI)

{
  "site": {
    "title": "Wallbox",
    "grid": "db:4",
    "pv": ["db:5","db:7"],
    "battery": ["db:6"],
    "aux": null,
    "ext": null
  },
  "loadpoints": [
    {"id":2,"name":"db:2","charger":"db:1","circuit":"main","title":"Carport","defaultMode":"off","priority":5,"phasesConfigured":0,"minCurrent":6,"maxCurrent":16,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"planEnergy":0,"planTime":"0001-01-01T00:00:00Z","planPrecondition":0,"batteryBoostLimit":100,"limitEnergy":0,"limitSoc":0,"planStrategy":{"continuous":false,"precondition":0},"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"soc":{"poll":{"mode":"connected","interval":600000000000},"estimate":true}},
    {"id":19,"name":"db:19","charger":"db:18","circuit":"main","title":"Nibe SG-Ready","defaultMode":"pv","priority":2,"phasesConfigured":1,"minCurrent":3,"maxCurrent":39,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"planEnergy":0,"planTime":"0001-01-01T00:00:00Z","planPrecondition":0,"batteryBoostLimit":100,"limitEnergy":0,"limitSoc":0,"planStrategy":{"continuous":false,"precondition":0},"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"soc":{"poll":{"mode":"charging","interval":3600000000000},"estimate":true}}
  ],
  "charger": [
    {"config":{"baudrate":9600,"comset":"8N1","host":"192.168.150.70","id":"4","modbus":"tcpip","port":502,"powercontrol":true,"template":"nibe-s-series","tempsource":"water_mid"},"deviceProduct":"NIBE Nibe S-Series (SG Ready)","id":18,"name":"db:18","type":"template"},
    {"config":{"host":"192.168.150.180","template":"go-e-v3"},"id":1,"name":"db:1","type":"template"}
  ],
  "meter": [
    {"config":{"host":"192.168.150.181","modbus":"tcpip","template":"huawei-dongle","timeout":15000000000,"usage":"pv"},"deviceTitle":"huawei","id":7,"name":"db:7","type":"template"},
    {"config":{"capacity":6.7,"host":"192.168.150.52","id":1,"maxacpower":4600,"maxdischargepower":"5000","modbus":"tcpip","port":"1502","template":"solaredge-hybrid","usage":"pv","watchdog":"60s"},"deviceTitle":"solaredge-hybrid","id":5,"name":"db:5","type":"template"},
    {"config":{"capacity":6.7,"host":"192.168.150.52","id":"1","maxacpower":4350,"maxdischargepower":"5000","modbus":"tcpip","port":"1502","template":"solaredge-hybrid","usage":"grid","watchdog":"60s"},"id":4,"name":"db:4","type":"template"},
    {"config":{"baudrate":9600,"capacity":6.7,"comset":"8N1","host":"192.168.150.52","id":"1","maxacpower":4350,"maxchargepower":3500,"maxdischargepower":3500,"maxsoc":100,"minsoc":10,"modbus":"tcpip","port":"1502","template":"solaredge-hybrid","usage":"battery","watchdog":"60s"},"deviceTitle":"Solaredge","id":6,"name":"db:6","type":"template"}
  ],
  "vehicle": [
    {"config":{"cache":"15m","capacity":77,"icon":"car","maxCurrent":16,"maxPower":10500,"minCurrent":6,"mode":"pv","password":"***","phases":"","priority":5,"template":"vw","timeout":"10s","title":"ID7","user":"***"},"id":3,"name":"db:3","type":"template"}
  ],
  "circuits": "#- name: main # unique name, used as reference, e.g. as parent in other circuits
#  title: Main Circuit # used in the UI
#  maxcurrent: 63 # 63A main circuit breaker (optional)
#  maxPower: 30000 # 30kW (optional)
#  meter: grid # associated meter to monitor the power consumption (optional)
#  parent: # no parent, this is the root circuit
#- name: garage # unique name, used as reference, e.g. to associate loadpoints
#  title: Garage # used in the UI
#  maxcurrent: 24 # allow individual phase use up to 24A
#  maxPower: 11000 # limit total power to 11kW
#  meter: garage # dedicated meter for the garage
#  parent: main # parent to the main circuit
#- name: carport # unique name, used as reference, e.g. to associate loadpoints
#  title: Carport # used in the UI
#  maxCurrent: 32 # 32A circuit breaker
#  maxPower: # no limit, only check current
#  meter: # no meter, using data from loadpoints
#  parent: main # parent to the main circuit
- name: main # eindeutiger Name, wird als Referenz für andere Circuits verwendet
  title: Hauptstromkreis # Anzeige in der UI (später)
  maxCurrent: 35  # 63A (optional)
  maxPower: 30000 # 30kW (optional)
  meter: db:4 # optional",
  "hems": "## external control via binary in put

#type: relay
#maxPower: 4200 # limit loadpoints to 4.2 kW total
#limit: # limit signal, plugin
#  source: template
#  template: homematic
#  host: 192.168.150.220
#  port: 2010
#  device: '00161BE99EA94E'
#  switchchannel: 18
#topic: hems/limit/status # 0/false = normal, 1/true = limit active

## external control via EEBus protocol

#type: eebus # general EEBus setup (cert gen) required
#ski: *****

## SMA Sunny Home Manager 2.0, will change soon https://github.com/evcc-io/evcc/pull/23190

#type: sma
#allowcontrol: false
#vendorid: AAAAAAAA
#deviceid: BBBBBBBB",
  "tariffs": "#currency: EUR

#grid: # price using energy from the grid
#  type: fixed
#  price: 0.294 # EUR/kWh

#feedin: # price for feeding solar energy to the grid
#  type: fixed
#  price: 0.08 # EUR/kWh
co2: # carbon intensity forecast data
  type: template
  template: grünstromindex
  zip: *****
currency: EUR
grid:
  type: fixed
  price: 0.256
  zones:
    - hours: 0-5
      price: 0.1132
feedin: # price for feeding solar energy to the grid
  type: fixed
  price: 0.082 # EUR/kWh
solar:
- type: template
  template: open-meteo
  lat: *****
  lon: *****
  dec: 45 # Neigung, 0 = horizontal, 90 = vertikal
  kwp: 5.525 # Maximale Generatorleistung (kWp)
  az: 5 # Azimut, -180 = Norden, -90 = Osten, 0 = Süden, 90 = Westen, 180 = Norden
  ac: 4600 # AC Leistung [kW], optional
  dm: 0 # Dämpfung morgens [%], optional
  de: 0 # Dämpfung abends [%], optional
  efficiency: 100 # Wirkungsgrad [%], optional
  alphatemp: -0.0034 # Temperaturkoeffizient, optional
  rossmodel: 0.0342 # Kühlung [Ross-Modell], Gut Gekühlt (0.0200), Freistehend (0.0208), Flach auf Dach (0.0260), Nicht So Gut Gekühlt (0.0342), Transparentes PV (0.0455), Fassadenintegriert (0.0538), Auf Schrägdach (0.0563) [Paper](https://www.sciencedirect.com/science/article/pii/S0038092X20309107) (optional)
  interval: 1h # Intervall, optional
- type: template
  template: open-meteo
  lat: *****
  lon: *****
  dec: 45 # Neigung, 0 = horizontal, 90 = vertikal
  kwp: 7.36 # Maximale Generatorleistung (kWp)
  az: 5 # Azimut, -180 = Norden, -90 = Osten, 0 = Süden, 90 = Westen, 180 = Norden
  ac: 6600 # AC Leistung [kW], optional
  dm: 0 # Dämpfung morgens [%], optional
  de: 0 # Dämpfung abends [%], optional
  efficiency: 100 # Wirkungsgrad [%], optional
  alphatemp: -0.0026 # Temperaturkoeffizient, optional
  rossmodel: 0.0342 # Kühlung [Ross-Modell], Gut Gekühlt (0.0200), Freistehend (0.0208), Flach auf Dach (0.0260), Nicht So Gut Gekühlt (0.0342), Transparentes PV (0.0455), Fassadenintegriert (0.0538), Auf Schrägdach (0.0563) [Paper](https://www.sciencedirect.com/science/article/pii/S0038092X20309107) (optional)
  interval: 1h # Intervall, optional",
  "modbusproxy": [{"port":5021,"readonly":"false","settings":{"uri":"192.168.150.52:1502","rtu":false}},{"port":5022,"readonly":"false","settings":{"uri":"192.168.150.181:502","rtu":false}}],
  "mqtt": {"broker":"wss://mqtt.evcc-crowdscience.de","user":"","password":"","clientID":"","insecure":false,"caCert":"","clientCert":"","clientKey":"","topic":"evcc/019c8a76-9ec5-7000-a064-9977ac92ea83"},
  "influx": {"url":"","database":"","token":"","org":"","user":"","password":"","insecure":false},
  "shm": {"vendorId":"","deviceId":""},
  "interval": 20,
  "experimental": true
}

Logs

[site  ] DEBUG 2026/02/27 20:07:04 ----
[lp-2  ] DEBUG 2026/02/27 20:07:04 charge power: 10W
[lp-1  ] DEBUG 2026/02/27 20:07:04 charge power: 0W
[lp-1  ] DEBUG 2026/02/27 20:07:04 charge currents: [0 0 0]A
[circuit-main] WARN 2026/02/27 20:07:14 over power detected: 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368W > 30000W
[circuit-main] DEBUG 2026/02/27 20:07:14 current: 2.02A
[site  ] ERROR 2026/02/27 20:07:14 circuit power: model 203 block 0 point W: modbus: response transaction id '36169' does not match request '36170'
[site  ] DEBUG 2026/02/27 20:07:15 pv 2 power: 0W
[site  ] ERROR 2026/02/27 20:07:23 pv 1 power: add[0]: model 101 block 0 point DCW: modbus: response transaction id '36252' does not match request '36254'
[site  ] DEBUG 2026/02/27 20:07:23 pv power: 0W
[site  ] DEBUG 2026/02/27 20:07:23 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 967.317kWh updated: 2026-02-27 20:07:01 +0100 CET meter: 29895.768kWh)
[site  ] DEBUG 2026/02/27 20:07:23 !! solar production: accumulate moved db:5 from 967.317 to 967.317
[site  ] DEBUG 2026/02/27 20:07:23 !! solar production: accumulate set db:7 8641.990kWh meter total (was: Accumulated: 694.506kWh updated: 2026-02-27 20:07:01 +0100 CET meter: 8641.990kWh)
[site  ] DEBUG 2026/02/27 20:07:23 !! solar production: accumulate moved db:7 from 694.506 to 694.506
[site  ] ERROR 2026/02/27 20:07:24 battery 1 power: read failed: modbus: response transaction id '36265' does not match request '36266'
[site  ] ERROR 2026/02/27 20:07:24 battery 1 soc: read failed: modbus: response transaction id '36264' does not match request '36267'
[site  ] ERROR 2026/02/27 20:07:24 grid power: model 203 block 0 point W: modbus: response transaction id '36240' does not match request '36241'
[site  ] DEBUG 2026/02/27 20:07:24 ----
[lp-2  ] DEBUG 2026/02/27 20:07:24 charge power: 10W
[lp-1  ] DEBUG 2026/02/27 20:07:24 charge power: 0W
[lp-1  ] DEBUG 2026/02/27 20:07:24 charge currents: [0 0 0]A
[circuit-main] WARN 2026/02/27 20:07:34 over power detected: 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368W > 30000W
[circuit-main] DEBUG 2026/02/27 20:07:34 current: 2.02A
[site  ] ERROR 2026/02/27 20:07:34 circuit power: model 203 block 0 point W: modbus: response transaction id '36336' does not match request '36337'
[site  ] DEBUG 2026/02/27 20:07:34 pv 2 power: 0W

Version

v0.301.0

System

linux/amd64, CET +01:00

The circuit errors are because modbus solaredge sometimes dont work and not problem of this issue

maduuto avatar Feb 27 '26 19:02 maduuto

Cannot reproduce in 301.2, maybe it is fixed or was an one time error

maduuto avatar Mar 01 '26 11:03 maduuto