fix opener rssi publish interval, add further check to make sure commands aren't executed after reconnect

This commit is contained in:
technyon
2023-01-23 21:44:03 +01:00
parent 22d365d1db
commit 899cfc026f
8 changed files with 27 additions and 16 deletions

View File

@@ -460,7 +460,7 @@ void WebCfgServer::buildHtml(String& response)
response.concat("<table>");
printParameter(response, "Hostname", _hostname.c_str());
printParameter(response, "MQTT Connected", _network->isMqttConnected() ? "Yes" : "No");
printParameter(response, "MQTT Connected", _network->mqttConnectionState() > 0 ? "Yes" : "No");
if(_nuki != nullptr)
{
char lockstateArr[20];