From 424416d51a92e4c80dd11191e81957cecf896787 Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Sun, 23 Nov 2025 02:28:47 +0100 Subject: [PATCH] hotfix: Disable deviceId retrieval to avoid crashes Temporarily disable deviceID retrieval to prevent crashes on some ESP32 boards. This prevents the DeviceID from being added to /json/info, until we find a solution that does not crash my esp32. --- wled00/json.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wled00/json.cpp b/wled00/json.cpp index 8b40f9e9..fae351f0 100644 --- a/wled00/json.cpp +++ b/wled00/json.cpp @@ -938,7 +938,8 @@ void serializeInfo(JsonObject root) //root[F("cn")] = F(WLED_CODENAME); //WLEDMM removed root[F("release")] = FPSTR(releaseString); root[F("rel")] = FPSTR(releaseString); //WLEDMM to add bin name - root[F("deviceId")] = getDeviceId(); + + // root[F("deviceId")] = getDeviceId(); // temporarily disabled, as getDeviceId() causes a crash on some esp32 boards. JsonObject leds = root.createNestedObject("leds"); leds[F("count")] = strip.getLengthTotal();