[solved] CPU temperature readings wrong at cold temperatures

Having issues with your DietPi installation, or, found a bug? Post it here.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: CPU temperature readings wrong at cold temperatures

Post by Fourdee »

Gord_W wrote:You've forgotten but we've discussed the freezer before :lol:
http://dietpi.com/phpbb/viewtopic.php?f ... r&start=10
But that was for rPi. Now trying out smaller NanoPi to test clock stability.

We could do that one pretty easy with $HW_MODEL index's
That would be the preferred way.

Thanks,
Gordon
Hi Gordon,

Ah yes, we did :)

I've made a ticket for this, see if we can make those changes:
https://github.com/Fourdee/DietPi/issues/884
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: CPU temperature readings wrong at cold temperatures

Post by Fourdee »

Gordon,

script updated, ready for testing:

Code: Select all

wget https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-cpuinfo -O /DietPi/dietpi/dietpi-cpuinfo
cpu
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Gord_W
Posts: 134
Joined: Sat Oct 24, 2015 6:30 pm

[solved] CPU temperature readings wrong at cold temperatures

Post by Gord_W »

Looks good. Temperature drops through 0 deg smoothly now.

Thanks,
Gordon
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: [solved] CPU temperature readings wrong at cold temperat

Post by Fourdee »

Gord_W wrote:Looks good. Temperature drops through 0 deg smoothly now.

Thanks,
Gordon
Excellent, thanks Gordon :)
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
syl3nt

Re: [solved] CPU temperature readings wrong at cold temperat

Post by syl3nt »

Fourdee wrote:
Gord_W wrote:Looks good. Temperature drops through 0 deg smoothly now.

Thanks,
Gordon
Excellent, thanks Gordon :)

ahm, i dont know about anyone else, but for me, my Orange Pi, after the 149 update shows me 0 degrees O_O
and i do cat of that temperature variable and it's not 0, (i did it , because i dont have the orange pi anywhere near me to check manually)
Attachments
cpu temperature
cpu temperature
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: [solved] CPU temperature readings wrong at cold temperat

Post by Fourdee »

ahm, i dont know about anyone else, but for me, my Orange Pi, after the 149 update shows me 0 degrees O_O
Thanks for letting us know, we are working on a solution:
https://github.com/Fourdee/DietPi/issues/909
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Gord_W
Posts: 134
Joined: Sat Oct 24, 2015 6:30 pm

Re: [solved] CPU temperature readings wrong at cold temperat

Post by Gord_W »

Think we fixed it, any chance you can update script and test for us?

wget https://github.com/Fourdee/DietPi/raw/t ... pi-cpuinfo -O /DietPi/dietpi/dietpi-cpuinfo
cpu
Just tried it again with your revised code and it still works for Nanopi Neo. Linux DietPi 4.10.3-sun8i

Gordon Williams
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: [solved] CPU temperature readings wrong at cold temperat

Post by Fourdee »

Gord_W wrote: Just tried it again with your revised code and it still works for Nanopi Neo. Linux DietPi 4.10.3-sun8i

Gordon Williams
Thanks Gordon :)
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
untitleone2020
Posts: 1
Joined: Wed Apr 15, 2020 9:12 am

Re: [solved] CPU temperature readings wrong at cold temperatures

Post by untitleone2020 »

It is Mostly Issue at cold temperatures. Here is the guide about maximum average & normal temperatures.
https://getintopc.app/what-are-the-maxi ... peratures/
Post Reply