Add deviceId

This commit is contained in:
Will Tatam
2025-11-21 08:39:50 +00:00
parent 315f147d87
commit d047ee0984
3 changed files with 101 additions and 2 deletions

View File

@@ -913,6 +913,7 @@ 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();
JsonObject leds = root.createNestedObject("leds");
leds[F("count")] = strip.getLengthTotal();