@@ -117,7 +117,11 @@ function registerMqtt()
end
end)
m:on("offline", function(client)
print("MQTT Disconnected")
mqttConnected = false
)
m:connect(mqttServer, 1883, false, function(client)
print("MQTT is connected")
mqttConnected = true
The note is not visible to the blocked user.