Full support for Athom WLED Music Controller
- athom_music_esp32_4MB_M bin - show flashsize in info tab and /getflash - support of their ir-remote (24-key music) Not supported yet - mac addres in AP name (need to experiment with WLED_AP_SSID_UNIQUE)
This commit is contained in:
@@ -240,6 +240,11 @@ void initServer()
|
||||
request->send(200, "text/plain", (String)ESP.getFreeHeap());
|
||||
});
|
||||
|
||||
//WLEDMM and Athom
|
||||
server.on("/getflash", HTTP_GET, [](AsyncWebServerRequest *request){
|
||||
request->send(200, "text/plain", (String)ESP.getFlashChipSize());
|
||||
});
|
||||
|
||||
server.on("/u", HTTP_GET, [](AsyncWebServerRequest *request){
|
||||
if (handleIfNoneMatchCacheHeader(request)) return;
|
||||
AsyncWebServerResponse *response = request->beginResponse_P(200, "text/html", PAGE_usermod, PAGE_usermod_length);
|
||||
|
||||
Reference in New Issue
Block a user