From af6806270b3ce6fe581822a36f3d892400a368e1 Mon Sep 17 00:00:00 2001 From: technyon Date: Sun, 5 Feb 2023 13:17:35 +0100 Subject: [PATCH] add mqtt connection state to sysinfo --- WebCfgServer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/WebCfgServer.cpp b/WebCfgServer.cpp index 99840ab..67b61db 100644 --- a/WebCfgServer.cpp +++ b/WebCfgServer.cpp @@ -719,6 +719,9 @@ void WebCfgServer::buildInfoHtml(String &response) response.concat(debugPreferences.preferencesToString(_preferences)); + response.concat("MQTT connected: "); + response.concat(_network->mqttConnectionState() > 0 ? "Yes\n" : "No\n"); + if(_nuki != nullptr) { response.concat("Lock paired: ");