User Tools

Site Tools


ds18b20_v6_0

Differences

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

Link to this comparison view

Next revision
Previous revision
ds18b20_v6_0 [2015/01/27 19:01]
curlymo created
ds18b20_v6_0 [2015/11/27 21:09] (current)
Line 46: Line 46:
 ^Setting^Default^Format^Description^ ^Setting^Default^Format^Description^
 |show-temperature|1|1 or 0|Don'​t display the temperature value| |show-temperature|1|1 or 0|Don'​t display the temperature value|
 +|decimals|3|number|How many decimals do we show in the GUI|
  
 ==== Notes ==== ==== Notes ====
- 
 Before pilight can see the sensor, you have to run the following commands: Before pilight can see the sensor, you have to run the following commands:
 <​code>​ <​code>​
Line 60: Line 60:
 w1-therm w1-therm
 </​code>​ </​code>​
 +
 +If you have enabled "​Device tree support"​ (since Raspbian with kernel 3.18 it's the default configuration),​ you have to add the following line to ''/​boot/​config.txt'':​
 +<​code>​
 +dtoverlay=w1-gpio-pullup,​gpiopin=4
 +</​code>​
 +''​Note:​ The GPIO pin number is the BCM GPIO and not the WiringX number.''​
 +
 +This will load the module w1-gpio, so you only have to add ''​w1-therm''​ to your ''/​etc/​modules''​.
 +
  
 To find the correct sensor id, you have to run the following commands: To find the correct sensor id, you have to run the following commands:
ds18b20_v6_0.1422385306.txt.gz ยท Last modified: 2015/11/27 21:08 (external edit)