User avatar
flok99
Posts: 5
Joined: Wed Jan 03, 2018 10:04 am
Location: Gouda, the Netherlands
Contact: ICQ Website Skype Twitter

temperature

Fri Jun 14, 2019 10:02 am

Hi,

What is the difference between the temperature read from /sys/devices/virtual/thermal/thermal_zone0/temp and the one returned by /usr/bin/vcgencmd measure_temp ?

I'm asking as they're often not the same:

Code: Select all

temp=59.1'C 59072
temp=59.1'C 59610
temp=58.5'C 59072
temp=59.1'C 59610
temp=59.1'C 59072
temp=58.5'C 59072
---
www.vanheusden.com

scotty101
Posts: 3597
Joined: Fri Jun 08, 2012 6:03 pm

Re: temperature

Fri Jun 14, 2019 11:07 am

/usr/bin/vcgencmd measure_temp is the GPU Temp and the other is the CPU temp.

See http://kernelreloaded.com/formatting-ou ... e-sensors/
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

Return to “Advanced users”