Increase mqtt cycle time

This commit is contained in:
Ollo 2022-01-20 21:58:10 +01:00
parent 042bef0bf7
commit 2322276745

View File

@ -226,7 +226,7 @@ function startMqttClient()
local lMqttTimer = tmr.create() local lMqttTimer = tmr.create()
local tempCounter=0 local tempCounter=0
-- Check every 12 seconds -- Check every 12 seconds
lMqttTimer:register(12321, tmr.ALARM_AUTO, function (kTemp) lMqttTimer:register(6321, tmr.ALARM_AUTO, function (kTemp)
if (mMqttConnected) then if (mMqttConnected) then
-- Cleanup the initialization stuff -- Cleanup the initialization stuff
lSetupTimer=nil lSetupTimer=nil