User Tools

Site Tools


cpu_temp_v7_0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cpu_temp_v7_0 [2015/11/27 22:09] (current)
Line 1: Line 1:
 +**CPU Temperature Sensor**
  
 +^Feature^Support^
 +|Sending|{{http://​wiki.pilight.org/​lib/​images/​notsupported.gif}}|
 +|Receiving|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}|
 +|Config|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}|
 +
 +==== Supported Brands ====
 +^Brand^Protocol^
 +|Raspberry Pi|cpu_temp|
 +|Hummingboard|cpu_temp|
 +
 +==== Sender Arguments ====
 +
 +//None//
 +
 +==== Config ====
 +<​code>​
 +"​devices":​ {
 + "​rpi":​ {
 + "​protocol":​ [ "​cpu_temp"​ ],
 + "​id":​ [{
 + "​id":​ 1
 + }],
 + "​temperature":​ 59.397,
 + "​poll-interval":​ 10
 + }
 +},
 +"​gui":​ {
 + "​rpi":​ {
 + "​name":​ "​Raspberry Pi Temperature",​
 + "​group":​ [ "​Misc"​ ],
 + "​media":​ [ "​all"​ ]
 + }
 +}
 +</​code>​
 +
 +==== Optional Settings ====
 +
 +Device Settings
 +
 +^Setting^Default^Format^Description^
 +|temperature-offset|0|number|Correct temperature value|
 +|poll-interval|5|seconds|What should be the poll interval of the sensors|
 +
 +GUI Settings
 +^Setting^Default^Format^Description^
 +|temperature-decimals|2|number|How many decimals the GUIs should display for temperature|
 +|show-temperature|1|1 or 0|Don'​t display the temperature value|
 +
 +==== Notes ====
 +
 +On the Raspberry Pi:
 +
 +It is possible you need to first load the sensor module:
 +<​code>​
 +sudo modprobe bcm2835_thermal
 +</​code>​
 +
 +To make sure this is done every reboot, edit ''/​etc/​modules''​ and add the following lines:
 +<​code>​
 +bcm2835_thermal
 +</​code>​
cpu_temp_v7_0.txt ยท Last modified: 2015/11/27 22:09 (external edit)