From 53aa2901ecc7f9b05eef0da3acea41f1206187a7 Mon Sep 17 00:00:00 2001 From: mvbingham Date: Wed, 3 Dec 2025 20:46:53 -0500 Subject: [PATCH] added fahrenheit to webpage --- templates/dashboard.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/templates/dashboard.html b/templates/dashboard.html index e88dbcb..23f01a9 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -29,6 +29,14 @@ +
+
🌡️
+
+
--
+
Temperature (°F)
+
+
+
🔽
@@ -251,6 +259,11 @@ document.getElementById("current-temp").textContent = data.temperature; + // Calculate and update Fahrenheit temperature + const tempF = (data.temperature * 9/5) + 32; + document.getElementById("current-temp-f").textContent = + tempF.toFixed(2); + // Update raw temperature if available if (data.temperature_raw !== undefined) { document.getElementById("temp-raw").textContent =