evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Easee Charge Time Out and Logic Error

Open achimbosse opened this issue 7 months ago • 16 comments

Description

Sometimes the start of the chargibg seems to be delayed and the following Message can be found in the log:

lp-1 ] ERROR 2026/04/08 14:37:07 charger enable: timeout
[lp-1 ] WARN 2026/04/08 14:37:14 charger logic error: disabled but charging
[lp-1 ] ERROR 2026/04/08 15:18:36 charger enable: timeout
[lp-1 ] WARN 2026/04/08 15:18:44 charger logic error: disabled but charging
[lp-1 ] ERROR 2026/04/08 15:21:07 charger enable: timeout
[lp-1 ] WARN 2026/04/08 15:21:14 charger logic error: disabled but charging

Steps to Reproduce

Happens sometimes after Connecting the car for immediate charging or if charging wird PV only, when the charging process should start again (See log above)

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

Configuration (YAML)

network:
  schema: https
  host: evcc.local

Configuration (UI)

{
  "charger": [
    {"id":5,"name":"db:5","config":{"charger":"EC4ELHMH","password":"***","template":"easee","timeout":"20s","user":"***"},"deviceProduct":"Easee Charge","type":"template"}
  ],
  "experimental": false,
  "influx": {"url":"","database":"","token":"","org":"","user":"","password":"","insecure":false},
  "interval": 30,
  "loadpoints": [
    {"id":6,"name":"db:6","batteryBoostLimit":100,"charger":"db:5","defaultMode":"now","limitEnergy":0,"limitSoc":0,"maxCurrent":32,"minCurrent":8,"phasesConfigured":0,"planEnergy":0,"planPrecondition":0,"planStrategy":{"continuous":false,"precondition":0},"planTime":"0001-01-01T00:00:00Z","priority":0,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"soc":{"poll":{"mode":"charging","interval":3600000000000},"estimate":true},"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"title":"Garage","vehicle":"db:1"}
  ],
  "meter": [
    {"id":2,"name":"db:2","config":{"host":"192.168.1.105","id":1,"modbus":"tcpip","port":1502,"template":"solaredge-inverter","usage":"pv"},"deviceProduct":"SolarEdge Wechselrichter","deviceTitle":"PV-Anlage","type":"template"},
    {"id":7,"name":"db:7","config":{"host":"192.168.1.105","id":1,"modbus":"tcpip","port":1502,"template":"solaredge-inverter","usage":"grid"},"deviceProduct":"SolarEdge Wechselrichter","type":"template"}
  ],
  "mqtt": {"broker":"","user":"","password":"","clientID":"","insecure":false,"caCert":"","clientCert":"","clientKey":"","topic":"evcc"},
  "shm": {"vendorId":"","deviceId":"","deviceSerial":""},
  "site": {"title":"EVCC","grid":"db:7","pv":["db:2"],"battery":null,"aux":null,"ext":null},
  "tariffRefs": {"grid":"","feedIn":"","co2":"","planner":"","solar":null},
  "vehicle": [
    {"id":1,"name":"db:1","config":{"capacity":77,"icon":"car","maxCurrent":32,"minCurrent":7,"mode":"minpv","phases":"","template":"offline","title":"Cupra Born"},"deviceProduct":"Generisches Fahrzeug","type":"template"},
    {"id":8,"name":"db:8","config":{"icon":"taxi","maxCurrent":32,"minCurrent":7,"mode":"now","phases":"","template":"offline","title":"Gastfahrzeug"},"deviceProduct":"Generisches Fahrzeug (ohne API)","type":"template"}
  ]
}

Logs

[site  ] DEBUG 2026/04/08 15:40:14 !! solar production: accumulate moved db:2 from 58.016 to 58.112
[site  ] DEBUG 2026/04/08 15:40:14 grid powers: [1326 -1014 -1105]W
[site  ] DEBUG 2026/04/08 15:40:14 grid currents: [7.63 -4.99 -5.54]A
[site  ] DEBUG 2026/04/08 15:40:14 site power: -805W
[lp-1  ] DEBUG 2026/04/08 15:40:14 detected active phases: 3p
[lp-1  ] DEBUG 2026/04/08 15:40:14 charge total import: 3022.032kWh
[lp-1  ] DEBUG 2026/04/08 15:40:14 charger status: C
[lp-1  ] DEBUG 2026/04/08 15:40:14 !! plan: plan time zero
[lp-1  ] DEBUG 2026/04/08 15:40:14 pv charge current: 11.2A = 10A + 1.17A (-805W @ 3p)
[lp-1  ] DEBUG 2026/04/08 15:40:16 set charge current limit: 11A
[site  ] DEBUG 2026/04/08 15:40:43 ----
[lp-1  ] DEBUG 2026/04/08 15:40:43 charge power: 6876W
[lp-1  ] DEBUG 2026/04/08 15:40:43 charge currents: [9.61 9.65 9.68]A
[site  ] DEBUG 2026/04/08 15:40:43 pv 1 power: 11588W
[site  ] DEBUG 2026/04/08 15:40:44 grid power: -163W
[site  ] DEBUG 2026/04/08 15:40:44 !! solar production: accumulate set db:2 120268.120kWh meter total (was: Accumulated: 58.112kWh updated: 2026-04-08 15:40:14 +0200 CEST meter: 120268.024kWh)
[site  ] DEBUG 2026/04/08 15:40:44 !! solar production: accumulate moved db:2 from 58.112 to 58.208
[site  ] DEBUG 2026/04/08 15:40:44 grid powers: [225 -173 -206]W
[site  ] DEBUG 2026/04/08 15:40:44 grid currents: [7.41 -5.28 -5.58]A
[site  ] DEBUG 2026/04/08 15:40:44 site power: -163W
[lp-1  ] DEBUG 2026/04/08 15:40:44 detected active phases: 3p
[lp-1  ] DEBUG 2026/04/08 15:40:44 charge total import: 3022.032kWh
[lp-1  ] DEBUG 2026/04/08 15:40:44 charger status: C
[lp-1  ] DEBUG 2026/04/08 15:40:44 !! plan: plan time zero
[lp-1  ] DEBUG 2026/04/08 15:40:44 pv charge current: 11.2A = 11A + 0.236A (-163W @ 3p)

Version

v0.304.1

System

linux/arm64, CEST +02:00

achimbosse avatar Apr 08 '26 13:04 achimbosse

Needs a trace log, closing until available

andig avatar Apr 08 '26 14:04 andig

Attached a Trace-Log as requested showing the warning and error mentioned.

evcc-20260409-103114-trace.log

achimbosse avatar Apr 09 '26 08:04 achimbosse

@GrimmiMeloni could you kindly take a look?

andig avatar Apr 09 '26 08:04 andig

Sometimes the start of the chargibg seems to be delayed

Interestingly, the log you shared shows something totally different.

Two issues I can see:

  1. The charger does not follow the pause command we issue, and/or it just restarts charging after the phase change. This leads to these.
[lp-1  ] WARN 2026/04/09 10:25:43 charger logic error: disabled but charging
[lp-1  ] WARN 2026/04/09 10:26:13 charger logic error: disabled but charging
[lp-1  ] WARN 2026/04/09 10:26:43 charger logic error: disabled but charging
[lp-1  ] WARN 2026/04/09 10:27:13 charger logic error: disabled but charging
[lp-1  ] WARN 2026/04/09 10:29:43 charger logic error: disabled but charging

Is there any other Easee hardware in play? Equalizer? Second Charger?

Then there's these two errors, which are happening while evcc is trying to recover from the above warning by, explicitly resuming the charge.

[lp-1  ] ERROR 2026/04/09 10:27:04 charger enable: timeout
[lp-1  ] ERROR 2026/04/09 10:29:36 charger enable: timeout

Setting the DCC updates are being considered NoOp, which then leads to timeouts. This likely is a bug I need to investigate - however it is purely cosmetic.

GrimmiMeloni avatar Apr 09 '26 10:04 GrimmiMeloni

I have fixed the second problem I detected and mentioned above. Therefore marked this issues as a valid bug. My PR will address that aspect. However the initial problem with the charger logic (and why the charger just restarts on its own) will remain. We should revisit this, in case the problem remains after said fix is released.

GrimmiMeloni avatar Apr 09 '26 11:04 GrimmiMeloni

Some additional information: There is a Easee Equalizer present (but we are far below any power limits). There is also a second Easee Wallbox which was installed recently, but I observed the warning and error also before the second wallbox was installed. My wallbox is shown as "Master". The second wallbox is owned by a neighbour and was not in use when I made my observations. I'm not controlling it via EVCC. The delay may just be more of a subjective impression... I was just puzzled by messages (as a "normal" user) and wanted to let you know. I'm happy to check again when the first fix is released.

achimbosse avatar Apr 09 '26 12:04 achimbosse

Ok, thanks for the context. For what it‘s worth, the Equalizer is already interfering. So is your neighbour‘s charger. I saw several „reason for no current“ observations that point in that direction.

Not sure if you will see a flawless mode of operations with an active component like the equalizer at play. I am happy to help as far as I can, but also want to clarify that with two controlling systems, you are bound to see confusing behavior.

GrimmiMeloni avatar Apr 09 '26 13:04 GrimmiMeloni

Hi, my topic was merged here because it’s the same issue.

In my case, I don’t have an Easee Equalizer. I also don’t have any other kind of control system. I’m only using an Easee wallbox that is controlled by evcc.

I only started having this problem with evcc versions newer than 0.302.0. Is it possible that something related to this was changed after that version? Or is it just a coincidence that I don’t have the issue with the older version?

Has a fix for this problem already been released, or is it still coming? I couldn’t find anything about it in the changelog.

Thanks for your help!!

samke5 avatar Apr 11 '26 07:04 samke5

I only started having this problem with evcc versions newer than 0.302.0. Is it possible that something related to this was changed after that version?

Yes.

Or is it just a coincidence that I don’t have the issue with the older version?

No.

Has a fix for this problem already been released, or is it still coming? I couldn’t find anything about it in the changelog.

The linked PR is merged and in the nightly builds. A release with this fix is pending.

GrimmiMeloni avatar Apr 11 '26 11:04 GrimmiMeloni

... and has been released recently

iseeberg79 avatar Apr 11 '26 20:04 iseeberg79

Yeah, I saw it last night - i installed it right away.

samke5 avatar Apr 12 '26 06:04 samke5

Hi, everything actually looked pretty good at first - i wasn't getting any errors. Today, I plugged the car in before there was enough sunlight. Now the error is back. I always unlock the easee Wallbox using RFID - during this process, the box always starts charging briefly. But that's always been the case and is well known.

This is likely causing the error to persist: "charger logic error: disabled but charging" This is due to: "another system may be controlling this charger" (RFID easee Start) I haven't had any timeout errors in this context since then.

Is there anything that can be done about this error? Here's a log related to it:

[lp-1 ] DEBUG 2026/04/16 07:52:15 charger status: B
[lp-1 ] INFO 2026/04/16 07:52:15 car connected
[lp-1 ] DEBUG 2026/04/16 07:52:15 set charge mode: off
[lp-1 ] DEBUG 2026/04/16 07:52:15 pv timer elapse
[lp-1 ] DEBUG 2026/04/16 07:52:15 pv timer inactive
[lp-1 ] DEBUG 2026/04/16 07:52:15 !! plan: plan time zero
[easee ] WARN 2026/04/16 07:52:21 rogue CommandResponse: charger EABCDEF1 ObservationID=LOCATION Ticks=12345678912345678 (accepted=true, resultCode=0) which was not triggered by evcc — another system may be controlling this charger
[lp-1 ] DEBUG 2026/04/16 07:52:39 charge power: 3636W
[lp-1 ] DEBUG 2026/04/16 07:52:39 charge currents: [15.9 0.01 0.01]A
[circuit-load] DEBUG 2026/04/16 07:52:39 power: 3636W
[circuit-load] DEBUG 2026/04/16 07:52:39 current: 15.9A
[circuit-main] DEBUG 2026/04/16 07:52:39 power: 3702W
[circuit-main] DEBUG 2026/04/16 07:52:39 current: 16.7A
[site ] DEBUG 2026/04/16 07:52:39 grid power: 3702W
[site ] DEBUG 2026/04/16 07:52:39 grid powers: [-200 133 3770]W
[site ] DEBUG 2026/04/16 07:52:39 grid currents: [-1.41 1.1 16.7]A
[site ] DEBUG 2026/04/16 07:52:39 pv power: 268W
[site ] DEBUG 2026/04/16 07:52:39 site power: 3702W
[lp-1 ] DEBUG 2026/04/16 07:52:39 charger status: C
[lp-1 ] INFO 2026/04/16 07:52:39 start charging ->
[lp-1 ] DEBUG 2026/04/16 07:52:39 wake-up timer: stop
[lp-1 ] DEBUG 2026/04/16 07:52:39 charger vehicle id: RFID12345678
[lp-1 ] INFO 2026/04/16 07:52:39 vehicle updated: DummyCar -> Fahrzeug1
[lp-1 ] DEBUG 2026/04/16 07:52:39 set charge mode: pv
[lp-1 ] DEBUG 2026/04/16 07:52:39 set charge mode: pv
[lp-1 ] WARN 2026/04/16 07:52:39 charger logic error: disabled but charging
[lp-1 ] DEBUG 2026/04/16 07:52:39 set charge mode: pv
[lp-1 ] DEBUG 2026/04/16 07:52:42 charger enable
[lp-1 ] DEBUG 2026/04/16 07:52:42 !! plan: plan time zero
[lp-1 ] DEBUG 2026/04/16 07:52:42 pv charge current: 0A = 0A + -16.1A (3702W @ 1p)
[lp-1 ] DEBUG 2026/04/16 07:52:42 projected site power 3702W >= 0W disable threshold
[lp-1 ] DEBUG 2026/04/16 07:52:42 pv disable in 0s
[lp-1 ] DEBUG 2026/04/16 07:52:42 pv disable timer elapsed
[lp-1 ] DEBUG 2026/04/16 07:52:42 pv timer reset
[lp-1 ] DEBUG 2026/04/16 07:52:42 pv timer inactive
[lp-1 ] DEBUG 2026/04/16 07:52:46 charger disable
[lp-1 ] DEBUG 2026/04/16 07:52:47 charge power: 1389W
[lp-1 ] DEBUG 2026/04/16 07:52:47 charge currents: [5.93 0.01 0.01]A
[circuit-load] DEBUG 2026/04/16 07:52:47 power: 1389W
[circuit-load] DEBUG 2026/04/16 07:52:47 current: 5.93A
[circuit-main] DEBUG 2026/04/16 07:52:47 power: 166W
[circuit-main] DEBUG 2026/04/16 07:52:47 current: 1.62A
[site ] DEBUG 2026/04/16 07:52:47 grid power: 166W
[site ] DEBUG 2026/04/16 07:52:47 grid powers: [-204 131 239]W
[site ] DEBUG 2026/04/16 07:52:47 grid currents: [-1.4 1.1 1.62]A
[site ] DEBUG 2026/04/16 07:52:47 pv power: 269W
[site ] DEBUG 2026/04/16 07:52:47 site power: 166W
[lp-1 ] DEBUG 2026/04/16 07:52:47 detected active phases: 1p
[lp-1 ] DEBUG 2026/04/16 07:52:47 charge total import: 4934.023kWh
[lp-1 ] DEBUG 2026/04/16 07:52:47 charger status: B
[lp-1 ] INFO 2026/04/16 07:52:47 stop charging <-
[lp-1 ] DEBUG 2026/04/16 07:52:47 charge total import: 4934.023kWh
[lp-1 ] DEBUG 2026/04/16 07:52:47 !! plan: plan time zero
[lp-1 ] DEBUG 2026/04/16 07:52:47 pv charge current: 0A = 0A + -0.721A (166W @ 1p)
[lp-1 ] DEBUG 2026/04/16 07:53:04 charge power: 0W 

samke5 avatar Apr 16 '26 06:04 samke5

Is there anything that can be done about this error?

Do not start via RFID. Let evcc take care of it. (authorize:true)

GrimmiMeloni avatar Apr 16 '26 14:04 GrimmiMeloni

@GrimmiMeloni add to docs?

andig avatar Apr 16 '26 14:04 andig

@GrimmiMeloni add to docs?

Already there.

GrimmiMeloni avatar Apr 16 '26 14:04 GrimmiMeloni

Is there anything that can be done about this error?

Do not start via RFID. Let evcc take care of it. (authorize:true)

I use RFID for unique vehicle identification, and I'd like to keep it that way. Okay, then I'll just have to live with the error. Other than that, I haven't had the errors mentioned in this thread since the update. Thanks.

samke5 avatar Apr 16 '26 17:04 samke5