Page 1 of 1

CPU temperature in MXdiags files

Posted: Sun 18 Jul 2021 12:59 pm
by freddie
I was curious about my MX computer's CPU temperature, as the ambient temperature in its location has just risen above 30 degrees C. I knew I had seen the CPU temperature logged in MXdiags files, so took a look in there. The entry is there in the log file but it doesn't change over time - always registering 8.3 degrees C.

Code: Select all

2021-07-18 12:55:00.220 Current CPU temp = 8.3°C
Any ideas why it is not logging the actual temperature?

Re: CPU temperature in MXdiags files

Posted: Sun 18 Jul 2021 1:33 pm
by sfws
freddie wrote: Sun 18 Jul 2021 12:59 pm The entry is there in the log file but it doesn't change over time
Is this related to your hardware?

My CPU temperature entry is changing in the diagnostics file, nearly all the time, and I can see when the room containing my RPi starts to heat up or cool down.

Re: CPU temperature in MXdiags files

Posted: Sun 18 Jul 2021 1:59 pm
by freddie
sfws wrote: Sun 18 Jul 2021 1:33 pm Is this related to your hardware?
Possibly not hardware - but the fact that MX runs in a container. This may well be a factor.

Re: CPU temperature in MXdiags files

Posted: Sun 18 Jul 2021 8:26 pm
by Phil23
No idea what's going on in the code, but just tore one of my log apart in Excel & see this.

Phil.
Screenshot 2021-07-19 062532.jpg

Re: CPU temperature in MXdiags files

Posted: Wed 21 Jul 2021 1:33 pm
by philpugh
With room temps in the 28 - 29 C range one of my CMX RPis is showing CPU temps in the high 50's to low 60s C.
My Pi 4 (running webserver and MariaDB) is currently at 64C.

I don't have heatsinks or fans on either!