From cb52c4cf35c06afe07fbbb91f1abd992cc02ced8 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sun, 26 Dec 2021 14:00:07 +0100 Subject: [PATCH] Add DHT debugging information --- tasmota/xsns_06_dht.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasmota/xsns_06_dht.ino b/tasmota/xsns_06_dht.ino index ffd6c4b44..720044878 100644 --- a/tasmota/xsns_06_dht.ino +++ b/tasmota/xsns_06_dht.ino @@ -115,6 +115,9 @@ bool DhtRead(uint32_t sensor) { } } interrupts(); + + AddLog(LOG_LEVEL_DEBUG_MORE, PSTR("DHT: Read %5_H"), dht_data); + if (i < 40) { return false; } uint8_t checksum = (dht_data[0] + dht_data[1] + dht_data[2] + dht_data[3]) & 0xFF;