Skip to content

Conversation

Copy link

Copilot AI commented Feb 4, 2026

Usage reporting attempts to contact usage.wled.me during AP mode when no internet connectivity exists.

Changes

Added IP address check in checkVersionUpgrade() to skip version reporting when device is in AP mode:

function checkVersionUpgrade(info) {
	if (versionCheckDone) return;
	versionCheckDone = true;

	// Skip version check in AP mode (no internet connectivity)
	if (!info.ip || info.ip === '0.0.0.0') {
		console.log('Skipping version check in AP mode (no IP address)');
		return;
	}

	// Fetch version-info.json...

When Network.isConnected() is false, info.ip returns empty string (see json.cpp:1272). This check prevents the upgrade dialog from appearing when connectivity is unavailable.

Original prompt

This section details on the original issue you should resolve

<issue_title>Usage reporting trigger during ap mode</issue_title>
<issue_description>The upgrade usage reporting should be suppressed during ap mode as there will be no connectivity to the usage server</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 3 commits February 4, 2026 18:23
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix usage reporting during AP mode Suppress usage reporting in AP mode Feb 4, 2026
Copilot AI requested a review from netmindz February 4, 2026 18:29
@softhack007 softhack007 added this to the 14.7.3 milestone Feb 5, 2026
as recommended by the rabbit
@softhack007 softhack007 marked this pull request as ready for review February 6, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Usage reporting trigger during ap mode

3 participants