Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Comparing 2 ecobee values to make decision

Featured Replies

Posted

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')
 

 

You man need to assign the temperatures (or at least one of them) to a variable and then compare.

  • Author
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

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.