diff --git a/burnrate_driver.lua b/burnrate_driver.lua index 82f586e..6f375d8 100644 --- a/burnrate_driver.lua +++ b/burnrate_driver.lua @@ -1,6 +1,6 @@ local max = 15 local init = 3 -local rateStep = 0.10 +local rateStep = 0.01 local min = 1 local function getValue() diff --git a/temperature_driver.lua b/temperature_driver.lua index e6a1c0e..a271559 100644 --- a/temperature_driver.lua +++ b/temperature_driver.lua @@ -10,8 +10,8 @@ end local function checkTemperature() local temperature = getValue() - local upperThreshold = max - 20 - local lowerThreshold = min + 20 + local upperThreshold = max - 5 + local lowerThreshold = min + 5 if temperature >= upperThreshold then print("Warning: Temperature approaching upper limit! Taking action.")