User Tools

Site Tools


dht22

Differences

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

Link to this comparison view

Next revision
Previous revision
dht22 [2013/11/21 20:20]
sweetpi created
dht22 [2015/11/27 21:09] (current)
Line 1: Line 1:
 **1-Wire dht22** **1-Wire dht22**
 +
 +//To be able to use the updated protocol, install this module from the development repository://​
 +<​code>​
 +apt-get install pilight-protocol-dht22
 +</​code>​
  
 ^Feature^Support^ ^Feature^Support^
Line 6: Line 11:
 |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|dht22| +|1-Wire ​dht22|dht22| 
- +|1-Wire am2302|am2302|
-Supported Brands+
  
-Sender Arguments+==== Sender Arguments ​====
  
 //None// //None//
  
-Config+==== Config ​====
 <​code>​ <​code>​
         "​living":​ {         "​living":​ {
Line 24: Line 28:
  "​protocol":​ [ "​dht22"​ ],  "​protocol":​ [ "​dht22"​ ],
  "​id":​ [{  "​id":​ [{
- "id": ​"​dht22"​+    "gpio": ​7
  }],  }],
- "​gpio":​ 7, + "​humidity": ​526
- "​humidity": ​618+ "​temperature": ​175
- "​temperature": ​172+ "poll-interval":​ 5
- "settings":​ { +
- "interval":​ 5 +
- }+
                 }                 }
         }         }
 </​code>​ </​code>​
  
-Optional Settings+==== Optional Settings ​====
  
 ^Setting^Default^Format^Description^ ^Setting^Default^Format^Description^
-|decimals|1|number|How many decimals does the temperature information contain| +|device-decimals|1|number|How many decimals does the temperature information contain| 
-|humidity|1|1 or 0|Don'​t display the humidity value| +|gui-show-humidity|1|1 or 0|Don'​t display the humidity value| 
-|temperature|1|1 or 0|Don'​t display the temperature value| +|gui-show-temperature|1|1 or 0|Don'​t display the temperature value| 
-|battery|0|1 or 0|Don'​t display the battery value| +|poll-interval|5|seconds|What should be the poll interval of the sensors
-|interval|5|seconds|What should be the poll interval of the sensors|+|device-humidity-offset|0|number|Correct humidity value| 
 +|device-temperature-offset|0|number|Correct temperature value|
  
-Protocol+==== Protocol ​====
  
 //None// //None//
  
dht22.1385065222.txt.gz · Last modified: 2015/11/27 21:08 (external edit)