Merge branch 'dev' into sensor-info

This commit is contained in:
Blaz Kristan
2022-01-09 22:00:09 +01:00
30 changed files with 4542 additions and 4051 deletions

View File

@@ -185,6 +185,7 @@ class UsermodTemperature : public Usermod {
// we were waiting for a conversion to complete, have we waited log enough?
if (now - lastTemperaturesRequest >= 750 /* 93.75ms per the datasheet but can be up to 750ms */) {
readTemperature();
if (getTemperatureC() < -100.0f) lastMeasurement = now - readingInterval + 300; // force new measurement in 300ms
if (WLED_MQTT_CONNECTED) {
char subuf[64];