High CPU when running EVCC as HA Add-on #25351
-
|
Hi all, I think I am ready setting up EVCC as a HA Add-on. But what I noticed is that the CPU usage of this add-on is pretty high (always around 50% - right after start). What could be the cause of this? I'm running HAOS on a Proxmox cluster. It runs on a NUC with a Core i5-1240P CPU (and 64Gb RAM). That should be more than sufficient. I use EVCC to control my Tesla Model 3 (2019) via a Tesla Wall Charge (generation 2 - so a dumb one - I control the charging process via the car not the TWC directly). The interaction between my Tesla and Home Assistant is via a Atom Lite ESP32 device (cfr https://pedroktfc.github.io/esphome-tesla-ble/). My HA entities are updates with the right status on a regular basis. All grid/PV measurements and charger/vehicle controls are exposed through Home Assistant and accessed by EVCC using the HA API. Below is my cleaned configuration (all tokens removed). I’d appreciate any feedback on whether this setup looks correct, if there are better ways to structure the custom charger, or if any settings could cause unexpected behavior (e.g., caching, intervals, etc.). Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Ok, CPU is down from 50% to around 30%. I still think it is high. |
Beta Was this translation helpful? Give feedback.
-
|
I can offer you a working solution with the ESP32 project that runs just fine with my EVCC + Home-Assistant, even on a Raspi 4b. The Pi is generally below 5% load in normal operation. My github project that consists of a HA-blueprint, an EVCC vehicle definition and an EVCC wallbox definition: https://github.com/top-gun/EVCC-Blueprint For the TWC2, use the generic wallbox definition: https://github.com/top-gun/EVCC-Blueprint/blob/main/EVCC-generic-wallbox(TWC3).yaml |
Beta Was this translation helpful? Give feedback.
-
|
Hi, This was the cause: It should be this: Apparently, if you don't specify a time unit such as minutes/seconds, it defaults to... milliseconds. :-) @top-gun: thanks for your blueprint! I will take a look into it. |
Beta Was this translation helpful? Give feedback.
Hi,
I have solved the problem. :-)
This was the cause:
It should be this:
Apparently, if you don't specify a time unit such as minutes/seconds, it defaults to... milliseconds. :-)
@top-gun: thanks for your blueprint! I will take a look into it.