add time timer

This commit is contained in:
Dmitry Borisenko
2020-02-13 20:20:34 +03:00
parent 3a5a9e8312
commit f91960e325
12 changed files with 134 additions and 105 deletions

View File

@@ -251,6 +251,9 @@ void sendAllData() { //берет строку json и ключи превра
String tmp = selectToMarker (current_config, ",");
String topic = selectToMarker (tmp, ":");
if (topic.indexOf("time") < 0) {
state.replace(".", ":");
}
topic.replace("\"", "");
String state = selectToMarkerLast (tmp, ":");
state.replace("\"", "");