home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.38k stars 30.64k forks source link

Processor Temperature - consistent 5 minute temperature spikes #124870

Open Anto79-ops opened 2 months ago

Anto79-ops commented 2 months ago

The problem

hello,

I'm running HAOS 13.1 on a NUC12 (X86-64), and I noticed that on reboots of core or host, the processor temperature spikes exactly every 5 minutes as shown here:

image

What is more bizzare, is that the CPU is not elevated at all during this time, and bouncing between 1 and 2 %. See these overlays:

image image

The NUC itself does not feel warm, nor is the fan running. See below:

image

The firmware for the NUC has been updated to the lastest June 2024.

The issue was also present with HAOS 12.4 and core version from 2024.7.x (I only recieved this NUC in early July)

To solve this problem, a reboot of core or host fixes it (but also causes it). for example, here, when system reboots on green dots:

image

but the spiking returns, at random on another future reboot.

Maybe a bug in psutil? was suggested. Any other information required, please let me know. thank you

What version of Home Assistant Core has the issue?

2024.8.0b0 and previous versions down to 2024.7.x

What was the last working version of Home Assistant Core?

not sure

What type of installation are you running?

Home Assistant OS

Integration causing the issue

System Monitor

Link to integration documentation on our website

https://www.home-assistant.io/integrations/systemmonitor/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 2 months ago

Hey there @gjohansson-st, mind taking a look at this issue as it has been labeled with an integration (systemmonitor) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `systemmonitor` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign systemmonitor` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


systemmonitor documentation systemmonitor source (message by IssueLinks)

Anto79-ops commented 2 months ago

if I create a command line sensor for temp like this cat /sys/class/thermal/thermal_zone0/tempand compare it with the system monitor temp sensor, is it from the source, i,e, psutil would this be a useful test or will it give the exact same number? thanks

Anto79-ops commented 1 month ago

I wanted to mention something that I discovered with regards to this issue. I restarted home assistant due to an update yesterday, and the temperature did its spiking thing, as you can see here. However, what I did after many hours of this was simply reload the system monitor integration (red dot), and then the temperature gave normal readings again.

Screenshot_20240919_184700_Home Assistant.jpg

Anto79-ops commented 1 month ago

hello, here's another instance where the CPU temp was doing the spiking right after an HA core reboot (green dot), then I reloaded the system monitor integration (red dot), and the temp spikiing stopped.

image