Removed verbose live mode info from HTTP API

Add logo without background tags
This commit is contained in:
cschwinne 2020-08-19 09:10:47 +02:00
parent a5c57d7fb0
commit b1c9dbd0a5
3 changed files with 7 additions and 32 deletions

View File

@ -2,9 +2,13 @@
### Development versions after 0.10.0 release
#### Build 2008140
- Removed verbose live mode info from `<ds>` in HTTP API response
#### Build 2008100
- Fixed Auto White calculation dropdown (fixed #1088)
- Fixed Auto White mode setting (fixes #1088)
#### Build 2008070

BIN
images/wled_logo_clean.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -60,39 +60,10 @@ void XML_response(AsyncWebServerRequest *request, char* dest)
oappend("</ps><cy>");
oappendi(presetCyclingEnabled);
oappend("</cy><ds>");
oappend(serverDescription);
if (realtimeMode)
{
String mesg = "Live ";
if (realtimeMode == REALTIME_MODE_E131 || realtimeMode == REALTIME_MODE_ARTNET)
{
mesg += (realtimeMode == REALTIME_MODE_E131) ? "E1.31" : "Art-Net";
mesg += " mode ";
mesg += DMXMode;
mesg += F(" at DMX Address ");
mesg += DMXAddress;
mesg += " from ";
mesg += realtimeIP[0];
for (int i = 1; i < 4; i++)
{
mesg += ".";
mesg += realtimeIP[i];
}
} else if (realtimeMode == REALTIME_MODE_UDP || realtimeMode == REALTIME_MODE_HYPERION || realtimeMode == REALTIME_MODE_TPM2NET) {
mesg += "UDP from ";
mesg += realtimeIP[0];
for (int i = 1; i < 4; i++)
{
mesg += ".";
mesg += realtimeIP[i];
}
} else if (realtimeMode == REALTIME_MODE_ADALIGHT) {
mesg += F("USB Adalight");
} else { //generic
mesg += "data";
}
oappend((char*)mesg.c_str());
} else {
oappend(serverDescription);
oappend(" (live)");
}
oappend("</ds><ss>");
oappendi(strip.getMainSegmentId());