diff --git a/tools/esp8266/app.cpp b/tools/esp8266/app.cpp index 9c7acb380..79c4b045f 100644 --- a/tools/esp8266/app.cpp +++ b/tools/esp8266/app.cpp @@ -266,6 +266,8 @@ void app::loop(void) { } snprintf(val, 10, "%d", ESP.getFreeHeap()); mMqtt.sendMsg("free_heap", val); + snprintf(val, 10, "%d", millis()/1000); + mMqtt.sendMsg("uptime", val); } if(mSerialValues) {