diff --git a/src/WsServer.cpp b/src/WsServer.cpp index 84703cfe..bee9cea3 100644 --- a/src/WsServer.cpp +++ b/src/WsServer.cpp @@ -64,7 +64,9 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t* payload, size_t length) String params = "{}"; for (std::list::iterator it = IoTItems.begin(); it != IoTItems.end(); ++it) { if ((*it)->getSubtype() != "Loging") { - if ((*it)->iAmLocal) jsonWriteStr(params, (*it)->getID(), (*it)->getValue()); + if ((*it)->getSubtype() != "LogingDaily") { + if ((*it)->iAmLocal) jsonWriteStr(params, (*it)->getID(), (*it)->getValue()); + } } } sendStringToWs("params", params, num);