diff --git a/app/public/app.js b/app/public/app.js index 0558ea5..995d2f7 100644 --- a/app/public/app.js +++ b/app/public/app.js @@ -2975,6 +2975,14 @@ function applyStationOverlay(device) { if (data.uv != null) setEl('cur-uv', data.uv); + const indoorCard = document.getElementById('st-indoor-card'); + if (data.tempinf != null) { + setEl('st-tempin', fmtTemp(data.tempinf)); + setEl('st-tempin-unit', isMetric ? 'C' : 'F'); + setEl('st-humin', data.humidityin != null ? `${data.humidityin}% RH` : ''); + if (indoorCard) indoorCard.classList.remove('hidden'); + } + // Rain summary in hero sub-line const rainEl = document.getElementById('cur-precip'); if (rainEl && data.dailyrainin != null) { diff --git a/app/public/dashboard.html b/app/public/dashboard.html index ca436b0..7c0cdc7 100644 --- a/app/public/dashboard.html +++ b/app/public/dashboard.html @@ -145,6 +145,8 @@ a { color: var(--cool); text-decoration: none; } .threshold-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; } @media (max-width: 480px) { .threshold-row { grid-template-columns: 1fr; } } +.hidden { display: none !important; } + /* ── Section cards ── */ .section-card { background: var(--paper-dark); border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem 1.5rem; margin-bottom: 1rem; } .section-card-hdr { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink-light); margin-bottom: 1.1rem; } @@ -281,39 +283,72 @@ canvas.sparkline { display: block; width: 100%; height: 22px; margin-top: 0.4rem
💨— mph peak gust
- -
-
-
Wind
-
—
-
mph
-
- + +
+
Wind
+
+
+
Speed
+
—
+
mph
+
+ +
+
Gust
—
mph
+
Peak Gust Today
—
mph
-
Wind Gust
—
mph
-
Max Gust Today
—
mph
-
Rain Today
—
in
-
Rain Rate
—
in/hr
- -
-
Rain 7d
—
in
-
Rain 30d
—
in
-
Rain YTD
—
in
- - -
Heating DD
—
this month
-
Cooling DD
—
this month
-