From 6e39969cdcf483fb2a0c1530ad8815f8a2df58dc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 12 Dec 2025 10:07:52 +0000 Subject: [PATCH 1/3] Initial plan From 5c2177e8d5162b6d873f2920b6a979c6e4d81259 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 12 Dec 2025 10:11:59 +0000 Subject: [PATCH 2/3] Add repo field from info data to upgradeData Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com> --- wled00/data/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/wled00/data/index.js b/wled00/data/index.js index 168a5e2a..583fcc5e 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -3443,6 +3443,7 @@ function reportUpgradeEvent(info, oldVersion) { }; // Add optional fields if available + if (infoData.repo !== undefined) upgradeData.repo = infoData.repo; // GitHub repository if (infoData.psramPresent !== undefined) upgradeData.psramPresent = infoData.psramPresent; // Whether device has PSRAM if (infoData.psramSize !== undefined) upgradeData.psramSize = infoData.psramSize; // Total PSRAM size in MB // Note: partitionSizes not currently available in /json/info endpoint From 6632a353390b5649249d2ed9ca772816e45717c2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 13 Dec 2025 22:14:27 +0000 Subject: [PATCH 3/3] Remove unnecessary conditional for repo field Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com> --- 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 583fcc5e..3c4c6d41 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -3439,11 +3439,11 @@ function reportUpgradeEvent(info, oldVersion) { bootloaderSHA256: infoData.bootloaderSHA256 || '', // Bootloader SHA256 hash brand: infoData.brand, // Device brand (always present) product: infoData.product, // Product name (always present) - flashSize: infoData.flash // Flash size (always present) + flashSize: infoData.flash, // Flash size (always present) + repo: infoData.repo // GitHub repository (always present) }; // Add optional fields if available - if (infoData.repo !== undefined) upgradeData.repo = infoData.repo; // GitHub repository if (infoData.psramPresent !== undefined) upgradeData.psramPresent = infoData.psramPresent; // Whether device has PSRAM if (infoData.psramSize !== undefined) upgradeData.psramSize = infoData.psramSize; // Total PSRAM size in MB // Note: partitionSizes not currently available in /json/info endpoint