diff --git a/firmware/esp32-s3-dashboard/dashboard_config.h b/firmware/esp32-s3-dashboard/dashboard_config.h index 3e72b1d..7224909 100644 --- a/firmware/esp32-s3-dashboard/dashboard_config.h +++ b/firmware/esp32-s3-dashboard/dashboard_config.h @@ -1,6 +1,6 @@ #pragma once -static const char *DASHBOARD_VERSION = "0.1.114-websocket-roadmap"; +static const char *DASHBOARD_VERSION = "0.1.119-temp-alert-debug"; // Update these if your Cargo ESP AP credentials are different. //static const char *CARGO_WIFI_SSID = "OverlandController"; diff --git a/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino b/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino index a7c3890..bc2bbcd 100644 --- a/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino +++ b/firmware/esp32-s3-dashboard/esp32-s3-dashboard.ino @@ -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));