From 7f6c9689ea259329bac1bf494f10a754c25129a4 Mon Sep 17 00:00:00 2001 From: Ollo Date: Thu, 6 Jan 2022 16:50:19 +0100 Subject: [PATCH] Temperatur measurement needs these amount of resources --- mqtt.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mqtt.lua b/mqtt.lua index 5cc4106..f20eb10 100644 --- a/mqtt.lua +++ b/mqtt.lua @@ -236,7 +236,7 @@ function startMqttClient() mMqttClient:publish(mqttPrefix .. "/brightness", tostring(briPer), 0, 0) loldBrightness = briPer else - if ((t ~= nil) and (heapusage > 11900)) then + if ((t ~= nil) and (heapusage > 12000)) then local ds18b20=require("ds18b20_diet") ds18b20.setup(2) -- GPIO4 readTemp(ds18b20) -- read once, to setup chip