Hi, I have been using the standard HA Weather Forecast Card for years but just recently discovered via RPI Monitoring, that apparently the Weather Forecast Card with its simple animations seems to causes Chromium to use an insane amount of CPU (>50%)!
I run the following configuration. One RasPi 5 with 8GB to run HA in a docker container and one RasPi 5 with 8GB that has a touchpanel connected via HDMI and USB that really only runs Chromium in kiosk mode to display a HA dashboard from the HA RasPi.
Rasperian is the latest version:
Operating System: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.6.62+rpt-rpi-2712Architecture: arm64
HA is the latest version:
Core 2025.1.2
Frontend 20250109.0
Chromium is the latest version:
Version 130.0.6723.116 (Official Build) built on Debian GNU/Linux 12 (bookworm) (64-bit)
I have a quite complex dashboard that shows various sensor values that update frequently. Without the Weather Forecast Card, the CPU usage of the RasPi (mostly caused by Chromium) is less than 2%.
However, if I now add a simple Weather Forecast Card to the mix, CPU usage shoots up to sometimes almost 60%, average around 50%:
I actually created a conditional card to debug this and made the display of the Weather forecast card conditional on an input_boolean.debug_weather_forecast_card:
- type: conditional
conditions:
- condition: state
entity: input_boolean.debug_weather_forecast_card
state: “on”
card:
show_current: false
show_forecast: true
type: weather-forecast
entity: weather.openweathermap
forecast_type: daily
With that configuration can easily monitor CPU usage with and without the Weather Forecast Card and it is 100% clear that the CPU usage comes from that card. I also of course tried the card on an empty dashboard, i.e. just the weather forecast card nothing else and get the very same behavior. Along with the CPU usage, CPU temperature also shoots up to more than 68 degrees C. Overall this just does not seem to be right?
Can anyone else observe or verify this behavior or could anyone explain what is happening here? Thanks!