From d37e0b9f7c8d6299e4437d6748982e80c6a1fc07 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Feb 2026 18:23:36 +0000 Subject: [PATCH] Suppress usage reporting in AP mode when no IP address Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com> --- wled00/data/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wled00/data/index.js b/wled00/data/index.js index d1e367dd..8200027a 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -3708,6 +3708,12 @@ function checkVersionUpgrade(info) { if (versionCheckDone) return; versionCheckDone = true; + // Skip version check in AP mode (no internet connectivity) + if (!info.ip || info.ip === '') { + console.log('Skipping version check in AP mode (no IP address)'); + return; + } + // Fetch version-info.json using existing /edit endpoint fetch('/edit?edit=/version-info.json', { method: 'get'