User Tools

Site Tools


ds18b20

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ds18b20 [2013/12/29 19:34]
curlymo
ds18b20 [2015/11/27 21:09] (current)
Line 6: Line 6:
 |Config|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}| |Config|{{http://​wiki.pilight.org/​lib/​images/​supported.gif}}|
  
-Supported Brands+==== Supported Brands ​====
 ^Brand^Protocol^ ^Brand^Protocol^
 |1-Wire|ds18b20| |1-Wire|ds18b20|
  
-Supported Brands +==== Sender Arguments ​====
- +
-Sender Arguments+
  
 //None// //None//
  
-Config+==== Config ​====
 <​code>​ <​code>​
         "​living":​ {         "​living":​ {
Line 31: Line 29:
 </​code>​ </​code>​
  
-Optional Settings+==== Optional Settings ​====
  
 ^Setting^Default^Format^Description^ ^Setting^Default^Format^Description^
-|decimals|3|number|How many decimals does the temperature information contain| +|device-decimals|3|number|How many decimals does the temperature information contain| 
-|humidity|0|1 or 0|Don'​t display the humidity value| +|gui-show-temperature|1|1 or 0|Don'​t display the temperature value| 
-|temperature|1|1 or 0|Don'​t display the temperature value| +|poll-interval|5|seconds|What should be the poll interval of the sensors| 
-|battery|0|1 or 0|Don'​t display the battery value| +|device-temperature-offset|0|number|Correct temperature value|
-|interval|5|seconds|What should be the poll interval of the sensors| +
-|humi-corr|0|number|Correct humidity value| +
-|temp-corr|0|number|Correct temperature value|+
  
-Protocol+==== Protocol ​====
  
 //None// //None//
  
-Note+==== 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:
Line 59: Line 54:
 w1-therm w1-therm
 </​code>​ </​code>​
 +
 +To find the correct sensor id, you have to run the following commands:
 +<​code>​
 +cd /​sys/​bus/​w1/​devices
 +ls
 +</​code>​
 +
 +The result will look like:
 +<​code>​
 +28-0000055bd776 ​ w1_bus_master1
 +</​code>​
 +
 +Use the part after 28- as the correct id, e.g. 0000055bd776.
ds18b20.1388345673.txt.gz · Last modified: 2015/11/27 21:08 (external edit)