dashboard: add temp alert debug logging
This commit is contained in:
@@ -1466,6 +1466,14 @@ static void parse_status_json(const String &body)
|
||||
float temp_f = (float)(temp["temperature_f"] | 0.0);
|
||||
bool high_alert = temp["high_alert"] | false;
|
||||
|
||||
Serial.printf(
|
||||
"TEMP DEBUG: name=%s group=%s temp=%.1f high_alert=%d\n",
|
||||
temp["name"] | "unknown",
|
||||
temp["group"] | "",
|
||||
temp_f,
|
||||
high_alert ? 1 : 0
|
||||
);
|
||||
|
||||
if (weather) {
|
||||
outside_status = "OUT ";
|
||||
outside_status += String((int)round(temp_f));
|
||||
|
||||
Reference in New Issue
Block a user