newWeb upd пинг всех плат, Файлы, новые графики

This commit is contained in:
Mit4el
2025-03-22 12:07:07 +03:00
parent 37d9c2224a
commit fc50947ff3
6 changed files with 5 additions and 5 deletions

View File

@@ -59,9 +59,9 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t* payload, size_t length)
//----------------------------------------------------------------------//
// Страница веб интерфейса dashboard
//----------------------------------------------------------------------//
if (headerStr == "p|") {
standWebSocket.sendTXT(num, "p|");
//Serial.printf("Ping client: %u\n", num);
if (headerStr == "/pi|") {
standWebSocket.sendTXT(num, "/po|");
Serial.printf("Ping client: %u\n", num);
ws_clients[num]=1;
}
// публикация всех виджетов