Add-ons

CPU temperature measurement

38 17254
Hi guys.
is there a way to get the CPU temperature value with a command line ?
Lynsch  
Same question here.
on my raspberry with raspbian i use
vcgencmd measure_temp

but it seems this does not work on the banana

Reply 2# Lynsch

I have give the question to my teammate for solution.

Hi,

is there a solution? I use rpimonitor to check "health" state of my two RPI anf my BPi.
But on BPi ich would like to ckeck CPU Temp and CPu core volt, too

mamiko  
Any progress ? It is about two months since the original question.

Reply 5# mamiko

We miss some information in the driver.
We will fix it. After that you will see the temperature at:
  1. /sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034
Copy the Code

mamiko  
Reply 6# tony_zhang

Thank you, Tony.

Hi,

you can estimate about when the fix is ​​ready?

Best Andreas

Dliloch  
the cpu frequency seems to vary .. 912MHz-384MHz also voltage always undefined..
very nice tool.. could it report both cores independently?

the cpu frequency seems to vary .. 912MHz-384MHz also voltage always undefined..
very nice tool.. c ...
Dliloch Posted at 2014-7-23 04:27


Did you mean rpimonitor? i have modified the configuration file to monitor both cores an removed the voltage
(/etc/rpimonitor/data.conf data.conf -> /etc/rpimonitor/template/raspbian.conf )


dynamic.3.name=cpu0_frequency
dynamic.3.source=/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
dynamic.3.regexp=(.*)
dynamic.3.postprocess=$1/1000
dynamic.3.rrd=

dynamic.4.name=cpu1_frequency
dynamic.4.source=/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_cur_freq
dynamic.4.regexp=(.*)
dynamic.4.postprocess=$1/1000
dynamic.4.rrd=

web.status.1.name=Banana Pi

web.status.1.content.3.name=CPU
web.status.1.content.3.icon=cpu.png
web.status.1.content.3.line.1="Loads: <b>" + data.load1 + "</b> [1min] - <b>" + data.load5 + "</b> [5min] - <b>" + data.load15 + "</b> [15min]"
web.status.1.content.3.line.2="CPU frequency CPU0: <b>" + data.cpu0_frequency + "MHz</b>  CPU1: <b>" + data.cpu1_frequency + "MHz</b>"
web.status.1.content.3.line.3="Scaling governor: <b>" + data.scaling_governor + "</b>"



web.statistics.1.name=Banana Pi

You have to log in before you can reply Login | Sign Up

Points Rules