This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dht22 [2014/02/07 19:33] curlymo |
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 dht11|dht11| | ||
|1-Wire dht22|dht22| | |1-Wire dht22|dht22| | ||
|1-Wire am2302|am2302| | |1-Wire am2302|am2302| | ||
- | Supported Brands | + | ==== Sender Arguments ==== |
- | + | ||
- | Sender Arguments | + | |
//None// | //None// | ||
- | Config | + | ==== Config ==== |
<code> | <code> | ||
"living": { | "living": { | ||
Line 26: | Line 28: | ||
"protocol": [ "dht22" ], | "protocol": [ "dht22" ], | ||
"id": [{ | "id": [{ | ||
- | "gpio": "7" | + | "gpio": 7 |
}], | }], | ||
- | "humidity": 50, | + | "humidity": 526, |
- | "temperature": 17, | + | "temperature": 175, |
- | "settings": { | + | "poll-interval": 5 |
- | "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| |
- | |humi-corr|0|number|Correct humidity value| | + | |device-temperature-offset|0|number|Correct temperature value| |
- | |temp-corr|0|number|Correct temperature value| | + | |
- | Protocol | + | ==== Protocol ==== |
//None// | //None// | ||