This shows you the differences between two versions of the page.
— |
dht11_v7_0 [2015/11/27 22:09] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | **1-Wire dht11** | ||
+ | ^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^ | ||
+ | |1-Wire dht11|dht11| | ||
+ | |||
+ | ==== Sender Arguments ==== | ||
+ | |||
+ | //None// | ||
+ | |||
+ | ==== Config ==== | ||
+ | <code> | ||
+ | "devices": { | ||
+ | "temperature": { | ||
+ | "protocol": [ "dht11" ], | ||
+ | "id": [{ | ||
+ | "gpio": 7 | ||
+ | }], | ||
+ | "humidity": 5.2, | ||
+ | "temperature": 1.7, | ||
+ | "poll-interval": 5 | ||
+ | } | ||
+ | }, | ||
+ | "gui": { | ||
+ | "temperature": { | ||
+ | "name": "Temperature Sensor", | ||
+ | "group": [ "Misc" ], | ||
+ | "media": [ "all" ] | ||
+ | } | ||
+ | } | ||
+ | </code> | ||
+ | |||
+ | ==== Optional Settings ==== | ||
+ | |||
+ | Device Settings | ||
+ | ^Setting^Default^Format^Description^ | ||
+ | |humidity-offset|0|number|Correct humidity value| | ||
+ | |temperature-offset|0|number|Correct temperature value| | ||
+ | |poll-interval|5|seconds|What should be the poll interval of the sensors| | ||
+ | |||
+ | GUI Settings | ||
+ | ^Setting^Default^Format^Description^ | ||
+ | |temperature-decimals|2|number|How many decimals the GUIs should display for temperature| | ||
+ | |humidity-decimals|2|number|How many decimals the GUIs should display for humidity| | ||
+ | |||
+ | |show-humidity|1|1 or 0|Don't display the humidity value| | ||
+ | |show-temperature|1|1 or 0|Don't display the temperature value| |