diff --git a/things/DeviceDht.h b/things/DeviceDht.h index 9bbc79f..a770993 100644 --- a/things/DeviceDht.h +++ b/things/DeviceDht.h @@ -17,7 +17,9 @@ class DeviceDht : public Device { private: byte pin; byte type; - DHT dht{pin, type}; + // TODO configuration via constructor doesn't work yet + //DHT dht{pin, type}; + DHT dht{D4, DHT22}; const int INTERVAL_DHT = 60; unsigned long lastSentDHT = 0; float humidity, temperature; // raw values from the sensor