mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-15 15:35:14 +02:00
cleanup index.html
add mqtt tx counter
This commit is contained in:
parent
2a3c267906
commit
0f0bbd4b7f
4 changed files with 23 additions and 10 deletions
|
@ -275,7 +275,7 @@ void webApi::getIndex(JsonObject obj) {
|
|||
if(!mApp->getSettingsValid())
|
||||
info.add(F("your settings are invalid"));
|
||||
if(mApp->mqttIsConnected())
|
||||
info.add(F("MQTT is connected"));
|
||||
info.add(F("MQTT is connected, ") + String(mApp->getMqttTxCnt()) + F(" packets sent"));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue