fix(phase26): skip netwatch AP scan when clients connected (BUG-01)

This commit is contained in:
Mathieu Moran
2026-08-11 03:11:13 -04:00
parent f9d967e71c
commit 89bbc4fdb8
3 changed files with 71 additions and 0 deletions
+29
View File
@@ -134,6 +134,35 @@
</div>
</div>
{# ── In-car access ────────────────────────────────────────────────── #}
<div class="card shadow-sm mb-3" id="in-car-access-card">
<div class="card-header py-2">
<p class="text-primary m-0 fw-bold small">In-car access</p>
</div>
<div class="card-body py-3">
<div id="in-car-hotspot-info" hidden>
<p class="mb-2 fw-semibold">Your phone can reach the Pi at:</p>
<div class="d-flex align-items-center gap-2 mb-3">
<code class="fs-5" id="hotspot-url">http://10.42.0.1</code>
<button class="btn btn-outline-secondary btn-sm" id="copy-hotspot-url" type="button" title="Copy">
<i class="fas fa-copy"></i>
</button>
</div>
<div class="alert alert-warning py-2 mb-0 small">
<i class="fas fa-exclamation-triangle me-1"></i>
If the page doesn't load, try <strong>disabling cellular/mobile data</strong> on your phone.
Phones often keep using cell data when WiFi has no internet, blocking access to the Pi.
</div>
</div>
<div id="in-car-wifi-info" hidden>
<p class="mb-1 small text-muted">The Pi is connected to WiFi. Open <code>http://yaris.local</code> from any device on the same network.</p>
</div>
<div id="in-car-disconnected-info" hidden>
<p class="mb-0 small text-muted">Waiting for network…</p>
</div>
</div>
</div>
{# ── Phone hotspot ───────────────────────────────────────────────── #}
<div class="card shadow-sm mb-3">
<div class="card-header py-2">