Home Assistant maxing out container CPU every ~10 minutes

Hello,

It looks like my instance of home-assistant is jumping to 100% CPU usage every 10 minutes or so and lasts a couple minutes. I’m new to home-assistant so it’s possible I’m missing something obvious but I’m not sure where to start troubleshooting.

Here are a few example error message:

Error: Failed to execute 'define' on 'CustomElementRegistry': the name "weather-radar-card-editor" has already been used with this registry
node_modules/core-js/internals/wrap-error-constructor-with-cause.js:41:4
init (node_modules/core-js/modules/es.error.cause.js:30:48)
message (node_modules/core-js/modules/web.dom-exception.stack.js:26:24)
define (src/scoped-custom-element-registry.ts:181:8)
this (node_modules/element-internals-polyfill/dist/element-internals.js:289:24)
/hacsfiles/weather-radar-card/weather-radar-card.js:29:67
n (/hacsfiles/weather-radar-card/weather-radar-card.js:1:915)
module code (/hacsfiles/weather-radar-card/weather-radar-card.js:1291:18284)
evaluate ([native code]::)
moduleEvaluation ([native code]::)
2025-06-17 19:07:24.447 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.camera] Error from stream worker: Not Found error opening stream (HTTP_NOT_FOUND, Server returned 404 Not Found, rtsps://stream-ue1-bravo.dropcam.com:443/sdm_live_stream/***?auth=****)
2025-06-17 19:07:42.223 WARNING (MainThread) [homeassistant.components.go2rtc.server] 19:07:42.223 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:170 > error=EOF url=ffmpeg:camera.camera#audio=opus#query=log_level=debug
2025-06-17 19:07:55.083 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.camera] Error from stream worker: Not Found error opening stream (HTTP_NOT_FOUND, Server returned 404 Not Found, rtsps://stream-ue1-bravo.dropcam.com:443/sdm_live_stream/***?auth=****)
2025-06-17 19:07:56.704 WARNING (MainThread) [homeassistant.components.go2rtc.server] 19:07:56.704 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:170 > error=EOF url=ffmpeg:camera.camera#audio=opus#query=log_level=debug
2025-06-17 19:08:13.151 WARNING (MainThread) [homeassistant.components.go2rtc.server] 19:08:13.151 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:170 > error=EOF url=ffmpeg:camera.camera#audio=opus#query=log_level=debug
2025-06-17 19:08:25.263 WARNING (MainThread) [google_nest_sdm.event_media] Failure when pre-fetching event '***': Internal Server Error response from API (500)
2025-06-17 19:08:36.028 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.camera] Error from stream worker: Not Found error opening stream (HTTP_NOT_FOUND, Server returned 404 Not Found, rtsps://stream-ue1-bravo.dropcam.com:443/sdm_live_stream/***?auth=****)
2025-06-17 19:09:27.697 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.camera] Error from stream worker: Not Found error opening stream (HTTP_NOT_FOUND, Server returned 404 Not Found, rtsps://stream-ue1-bravo.dropcam.com:443/sdm_live_stream/***?auth=****)
2025-06-17 19:09:39.616 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.camera] Error from stream worker: Not Found error opening stream (HTTP_NOT_FOUND, Server returned 404 Not Found, rtsps://stream-ue1-bravo.dropcam.com:443/sdm_live_stream/***?auth=****)
2025-06-17 19:14:29.968 WARNING (MainThread) [google_nest_sdm.event_media] Failure when pre-fetching event '***': Internal Server Error response from API (500)
2025-06-17 19:14:59.227 WARNING (MainThread) [homeassistant.helpers.entity] Update of todo.reminders is taking over 10 seconds
2025-06-17 19:16:45.792 WARNING (MainThread) [homeassistant.components.mqtt.client] Error returned from MQTT server: The connection was lost.

According to these errors, it seems like there are some card-specific things causing issues but I can’t exactly pinpoint the issue or find a solution. Does this seem like an issue with the Nest Camera stream or weather-radar-card-editor? Or are there periodic jobs running in home-assistant that I’m not aware of?

For what it’s worth, this is running the image ghcr.io/home-assistant/home-assistant:stable

Any direction would be helpful

Thanks!

Disable one addon at a time and review the CPU usage. I’d say it the Nest stream is the CPU hog, but you definitely have issues with both.

The glances addon can show CPU utilization per addon and process. Open it and press z and c to show processes and sort by CPU respectively.

Cameras can be pretty heavy on CPU, if you do some object identifying on the streams.
Try to disable those first.

Thanks all, turns out Nest was causing issues. Will continue looking into a solution but this was in fact isolated to a single plugin.