 void SetupWebServer()
 {
   g_webServer.on("/", webHandleRoot);
+  g_webServer.on("/request-data", webHandleRequestData);
   g_webServer.on("/diag", webHandleDiag);
   g_webServer.onNotFound(webHandleNotFound);
   g_webServer.begin();


enum
{
  GreenLed = 12,    // Wemos D1R2: D12/MISO
  YellowLed = 13,   // Wemos D1R2: D11/MOSI
  RedLed = 14       // Wemos D1R2: D13/SCK
};

enum
{
  WIFI_BLINK_PERIOD = 100,
  COMMAND_BLINK_PERIOD = 50,  // during command processing
};

bool GetLed(int no)


  resp.concat("<p>EBus sync: ");
  resp.concat(g_syncOk ? "<span style=\"color:green;\">OK</span>" : "<span style=\"color:red;\">FAIL</span>");

  resp.concat("<form action=\"/request-data\" method=\"POST\" enctype=\"application/x-www-form-urlencoded\">");
  resp.concat("<button type=\"submit\">Request data</button>");
  resp.concat("</form>");

  resp.concat("<hr>Measurement history:<br><table border=\"0\"><tr><th>Time</th><th>State</th><th>Temperature,C</th><th>Pressure,Bar</th><th>Retries</th></tr>");
  for (uint32 i = 0, cnt = g_parmHistorySize > 20 ? 20 : g_parmHistorySize; i != cnt; ++i)
