@Maco65 wrote:
There is a high level of ground water so in my house I cannot have “normal” cellar. So there is well isolated room on the ground level with two air connections. One take the air just from outside (called OUT), the second (called GWC) goes from 20 meter pipe buried in the ground (less then 1m deep). Air going through this pipe is getting cooled and thus making my cellar chilled. Each connecting has its own fan in the cellar and temperature sensor on the “input” side. There is also CEL temp sensor in the cellar.
I have a challenge to write an elegant automation (instead of several independent automations) based on the following assumptions:
As long as temperature in CEL is beloe 12C do nothing
With CEL temp > 12
a) if the OUT temperature is lower then CEL by 2 degrees turn ON OUT fan. In case the OUT temperature rises above this 2 degrees limit turn the fan OFF.
b) if the GWC temperature is lower then CEL by 2 degrees turn ON GWC fan. In case the GWC temperature rises above this 2 degrees limit turn the fan OFF.At any time if the temperature in CEL drops below 12C turn the fas OFF
In case both air ways temps are OK to be turned on, the preference is for OUT
At any give time only one fan should be ON
As my adventure with HA is just beginning I believe there is nice ans elegant way to write ideally one automation to cover my case. At this point I was thinking about several automations for each “simple” case but I am not sure if they will not interfere with each other.
Any help or suggestion will be appreciated.
Technically I have NodeMCU with 3 temp sensors and 2 relay board connected.
Posts: 2
Participants: 2