User Tools

Site Tools


rpi_temp_v5_0

Differences

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

Link to this comparison view

rpi_temp_v5_0 [2015/11/27 22:09]
rpi_temp_v5_0 [2015/11/27 22:09] (current)
Line 1: Line 1:
 +**Raspberry Pi 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|rpi_temp|
 +
 +==== Sender Arguments ====
 +
 +//None//
 +
 +==== Config ====
 +<​code>​
 +        "​RpiTemp":​ {
 +                "​name":​ "​Raspberry Pi Temp.",​
 +                "​temperature":​ {
 +                        "​name":​ "​Temperature",​
 +                        "​protocol":​ [ "​rpi_temp"​ ],
 + "​id":​ [{
 + "​id":​ 1
 + }],
 +                        "​temperature":​ 41160
 +                }
 +        }
 +</​code>​
 +
 +==== Optional Settings ====
 +
 +^Setting^Default^Format^Description^
 +|device-decimals|3|number|How many decimals does the temperature information contain|
 +|gui-decimals|3|number|How many decimals are shown in the web GUI|
 +|gui-show-temperature|1|1 or 0|Don'​t display the temperature value|
 +|poll-interval|5|seconds|What should be the poll interval of the sensors|
 +|device-temperature-offset|0|number|Correct temperature value|
 +
 +==== Protocol ====
 +
 +//None//
 +
 +==== Note ====
 +
 +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>​
rpi_temp_v5_0.txt ยท Last modified: 2015/11/27 22:09 (external edit)