Increase mqtt cycle time
This commit is contained in:
parent
042bef0bf7
commit
2322276745
2
mqtt.lua
2
mqtt.lua
@ -226,7 +226,7 @@ function startMqttClient()
|
||||
local lMqttTimer = tmr.create()
|
||||
local tempCounter=0
|
||||
-- Check every 12 seconds
|
||||
lMqttTimer:register(12321, tmr.ALARM_AUTO, function (kTemp)
|
||||
lMqttTimer:register(6321, tmr.ALARM_AUTO, function (kTemp)
|
||||
if (mMqttConnected) then
|
||||
-- Cleanup the initialization stuff
|
||||
lSetupTimer=nil
|
||||
|
Loading…
Reference in New Issue
Block a user