Telnet server can be activated via MQTT

This commit is contained in:
Ollo 2021-01-23 16:44:16 +01:00
parent c3638989cd
commit c73478d86e
2 changed files with 3 additions and 2 deletions

View File

@ -177,7 +177,6 @@ function normalOperation()
startTelnetServer()
else
displayTime()
print("NO Telent found")
end
setupCounter=setupCounter-1
else

View File

@ -79,7 +79,9 @@ function registerMqtt()
stopWordclock()
collectgarbage()
mydofile("telnet")
if (startTelnetServer ~= nil) then
startTelnetServer()
end
elseif (string.match(topic, "row1$")) then
row1bgColor = parseBgColor(data, "row1")
end