Merge pull request #284 from netmindz/deviceId-MM

Add deviceId
This commit is contained in:
Will Tatam
2025-11-22 12:31:16 +00:00
committed by GitHub
3 changed files with 101 additions and 2 deletions

View File

@@ -938,6 +938,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();