Give Raspberry Température

Sellig28 asked for this feature 12 months ago — 3 comments

Sellig28 commented 12 months ago

It will be interesting to get raspberry pi temperature to activate a fan if in an external box.

cedricve commented 12 months ago Admin

Sellig28, how do you see the activation function. This is probably something you want to write your own?

carriba commented 8 months ago

From a back end side, you can query the temperature with the following UNIX command: awk '{printf "%3.1f°C\n", $1/1000}' /sys/class/thermal/thermal_zone0/temp

It should then be a matter of collecting the query results of this command and represent the historical X points maybe under the "System" panel of the fornt-end portal.

You can get the same results with the command: vcgencmd measure_temp

Join the discussion!

with GitHub to comment