Page 1 of 1

Temperature readout in the web interface

PostPosted: 09 Aug 2019, 01:50
by Bignumbas
It would be really good to have a temperature readout in the web interface somewhere with the advent of the pi 4.
Currently I have pi-hole co-installed and that gives it to me and I found vcgencmd in /opt/vc/bin so that helps.
I am running the pi 4 without a case, heatsinks installed and a pifi DAC+ hat and it runs at 34C with a fan blowing in from the card end.
Without it it runs around 44C, I think a case would make this higher plus I am in Australia and its in the middle of winter at the moment.
Max air temp at the moment is around 23C not 30C+
Running Kodi with Netflix on the pi4 resulted in 80C+ and crashing so this iteration is heat sensitive and it is recommended to have a fan

I have another post here on running runeaudio on the pi4 which has photos of my system. Amazingly the sound seems louder and clearer,
Don't know whether I am imagining that or not.


pi-hole temp readout
pihole_temp.png (34.99 KiB) Viewed 1581 times

vcgencmd measure_temp
vcgencmd_temp.png (36.29 KiB) Viewed 1581 times

Re: Temperature readout in the web interface

PostPosted: 09 Aug 2019, 10:51
by janui
Hi Bignumbas,
I will put your CPU temperature indicator on my list of things to do.
In the meantime you can try a couple of things to make the PI 4 run cooler by modifying some parameters in /boot/config.txt.
You can reduce the temperature at which the Pi will start reducing its CPU cycle rate (throttling). This worked really well with the PI Zero when overclocked. Try adding this:
Code: Select all
You could also try removing the turbo mode, the idea here was that speeding up and slowing down the CPU rate (turbo on demand) would have an effect on the sound quality. But the Pi 4 is now so fast that it may not be needed. In fact this may now be creating more problems than it is solving because a hot CPU will create noise, this may be worse than the turbo on demand effect. Try changing this:
Code: Select all
to this:
Code: Select all
Underclocking and undervolting the CPU is a tactic which may be the ideal route, but I do not have any validated settings available for the Pi 4. The following settings work pretty good on the Pi 3 B+, you could try them:
Code: Select all

Re: Temperature readout in the web interface

PostPosted: 29 Nov 2019, 17:41
by LancerMiG
Has this feature been added in the latest build? Because it'd be an awesome thing to have, as I tend to have temperature issues as well. I've been resorting to jerry-rigged cooling means so far, but I'll use your advice as well, and give feedback about how it goes for me.