• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ideas Wanted Decision Matrix
#11
Maybe this helps (the second formula):


Code:
earthscience.stackexchange.com/questions/13159/how-to-calculate-humidity-using-outside-temperature-and-outside-relative-humidit

PS: Yes, the URL does not contain the trailing "y".
PPS: The forum SW does not allow allow clickable links not even in code. So just imagine the leading https,colon,slash,slash
 
Reply
#12
Had no time to describe the formula and idea previously:

With the second formula in the link from my previous message, you can calculate the resulting internal (e.g. your basement) relative humidity, if external air would be vented into the basement. You need 3 input parameters:

  1. External relative humidity in percent
  2. External temperature in Kelvin
  3. Internal temperature in Kelvin
If the result is greater than your internal relative humidity (or greater 100% of course) then the venting should stop, otherwise you can switch on the fans :-)
I think, this formula could be written in Lua and then be used from within some pilight rule...

Hope this helps

 -Fritz
 
Reply
#13
(03-01-2019, 06:48 PM)curlymo Wrote: But why do you need a database for this? To store the matrix values?

Probably. If there is any other way to get 100% humidity values for a given temperature, I would apreciate it.
 
Reply
#14
(03-02-2019, 02:50 PM)Alex Wrote:
(03-01-2019, 06:48 PM)curlymo Wrote: But why do you need a database for this? To store the matrix values?

Probably. If there is any other way to get 100% humidity values for a given temperature, I would apreciate it.

You don't need a DB, neither do you need absolute humidity values.
Haven't You seen my replies?


Cheers
 -Fritz
 
Reply
#15
No... replied bevore I saw them.

But I have no idea, how to implement such a formula in pilight. Unsure

BR Alex
 
Reply
#16
That would indeed generate a huge rule. Why don't you create a custom pilight eventing function that converts it for you. Those are written in lua so that should be fairly easy.

https://github.com/pilight/pilight/tree/.../functions

and

https://manual.pilight.org/development/lua/index.html

and those others already built

https://wiki.pilight.org/doku.php#events
 
Reply
#17
(03-02-2019, 04:45 PM)Alex Wrote: No... replied bevore I saw them.

But I have no idea, how to implement such a formula in pilight. Unsure

BR Alex

Do you mean, that you don't know lua?
 
Reply
#18
(03-02-2019, 05:00 PM)felfert Wrote:
(03-02-2019, 04:45 PM)Alex Wrote: No... replied bevore I saw them.

But I have no idea, how to implement such a formula in pilight. Unsure

BR Alex

Do you mean, that you don't know lua?

Exactly... Angel
 
Reply
#19
Did you read the links i posted?
 
Reply
#20
(03-02-2019, 07:31 PM)curlymo Wrote: Did you read the links i posted?

A little bit off-topic regarding links:

The forum SW did not allow me to post a reply containing links in the body.
Can you do something about that, or how did you create links in your reply?

Thanks
 -Fritz
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)