Jan 6, 2014

Check Temperature in Raspberry Pi

Two ways how I check the temperature in my Raspberry Pi.

As normal user:
% cat /sys/class/thermal/thermal_zone0/temp
49768
% /opt/vc/bin/vcgencmd measure_temp
VCHI initialization failed

As sudo/root:
% sudo /opt/vc/bin/vcgencmd measure_temp                
temp=49.8'C