evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Optimizer failed with nightly 304

Open amtssp opened this issue 8 months ago • 7 comments

Description

After updating to the latest nightly and activating optimizer, I can't find the optimizer view anywhere. I get this in my log: ``` [site ] ERROR 2026/04/03 16:12:21 optimizer: Post "https://optimizer.evcc.io/optimize/charge-schedule": read tcp 192.168.0.210:55134->98.67.220.4:443: read: connection reset by peer

 

## Steps to Reproduce

Latest nightly 0.304.
Everything set up via GUI (use demo charger)
Enable experimental
Activate optimizer
Try to see optimizer - not possible  


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

## Version

v0.304.0 (d5e0d27a3)

## System

linux/arm, CEST +02:00
## Configuration (YAML)

```yaml

Configuration (UI)

{
  "charger": [
    {"id":8,"name":"db:8","config":{"enabled":"true","phases1p3p":"false","power":"0","status":"B","template":"demo-charger"},"deviceProduct":"Demo charger","type":"template"}
  ],
  "experimental": true,
  "influx": {"url":"","database":"","token":"","org":"","user":"","password":"","insecure":false},
  "interval": 30,
  "loadpoints": [
    {"id":9,"name":"db:9","batteryBoostLimit":100,"charger":"db:8","defaultMode":"","limitEnergy":0,"limitSoc":0,"maxCurrent":16,"meter":"db:13","minCurrent":6,"phasesConfigured":3,"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":false},"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"title":"Steens","vehicle":"db:7"}
  ],
  "meter": [
    {"id":13,"name":"db:13","config":{"maxacpower":"0","template":"demo-meter","usage":"charge"},"deviceProduct":"Demo meter","type":"template"},
    {"id":5,"name":"db:5","config":{"capacity":7.5,"chargepower":"3300","defaultmode":"self-consumption","host":"192.168.0.110","maxchargepower":"3300","port":"8080","template":"sonnenbatterie","usage":"pv"},"deviceProduct":"Sonnen sonnenBatterie","deviceTitle":"Solar","type":"template"},
    {"id":4,"name":"db:4","config":{"capacity":7.5,"chargepower":"3300","defaultmode":"self-consumption","host":"192.168.0.110","maxchargepower":"3300","port":"8080","template":"sonnenbatterie","usage":"grid"},"deviceProduct":"Sonnen sonnenBatterie","type":"template"},
    {"id":6,"name":"db:6","config":{"capacity":7.5,"chargepower":"3300","defaultmode":"self-consumption","host":"192.168.0.110","maxchargepower":"3300","maxdischargepower":3300,"port":"8080","template":"sonnenbatterie","usage":"battery"},"deviceProduct":"Sonnen sonnenBatterie","deviceTitle":"Batteri","type":"template"}
  ],
  "mqtt": {"broker":"","user":"","password":"","clientID":"","insecure":false,"caCert":"","clientCert":"","clientKey":"","topic":"evcc"},
  "shm": {"vendorId":"","deviceId":"","deviceSerial":""},
  "site": {"title":"Raevebro","grid":"db:4","pv":["db:5"],"battery":["db:6"],"aux":null,"ext":null},
  "tariff": [
    {"id":12,"name":"db:12","config":{"ac":"1000","alphatemp":"-0.004","az":0,"de":75,"dec":25,"dm":"0","efficiency":95,"interval":"1h","kwp":6.6,"lat":"***","lon":"***","rossmodel":"0.0342","template":"open-meteo"},"deviceProduct":"Open-Meteo","deviceTitle":"Solproduktion","type":"template"},
    {"id":11,"name":"db:11","config":{"charges":0.0001,"formula":"energinet_indfoedningstarif := -0.0050
energinet_balancetarif      := -0.0065
radius_indfoedningstarif    := -0.0059
vindstoed_balancetarif      := -0.0100

// Den opdaterede beregning med math.Max
math.Max(price + energinet_indfoedningstarif + energinet_balancetarif + radius_indfoedningstarif + vindstoed_balancetarif, 0.0)","region":"dk1","template":"energinet-price"},"deviceProduct":"Energinet","type":"template"},
    {"id":10,"name":"db:10","config":{"charges":0.0009,"formula":"// Determine if it's summer (April - September)
isSummer := ts.Month() >= 4 && ts.Month() <= 9

// Initialize gridfee
gridfee := 0.0000  

// Set grid fee based on season and time of day
if isSummer {
  if ts.Hour() < 6 {
    gridfee = 0.0976  // low load summer
  } else if ts.Hour() >= 17 && ts.Hour() < 21 {
    gridfee = 0.3808  // peak load summer
  } else {
    gridfee = 0.1467  // high load summer
  }
} else {
  if ts.Hour() < 6 {
    gridfee = 0.0976  // low load winter
  } else if ts.Hour() >= 17 && ts.Hour() < 21 {
    gridfee = 0.8788  // peak load winter
  } else {
    gridfee = 0.2929  // high load winter
  }
}

// Den opdaterede beregning med math.Max
math.Max((price + charges + gridfee) * (1 + tax), 0.0)","region":"dk1","tax":0.25,"template":"energinet-price"},"deviceProduct":"Energinet","type":"template"}
  ],
  "tariffRefs": {"grid":"db:10","feedIn":"db:11","co2":"","planner":"","solar":["db:12"]},
  "vehicle": [
    {"id":3,"name":"db:3","config":{"capacity":35,"icon":"car","maxCurrent":32,"minCurrent":6,"mode":"now","template":"offline","title":"eSOUL KIA"},"deviceProduct":"Generic vehicle","type":"template"},
    {"id":7,"name":"db:7","config":{"capacity":77,"icon":"car","mode":"now","template":"offline","title":"EV6 KIA"},"deviceProduct":"Generic vehicle","type":"template"}
  ]
}

Logs: (snippet)

{"Apparent_output":310,"BackupBuffer":"0","BatteryCharging":true,"BatteryDischarging":false,"Consumption_Avg":314,"Consumption_W":338,"Fac":50.02000045776367,"FlowConsumptionBattery":false,"FlowConsumptionGrid":false,"FlowConsumptionProduction":true,"FlowGridBattery":true,"FlowProductionBattery":true,"FlowProductionGrid":false,"GridFeedIn_W":-51,"IsSystemInstalled":1,"OperatingMode":"10","Pac_total_W":-630,"Production_W":924,"RSOC":22,"RemainingCapacity_Wh":1617,"Sac1":103,"Sac2":104,"Sac3":103,"SystemStatus":"OnGrid","Timestamp":"2026-04-03 16:21:51","USOC":16,"Uac":225,"Ubat":50,"dischargeNotAllowed":false,"generator_autostart":false,"NVM_REINIT_STATUS":0}
[site ] DEBUG 2026/04/03 16:21:51 battery 1 soc: 16%
[site ] DEBUG 2026/04/03 16:21:51 battery has priority at soc 16% (< 20%)
[site ] DEBUG 2026/04/03 16:21:51 site power: 151W
[lp-1 ] DEBUG 2026/04/03 16:21:51 charger status: B
[lp-1 ] DEBUG 2026/04/03 16:21:51 !! plan: plan time zero
[site ] DEBUG 2026/04/03 16:21:51 solar forecast: accumulated 0.009Wh from 2026-04-03 16:21:21 +0200 CEST to 2026-04-03 16:21:51 +0200 CEST
[site ] DEBUG 2026/04/03 16:21:51 solar forecast: produced 4248.387
[site ] DEBUG 2026/04/03 16:21:51 solar forecast: accumulated 4397.147kWh, produced 4248.387kWh, scale 0.966
[site ] DEBUG 2026/04/03 16:22:21 ----
[lp-1 ] DEBUG 2026/04/03 16:22:21 charge power: 0W
[db:5 ] TRACE 2026/04/03 16:22:21 GET http://192.168.0.110:8080/api/v1/status
[db:6 ] TRACE 2026/04/03 16:22:21 GET http://192.168.0.110:8080/api/v1/status
[db:4 ] TRACE 2026/04/03 16:22:21 GET http://192.168.0.110:8080/api/v1/status
[db:4 ] TRACE 2026/04/03 16:22:21 {"Apparent_output":316,"BackupBuffer":"0","BatteryCharging":true,"BatteryDischarging":false,"Consumption_Avg":316,"Consumption_W":327,"Fac":50.000999450683594,"FlowConsumptionBattery":false,"FlowConsumptionGrid":false,"FlowConsumptionProduction":true,"FlowGridBattery":true,"FlowProductionBattery":true,"FlowProductionGrid":false,"GridFeedIn_W":-34,"IsSystemInstalled":1,"OperatingMode":"10","Pac_total_W":-644,"Production_W":939,"RSOC":22,"RemainingCapacity_Wh":1623,"Sac1":105,"Sac2":106,"Sac3":105,"SystemStatus":"OnGrid","Timestamp":"2026-04-03 16:22:20","USOC":16,"Uac":225,"Ubat":50,"dischargeNotAllowed":false,"generator_autostart":false,"NVM_REINIT_STATUS":0}
[db:5 ] TRACE 2026/04/03 16:22:21 {"Apparent_output":316,"BackupBuffer":"0","BatteryCharging":true,"BatteryDischarging":false,"Consumption_Avg":316,"Consumption_W":327,"Fac":50.000999450683594,"FlowConsumptionBattery":false,"FlowConsumptionGrid":false,"FlowConsumptionProduction":true,"FlowGridBattery":true,"FlowProductionBattery":true,"FlowProductionGrid":false,"GridFeedIn_W":-34,"IsSystemInstalled":1,"OperatingMode":"10","Pac_total_W":-644,"Production_W":939,"RSOC":22,"RemainingCapacity_Wh":1623,"Sac1":105,"Sac2":106,"Sac3":105,"SystemStatus":"OnGrid","Timestamp":"2026-04-03 16:22:20","USOC":16,"Uac":225,"Ubat":50,"dischargeNotAllowed":false,"generator_autostart":false,"NVM_REINIT_STATUS":0}
[site ] DEBUG 2026/04/03 16:22:21 grid power: 34W
[site ] DEBUG 2026/04/03 16:22:21 pv 1 power: 939W
[db:6 ] TRACE 2026/04/03 16:22:21 {"Apparent_output":316,"BackupBuffer":"0","BatteryCharging":true,"BatteryDischarging":false,"Consumption_Avg":316,"Consumption_W":327,"Fac":50.000999450683594,"FlowConsumptionBattery":false,"FlowConsumptionGrid":false,"FlowConsumptionProduction":true,"FlowGridBattery":true,"FlowProductionBattery":true,"FlowProductionGrid":false,"GridFeedIn_W":-34,"IsSystemInstalled":1,"OperatingMode":"10","Pac_total_W":-644,"Production_W":939,"RSOC":22,"RemainingCapacity_Wh":1623,"Sac1":105,"Sac2":106,"Sac3":105,"SystemStatus":"OnGrid","Timestamp":"2026-04-03 16:22:20","USOC":16,"Uac":225,"Ubat":50,"dischargeNotAllowed":false,"generator_autostart":false,"NVM_REINIT_STATUS":0}
[site ] DEBUG 2026/04/03 16:22:21 !! solar production: accumulate add db:5 0.000W power (was: Accumulated: 4248.387kWh updated: 2026-04-03 16:21:51 +0200 CEST)
[site ] DEBUG 2026/04/03 16:22:21 !! solar production: accumulate moved db:5 from 4248.387 to 4248.395
[site ] DEBUG 2026/04/03 16:22:21 battery 1 power: -644W
[db:6 ] TRACE 2026/04/03 16:22:21 GET http://192.168.0.110:8080/api/v1/status
[db:6 ] TRACE 2026/04/03 16:22:21 {"Apparent_output":316,"BackupBuffer":"0","BatteryCharging":true,"BatteryDischarging":false,"Consumption_Avg":316,"Consumption_W":327,"Fac":50.000999450683594,"FlowConsumptionBattery":false,"FlowConsumptionGrid":false,"FlowConsumptionProduction":true,"FlowGridBattery":true,"FlowProductionBattery":true,"FlowProductionGrid":false,"GridFeedIn_W":-34,"IsSystemInstalled":1,"OperatingMode":"10","Pac_total_W":-644,"Production_W":939,"RSOC":22,"RemainingCapacity_Wh":1623,"Sac1":105,"Sac2":106,"Sac3":105,"SystemStatus":"OnGrid","Timestamp":"2026-04-03 16:22:20","USOC":16,"Uac":225,"Ubat":50,"dischargeNotAllowed":false,"generator_autostart":false,"NVM_REINIT_STATUS":0}
[site ] DEBUG 2026/04/03 16:22:21 battery 1 soc: 16%
[site ] DEBUG 2026/04/03 16:22:21 battery has priority at soc 16% (< 20%)
[site ] DEBUG 2026/04/03 16:22:21 site power: 134W
[site ] DEBUG 2026/04/03 16:22:21 optimizer: optimizing 127 slots until 2026-04-05 00:00:00 +0200 CEST: grid=127, feedIn=127, solar=423, first slot: 7m38s
[lp-1 ] DEBUG 2026/04/03 16:22:21 charger status: B
[lp-1 ] DEBUG 2026/04/03 16:22:21 !! plan: plan time zero
[site ] DEBUG 2026/04/03 16:22:21 solar forecast: accumulated 0.009Wh from 2026-04-03 16:21:51 +0200 CEST to 2026-04-03 16:22:21 +0200 CEST
[site ] DEBUG 2026/04/03 16:22:21 solar forecast: produced 4248.395
[site ] DEBUG 2026/04/03 16:22:21 solar forecast: accumulated 4397.156kWh, produced 4248.395kWh, scale 0.966
[site ] TRACE 2026/04/03 16:22:21 POST https://optimizer.evcc.io/optimize/charge-schedule
[site ] TRACE 2026/04/03 16:22:21 {"batteries":[{"c_max":11040,"c_min":4140,"charge_from_grid":true,"d_max":0,"p_a":0.00016438948,"s_initial":0,"s_max":77000,"s_min":0},{"c_max":3300,"c_min":0,"d_max":3300,"p_a":0.00016438948,"s_capacity":7500,"s_initial":1200,"s_max":7125,"s_min":1500}],"eta_c":0.9,"eta_d":0.9,"grid":{},"strategy":{"charging_strategy":"charge_before_export","discharging_strategy":"discharge_before_import"},"time_series":{"dt":[458,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900,900],"ft":[138.1504,226.50854,177.23523,130.66252,92.474785,64.951,47.228092,35.444305,26.595524,18.741043,12.131237,7.1849737,3.676916,1.5655159,0.4003695,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.9404994,7.5068808,14.420889,22.84741,36.562946,56.373657,78.79809,98.47156,109.17721,110.05088,108.349075,112.869415,128.71855,155.04655,189.4112,231.18492,284.49567,350.2188,422.42557,495.4137,564.9764,632.7641,702.8301,780.8486,872.4997,972.862,1055.8408,1094.4185,1092.0304,1064.4647,1023.67535,978.33234,928.8892,874.95764,817.9389,760.43805,703.4753,645.7222,586.2153,524.25745,461.7198,399.287,338.65085,281.86758,228.6509,180.23991,137.58688,101.188995,70.4967,45.38467,26.219303,12.12709,3.148846,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"gt":[117.97002,252.20616,192.81596,210.62645,267.8814,262.36496,237.32466,255.93285,206.34814,195.81454,201.9183,169.47841,192.21786,141.2973,126.21298,95.43512,84.00466,85.59213,95.44764,123.04814,107.68983,120.78149,151.57256,478.967,409.01114,237.71046,206.60428,209.52815,183.9986,206.81209,239.26768,1070.8217,1022.6459,1031.4366,1041.4348,1039.5308,905.0496,657.6148,530.8466,473.69583,476.12805,445.5807,412.19794,349.96475,405.7846,322.8713,295.62393,286.33163,281.99973,296.3035,294.813,279.6648,264.801,294.9541,278.73587,947.4222,495.8182,195.07935,180.3911,212.4176,172.40903,184.20715,203.28535,231.08836,229.09499,290.50653,322.19086,387.9151,425.1958,489.5404,589.88556,588.27893,580.07324,612.33923,738.55255,708.6894,740.11847,795.15924,958.3401,958.9737,940.5391,1021.35333,987.53723,865.5703,830.04553,847.7515,913.89294,884.94104,802.5733,809.4656,692.4473,477.2773,373.65582,297.84592,287.8517,263.09567,231.81882,252.20616,192.81596,210.62645,267.8814,262.36496,237.32466,255.93285,206.34814,195.81454,201.9183,169.47841,192.21786,141.2973,126.21298,95.43512,84.00466,85.59213,95.44764,123.04814,107.68983,120.78149,151.57256,478.967,409.01114,237.71046,206.60428,209.52815,183.9986,206.81209,239.26768],"p_E":[0.000100905,0.000219719,0.000336516,0.000296537,0.000439712,0.000525498,0.000625257,0.000548214,0.000616514,0.000669719,0.000715376,0.000696321,0.000711491,0.000731891,0.000721504,0.000737869,0.000702897,0.000658062,0.000607846,0.000675099,0.000628395,0.000563384,0.000540368,0.000624061,0.000570782,0.000570259,0.000538575,0.000556883,0.00044442,0.000349892,0.00035019,0.000065559,0.00010225,0.000073555,0.000046579,0.000150747,0.000107705,0.000098364,0.000072583,0.000114579,0.000122052,0.000120483,0.000102773,0.000069221,0.000063691,0.000053752,0.000044561,0.000052108,0.000040526,0.00004202,0.000036192,0.000072658,0.00003948,0.000048073,0.000080953,0.000030662,0.000046653,0.000084913,0.000127582,0.000121305,0.000109872,0.000147907,0.00008723,0.0001361,0.000121828,0.000092386,0.000039106,0.000069594,0.000020798,0.000006301,0,0.000002042,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.000022143,0.00022211,0.000072583,0.000168756,0.000244304,0.000423945,0.000367527,0.000571155,0.000746687,0.00102108,0.000796828,0.000870134,0.001072268,0.001077274,0.001065542,0.00088747,0.000838375,0.000697741,0.000883435,0.000685112,0.000633103,0.000560918,0.000723447,0.000553595,0.000454882,0.000367975,0.000473937,0.000307298,0.000222185,0.000137371],"p_N":[0.00034488126,0.00049339875,0.000639395,0.00088204624,0.001061015,0.0011682475,0.0012929463,0.0011966425,0.0012820174,0.0013485238,0.001405595,0.0013817763,0.0014007387,0.0014262388,0.001413255,0.0014337113,0.0013899963,0.0013339525,0.0012711826,0.0010626238,0.0010042437,0.00092298,0.00089421,0.0009988262,0.0009322275,0.00093157374,0.0008919687,0.00091485376,0.000774275,0.000656115,0.0006564875,0.00023932375,0.0002851875,0.00024931875,0.00021559875,0.00034580874,0.00029200624,0.00028033,0.00024810375,0.00030059874,0.00030994,0.00030797874,0.00028584126,0.00024390125,0.00023698875,0.000224565,0.00021307624,0.00022251,0.0002080325,0.0002099,0.000202615,0.0002481975,0.000206725,0.00021746625,0.00025856626,0.0002570775,0.00027706625,0.00032489124,0.0003782275,0.00037038125,0.00035609,0.00040363375,0.0003277875,0.000388875,0.000371035,0.0003342325,0.0002676325,0.0003057425,0.0002447475,0.00022662625,0.00020747875,0.0002213025,0.00020318125,0.00019692375,0.00018917,0.0001870225,0.0001849675,0.0001845,0.0001845,0.0001845,0.00018506,0.0001845,0.0001849675,0.00018664874,0.00018590126,0.00018534125,0.00018487374,0.0001855275,0.00018543375,0.00018543375,0.00018543375,0.0001845,0.0001845,0.0001845,0.0001855275,0.0001845,0.00021009376,0.00024642874,0.0004963875,0.00060210377,0.00072232,0.000816755,0.0010413063,0.00097078376,0.0012253188,0.0014447337,0.001787725,0.00150741,0.0015990424,0.00185171,0.0018579675,0.0018433025,0.0016207125,0.0015593438,0.0013835513,0.0013230437,0.00107514,0.0010101288,0.0009198975,0.0011230587,0.0009107437,0.0007873525,0.00067871873,0.00081117125,0.0006028725,0.00049648125,0.00039046374]}}

**[site ] ERROR 2026/04/03 16:22:21 optimizer: Post "https://optimizer.evcc.io/optimize/charge-schedule": read tcp 192.168.0.210:51328->98.67.220.4:443: read: connection reset by peer**

[db ] TRACE 2026/04/03 16:22:48 INSERT INTO `settings` (`key`,`value`) VALUES ("solarAccForecast","4397.156026584066"),("solarAccYield","{""db:5"":{""accumulated"":4248.3947518020095}}") ON CONFLICT (`key`) DO UPDATE SET `value`=`excluded`.`value` 2 <nil>
[site ] DEBUG 2026/04/03 16:22:51 ----
[lp-1 ] DEBUG 2026/04/03 16:22:51 charge power: 0W

amtssp avatar Apr 03 '26 14:04 amtssp

try with OPTIMIZER_URI="https://evopt.evcc.io" (the old name). As of now, this one still works.

daniel309 avatar Apr 03 '26 19:04 daniel309

try with OPTIMIZER_URI="https://evopt.evcc.io" (the old name). As of now, this one still works.

U can only turn on and off the optimiser in the UI, not configure or change something

Image

StevieC121176 avatar Apr 03 '26 19:04 StevieC121176

The old name won't work too. optimizer: Post \"https://evopt.evcc.io/optimize/charge-schedule\": read tcp 192.168.178.188:47494->98.67.220.4:443: read: connection reset by peer

steve0564 avatar Apr 04 '26 08:04 steve0564

@naltatis any idea?

andig avatar Apr 04 '26 08:04 andig

Hi I noticed that somehow part of the optimizer is working. In the log I can see that it actually is optimizing a number of slots. However, the POST command always ends with: "connection reset by peer"

Also I can't find the optimizer view anymore.

Here is a part of my log file, using trace, and searching for "optimizer"

I hope it can help you to find the issue

[site ] DEBUG 2026/04/05 13:05:08 optimizer: optimizing 44 slots until 2026-04-06 00:00:00 +0200 CEST: grid=44, feedIn=44, solar=436, first slot: 9m51s
[site ] TRACE 2026/04/05 13:05:08 POST https://optimizer.evcc.io/optimize/charge-schedule
[site ] ERROR 2026/04/05 13:05:08 optimizer: Post "https://optimizer.evcc.io/optimize/charge-schedule": read tcp 192.168.0.210:60676->98.67.220.4:443: read: connection reset by peer
[site ] DEBUG 2026/04/05 13:07:38 optimizer: optimizing 44 slots until 2026-04-06 00:00:00 +0200 CEST: grid=44, feedIn=44, solar=436, first slot: 7m21s
[site ] TRACE 2026/04/05 13:07:38 POST https://optimizer.evcc.io/optimize/charge-schedule
[site ] ERROR 2026/04/05 13:07:38 optimizer: Post "https://optimizer.evcc.io/optimize/charge-schedule": read tcp 192.168.0.210:60360->98.67.220.4:443: read: connection reset by peer
[site ] DEBUG 2026/04/05 13:10:08 optimizer: optimizing 44 slots until 2026-04-06 00:00:00 +0200 CEST: grid=44, feedIn=44, solar=436, first slot: 4m51s
[site ] TRACE 2026/04/05 13:10:08 POST https://optimizer.evcc.io/optimize/charge-schedule
[site ] ERROR 2026/04/05 13:10:08 optimizer: Post "https://optimizer.evcc.io/optimize/charge-schedule": read tcp 192.168.0.210:58026->98.67.220.4:443: read: connection reset by peer
[site ] DEBUG 2026/04/05 13:12:38 optimizer: optimizing 44 slots until 2026-04-06 00:00:00 +0200 CEST: grid=44, feedIn=44, solar=436, first slot: 2m21s
[site ] TRACE 2026/04/05 13:12:38 POST https://optimizer.evcc.io/optimize/charge-schedule
[site ] ERROR 2026/04/05 13:12:38 optimizer: Post "https://optimizer.evcc.io/optimize/charge-schedule": read tcp 192.168.0.210:41178->98.67.220.4:443: read: connection reset by peer
[site ] DEBUG 2026/04/05 13:15:08 optimizer: optimizing 139 slots until 2026-04-07 00:00:00 +0200 CEST: grid=139, feedIn=139, solar=435, first slot: 14m51s
[site ] TRACE 2026/04/05 13:15:08 POST https://optimizer.evcc.io/optimize/charge-schedule
[site ] ERROR 2026/04/05 13:15:08 optimizer: Post "https://optimizer.evcc.io/optimize/charge-schedule": read tcp 192.168.0.210:55858->98.67.220.4:443: read: connection reset by peer
[site ] DEBUG 2026/04/05 13:17:38 optimizer: optimizing 139 slots until 2026-04-07 00:00:00 +0200 CEST: grid=139, feedIn=139, solar=435, first slot: 12m21s
[site ] TRACE 2026/04/05 13:17:38 POST https://optimizer.evcc.io/optimize/charge-schedule
[site ] ERROR 2026/04/05 13:17:38 optimizer: Post "https://optimizer.evcc.io/optimize/charge-schedule": read tcp 192.168.0.210:41908->98.67.220.4:443: read: connection reset by peer

amtssp avatar Apr 05 '26 11:04 amtssp

Hey @amtssp,

I'm having the same issue - I think it's origin is from the publicly hosted evcc-optimizer. I've switched to a locally hosted one on docker now and all is good again (with 0.304.0)

Nils

nboeckmann avatar Apr 05 '26 13:04 nboeckmann

Was a configuration issue. The subdomain got disassociated by a change shortly before releasing the feature. Should work now.

naltatis avatar Apr 07 '26 04:04 naltatis