From a8d8a1e99f1334c531030df543c58967ad5306d3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Feb 2026 18:18:01 +0000 Subject: [PATCH 1/7] Initial plan 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 2/7] 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 d1e367dd55..8200027a13 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' From a48ce54f85e0408c1b41cb6e685718a9b24eef15 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Feb 2026 18:25:10 +0000 Subject: [PATCH 3/7] Simplify AP mode check condition per code review Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com> --- wled00/data/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wled00/data/index.js b/wled00/data/index.js index 8200027a13..946a69becf 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -3709,7 +3709,7 @@ function checkVersionUpgrade(info) { versionCheckDone = true; // Skip version check in AP mode (no internet connectivity) - if (!info.ip || info.ip === '') { + if (!info.ip) { console.log('Skipping version check in AP mode (no IP address)'); return; } From b60b13f503b2d133dc916e0ed122664045447521 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Feb 2026 18:27:51 +0000 Subject: [PATCH 4/7] Add 0.0.0.0 check for extra safety per code review Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com> --- wled00/data/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wled00/data/index.js b/wled00/data/index.js index 946a69becf..5822785e60 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -3709,7 +3709,8 @@ function checkVersionUpgrade(info) { versionCheckDone = true; // Skip version check in AP mode (no internet connectivity) - if (!info.ip) { + // In AP mode, info.ip will be empty or invalid + if (!info.ip || info.ip === '0.0.0.0') { console.log('Skipping version check in AP mode (no IP address)'); return; } From 0411b7dc6b49192322cb7a3a5c512f1cce243de0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20M=C3=B6hle?= <91616163+softhack007@users.noreply.github.com> Date: Fri, 6 Feb 2026 15:29:52 +0100 Subject: [PATCH 5/7] extend AP mode detection to IP 4.3.2.1 as recommended by the rabbit --- wled00/data/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wled00/data/index.js b/wled00/data/index.js index 5822785e60..e8ec7d3e76 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -3709,8 +3709,8 @@ function checkVersionUpgrade(info) { versionCheckDone = true; // Skip version check in AP mode (no internet connectivity) - // In AP mode, info.ip will be empty or invalid - if (!info.ip || info.ip === '0.0.0.0') { + // In AP mode, info.ip will be 4.3.2.1, or empty or invalid + if (!info.ip || info.ip === '0.0.0.0' || info.ip === '4.3.2.1' || info.ip === '255.255.255.255') { console.log('Skipping version check in AP mode (no IP address)'); return; } From e29d42c95471a29a530aa1393e5faf532ba0ec5c Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Sat, 7 Feb 2026 00:39:36 +0100 Subject: [PATCH 6/7] add wifi.ap to json/info (upstream beackport) backport based on https://github.com/wled/WLED/commit/0af3063127079428f6c5cd9017977f560a98e47a#diff-6b6413edc70eb5a8b8d037f55e51154ae77788f431721701e949d2f00cd99820 --- wled00/json.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wled00/json.cpp b/wled00/json.cpp index 3b6479986f..2e4e98e9b7 100644 --- a/wled00/json.cpp +++ b/wled00/json.cpp @@ -1067,12 +1067,13 @@ void serializeInfo(JsonObject root) outputs.add(busses.getBus(b)->getLength()); } - JsonObject wifi_info = root.createNestedObject("wifi"); + JsonObject wifi_info = root.createNestedObject(F("wifi")); wifi_info[F("bssid")] = WiFi.BSSIDstr(); int qrssi = WiFi.RSSI(); wifi_info[F("rssi")] = qrssi; wifi_info[F("signal")] = getSignalQuality(qrssi); wifi_info[F("channel")] = WiFi.channel(); + wifi_info[F("ap")] = apActive; JsonObject fs_info = root.createNestedObject("fs"); fs_info["u"] = fsBytesUsed / 1000; From c4e14e14e22bc6f95f1f7d60844aa20cc5158918 Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Sat, 7 Feb 2026 20:49:03 +0000 Subject: [PATCH 7/7] Simplify ap check --- wled00/data/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wled00/data/index.js b/wled00/data/index.js index e8ec7d3e76..44fe1b5691 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -3709,9 +3709,7 @@ function checkVersionUpgrade(info) { versionCheckDone = true; // Skip version check in AP mode (no internet connectivity) - // In AP mode, info.ip will be 4.3.2.1, or empty or invalid - if (!info.ip || info.ip === '0.0.0.0' || info.ip === '4.3.2.1' || info.ip === '255.255.255.255') { - console.log('Skipping version check in AP mode (no IP address)'); + if (info.wifi && info.wifi.ap) { return; }