This is an old revision of the document!
1-Wire dht22
To be able to use the updated protocol, install this module from the development repository:
apt-get install pilight-protocol-dht22
Brand | Protocol |
---|---|
1-Wire dht22 | dht22 |
1-Wire am2302 | am2302 |
None
"living": { "name": "Living", "temperature": { "name": "Temperature", "protocol": [ "dht22" ], "id": [{ "gpio": 7 }], "humidity": 526, "temperature": 175, "poll-interval": 5 } }
Setting | Default | Format | Description |
---|---|---|---|
device-decimals | 1 | number | How many decimals does the temperature information contain |
gui-show-humidity | 1 | 1 or 0 | Don't display the humidity value |
gui-show-temperature | 1 | 1 or 0 | Don't display the temperature value |
poll-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 |
None