   SERVER.on("/ap", HTTP_GET, [](AsyncWebServerRequest *request) {
     SERVER.send(request, WIFI_AP_CFG.getDetails());
   });
+  SERVER.on("/esp", HTTP_GET, [](AsyncWebServerRequest *request) {
+    SERVER.send(request, SYS_CFG.getDetails());
+  });
   SERVER.on("/motor/a", HTTP_GET, [](AsyncWebServerRequest *request) {
     SERVER.send(request, _motorA.getDetails());
   });

  _wsl.onTextMessage([](AsyncWebSocket *ws, AsyncWebSocketClient *client, AwsEventType type, AwsFrameInfo *info, uint8_t *data, size_t len) {

    DynamicJsonBuffer buffer;
    JsonObject &json = buffer.parse((char*)data);
    if (json.success() && json["motorA"].success() && json["motorB"].success() && json["mode"].success()) {

      int speedA = json["motorA"];
      int speedB = json["motorB"];
      
      const char* mode = json["mode"];

      LOG.verbose(F("Set motor A = %d and motor B = %d, PWM range = %d"), speedA, speedB, _motorA.getPWMRange());


}

void loop() {
  if (SYS_CFG.nextLoopInterval()) {
    MDNS.update();
  }
