Mustang65 Posted October 8, 2020 Posted October 8, 2020 I now have the ecobee node server running on Polisy and need some assistance. I am trying to replace my ecobee attic fan program that triggers the attic fan based on a specific ecobee attic temperature. The problem here is that the roof (not insulated) is always hot and keeps the attic temperature constant,with the fan on or off. The only time that the fan makes a difference is after the Florida sun stops beating down on the roof. I am trying to write some code that will: (1) when the time is Sunset - 1 hour (2) and ecobee outside temperature is 5 degrees less than ecobee attic temperature (5 degrees as a buffer) I have the temperature triggering code up and running, but can not figure how to get the code for comparing the 2 ecobee temperatures. Most likely very simple but beyond me. Here are the 2 ecobee variables that I am working with. This is not the existing program. Ecobee - AtticFan - [ID 0041][Parent 0001][Not Enabled] If Time is Sunset - 30 minutes And 'Ecobee - Living Room / Ecobee - 3 - ATTIC' Temperature > 100.0°F And 'Ecobee - Living Room / Ecobee - 2 - OUTSIDE' Temperature > 90.5°F Then Set 'Fan - Atic' On Else - No Actions - (To add one, press 'Action')
gzahar Posted October 10, 2020 Posted October 10, 2020 You man need to assign the temperatures (or at least one of them) to a variable and then compare. 1
Mustang65 Posted October 11, 2020 Author Posted October 11, 2020 2 hours ago, gzahar said: You man need to assign the temperatures (or at least one of them) to a variable and then compare. Thanks gzahar, I just did that. I located another post that covers how to compare temperatures. I will give them a try. https://forum.universal-devices.com/topic/25441-ecobee-temperature-sensor-differential-as-variable/?tab=comments#comment-253829
Recommended Posts