Upload files to "/"

This commit is contained in:
2026-08-13 20:58:07 +00:00
parent 14f34ab05d
commit cf135b52d4
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -96,7 +96,7 @@ String htmlPage() {
<body>
<div class="card">
<h2>ESP32 DHT+MQ</h2>
<div class="small">Updates every 2 seconds • Last ~720 Samples • ~24 Hours</div>
<div class="small">Updates every 2 seconds • Last ~43,200 Samples Max • ~24 Hours</div>
<div class="row">
<div class="box">
@@ -108,7 +108,7 @@ String htmlPage() {
<p class="val" id="hum">--</p>
</div>
<div class="box">
<p><b>Air Quality:</b></p>
<p><b>AQI:</b></p>
<p class="val" id="aq">--</p>
<p id="aqLabel" class="small">--</p>
</div>
@@ -131,7 +131,7 @@ const canvas = document.getElementById('chart');
const ctx = canvas.getContext('2d');
// Keep separate series; chart shares the x-axis (time)
const MAX_POINTS = 720;
const MAX_POINTS = 43200;
let tempSeries = []; // {x, v}
let humSeries = []; // {x, v}
let aqSeries = []; // {x, v}
@@ -389,7 +389,7 @@ void loop() {
Serial.print(latestH, 1);
Serial.print(" %\tTemp: ");
Serial.print(latestT_F, 1);
Serial.print(" F\tAQ: ");
Serial.print(" F\tAQI: ");
Serial.print(latestAQ, 1);
Serial.println();