summaryrefslogtreecommitdiff
path: root/sensor/thermostat.ino
diff options
context:
space:
mode:
Diffstat (limited to 'sensor/thermostat.ino')
-rw-r--r--sensor/thermostat.ino5
1 files changed, 5 insertions, 0 deletions
diff --git a/sensor/thermostat.ino b/sensor/thermostat.ino
index 52eb4b0..e9db767 100644
--- a/sensor/thermostat.ino
+++ b/sensor/thermostat.ino
@@ -46,6 +46,11 @@ class MyAdvertisedDeviceCallbacks: public BLEAdvertisedDeviceCallbacks {
}; // MyAdvertisedDeviceCallbacks
void read_sensor(float* humidity, float* temperature) {
+ // faking it temporarily, my sensor is not cooperating
+ *temperature = 25.0;
+ *humidity = 87.0;
+ return;
+
dht.setup(13,DHTesp::DHT11);
while (1) {