Status of mqtt connection

This commit is contained in:
Ollo
2021-03-21 18:00:07 +01:00
parent 3832e89afa
commit c513f7c899
2 changed files with 11 additions and 1 deletions

View File

@@ -145,6 +145,10 @@ function registerMqtt()
end)
end
function connectedMqtt()
return mqttConnected
end
function startMqttClient()
if (mqttServer ~= nil and mqttPrefix ~= nil) then
registerMqtt()