From: Jean-Philippe Orsini Date: Mon, 2 Jan 2017 13:01:35 +0000 (+0100) Subject: added how to get the temperature of the rpi3 X-Git-Url: http://git.wpitchoune.net/gitweb/?p=www.git;a=commitdiff_plain;h=50069149c3083de49613e48143ed306f53d2b528;hp=--cc;ds=sidebyside added how to get the temperature of the rpi3 --- 50069149c3083de49613e48143ed306f53d2b528 diff --git a/src/tricks/index.adoc b/src/tricks/index.adoc index 8593979..17bed70 100644 --- a/src/tricks/index.adoc +++ b/src/tricks/index.adoc @@ -5,8 +5,8 @@ == Raspberry PI * link:raspberry_pi3_increase_swap_size.html[Increase swap size] +* link:raspberry_pi3_temperature.html[How to get the temperature of the Raspberry PI3] == https://letsencrypt.org[Let's Encrypt] * link:letsencrypt_renew.html[Renew the SSL certificate] - diff --git a/src/tricks/raspberry_pi3_temperature.adoc b/src/tricks/raspberry_pi3_temperature.adoc new file mode 100644 index 0000000..663bf9e --- /dev/null +++ b/src/tricks/raspberry_pi3_temperature.adoc @@ -0,0 +1,8 @@ += Raspberry PI - How to get the temperature +:docinfo2: +:icons: font + +Display the temperature of the Raspberry (Celsius): +---- +echo `cat /sys/class/thermal/thermal_zone0/temp` / 1000 |bc +---- diff --git a/www/tricks/index.html b/www/tricks/index.html index 5801a16..4ddef95 100644 --- a/www/tricks/index.html +++ b/www/tricks/index.html @@ -4,10 +4,10 @@ - + Tricks - + @@ -24,6 +24,9 @@
  • Increase swap size

  • +
  • +

    How to get the temperature of the Raspberry PI3

    +
  • @@ -43,7 +46,7 @@