Telnet server can be activated via MQTT
This commit is contained in:
parent
c3638989cd
commit
c73478d86e
1
main.lua
1
main.lua
@ -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
|
||||||
|
4
mqtt.lua
4
mqtt.lua
@ -79,7 +79,9 @@ function registerMqtt()
|
|||||||
stopWordclock()
|
stopWordclock()
|
||||||
collectgarbage()
|
collectgarbage()
|
||||||
mydofile("telnet")
|
mydofile("telnet")
|
||||||
startTelnetServer()
|
if (startTelnetServer ~= nil) then
|
||||||
|
startTelnetServer()
|
||||||
|
end
|
||||||
elseif (string.match(topic, "row1$")) then
|
elseif (string.match(topic, "row1$")) then
|
||||||
row1bgColor = parseBgColor(data, "row1")
|
row1bgColor = parseBgColor(data, "row1")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user