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() startTelnetServer()
else else
displayTime() displayTime()
print("NO Telent found")
end end
setupCounter=setupCounter-1 setupCounter=setupCounter-1
else else

View File

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