Hi,
I have three temp sensors with MQTT which are located outside of my house. One in East side, One in South and One in West. Currently using the total avg of these three to control the Air pump /HVAC. When it goes to under -5 °C it will shut down completely. Other wise it uses scaled response.
During summer it worked like a charm.
Now during winter, as sun is starting to heat with its rays (especially the West side of the house) the three measurements can actually vary quite a lot (-6 on East and West Side, but +7 on sun shine side) hence the total AVG goes quite much "wrong". I've been trying to find how could I differentiate the 2 values which ever of the three, are closest to each other and use only them and discard the 3rd one and the use AVG only from those two ?
Any suggestions ?
For clarity lets just call them TEMP1, TEMP2 and TEMP3. So sometimes TEMP1 and TEMP2 are the closest ones, sometimes TEMP1 and TEMP3, etc, really depending on the sun position.
I kind of fixed it by using timers (mimic the sun position) ecluding always one, but looking for more elegant way (and to educate me and my fellow node red's
Thank you!