Logic Machine Forum
Dew Point - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Dew Point (/showthread.php?tid=1990)



Dew Point - Allesreinwasgeht - 26.03.2019

Hi There,

this will be my first post.

I cant find a solution for a dew point calculation by using homelync.

my system is collecting inside and outside humidity plus inside and outside temp. all in 0-255 coming from an analog input. so dont bother about units.

1/15/1 Hum.i (0-255) 
1/15/2 Temp.i (0-255)
1/15/11 Hum.o (0-255)
1/15/12 Temp.o (0-255)

the aim is to start vents in case of a good result (max drying) only. the trigger is the dewpoint of air coming from outside.

1/3/1 Vent.start (1Bit)

maybe there is a workaround.

best

(as you can see, my native language is german Wink


RE: Dew Point - admin - 26.03.2019

Dew point calculation:
Code:
hum = 60 -- 0..100% range
temp = 10 -- temperature in deg C
dew = ((hum / 100) ^ (1 / 8)) * (112 + (0.9 * temp)) + 0.1 * temp - 112
log(dew)



RE: Dew Point - Allesreinwasgeht - 26.03.2019

(26.03.2019, 10:33)admin Wrote: Dew point calculation:
Code:
hum = 60 -- 0..100% range
temp = 10 -- temperature in deg C
dew = ((hum / 100) ^ (1 / 8)) * (112 + (0.9 * temp)) + 0.1 * temp - 112
log(dew)

Thanx.

whats the log(dew) for?

best


RE: Dew Point - admin - 26.03.2019

This way you can see variable contents in Logs tab: http://openrb.com/docs/lua.htm#log


RE: Dew Point - Allesreinwasgeht - 26.03.2019

(26.03.2019, 14:35)admin Wrote: This way you can see variable contents in Logs tab: http://openrb.com/docs/lua.htm#log

THX