This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Script humidity and heating
#2
Are you sure you don't need a setpoint for room temperature?

For ventilation you can create a setpoint object for each speed. Use a scheduled script that runs every minute.
Code:
humidity = grp.getvalue('4/1/1')

setpoint_min = grp.getvalue('32/1/1')
setpoint_med = grp.getvalue('32/1/2')
setpoint_max = grp.getvalue('32/1/3')

if humidity >= setpoint_max then
  out = 100
elseif humidity >= setpoint_med then
  out = 66
elseif humidity >= setpoint_min then
  out = 33
else
  out = 0
end

grp.checkwrite('5/1/1', out)
Reply


Messages In This Thread
Script humidity and heating - by Danny - 23.11.2025, 10:38
RE: Script humidity and heating - by admin - 24.11.2025, 09:57
RE: Script humidity and heating - by Danny - 24.11.2025, 13:47
RE: Script humidity and heating - by admin - 24.11.2025, 13:58

Forum Jump: