Add support for the DHT11/DHT22 sensors
This commit is contained in:
@@ -32,3 +32,18 @@
|
||||
// different for each station you install (e.g. if you want to measure the
|
||||
// temperature and humidity of each room separately)
|
||||
#define MDNS_NAME "internal-hostname"
|
||||
|
||||
// If you have a DHT temperature+humidity sensor of this type will be used,
|
||||
// remove the #undef line and uncomment one of DHT11 or DHT22. You also have
|
||||
// to define the PIN your DHT sensor’s data (usually marked as DAT) is
|
||||
// connected to.
|
||||
//
|
||||
// DHT11 sensors are usually blue, and don’t work under freezing point
|
||||
// (0°C/32°F)
|
||||
//
|
||||
// DHT22 sensors are usually white and slightly bigger than DHT11 ones. They
|
||||
// work well under freezing point (usually above -40°C/-40°F)
|
||||
#undef DHT_TYPE
|
||||
//#define DHT_TYPE DHT11
|
||||
//#define DHT_TYPE DHT22
|
||||
//#define DHT_PIN D5
|
||||
|
Reference in New Issue
Block a user