Jump to content

Use Ecobee Temp in Programs?


superioreo

Recommended Posts

Posted

I am trying to set my Zwave switch to go on or off if a temperature deviates more than a few degrees from the main thermostat temp. Is there a way to get the values from the thermostats into variables so I can do math based on them? I'd love to have a program that triggers my switch ON if the delta between the "office temp" sensor and the "main temp" sensor is more than 3 degrees +/-.

Thanks in advance!

Posted

For ecobee you need a NodeSever. I use NodeLink for my ecobee3 and ecobee4.PolyGlot may be an option also. NodeServers require a separate compute running 24 x 7 (RPi?) to scrape the ecobee website and translate the signals into ISYish language.

 

The program should not require any math and look something like this.

If
       ecobeeStat.temp > 24.0c
    OR
      ecobeeStat.temp < 21.0C
Then
     send a notification etc....
Else
   -------

This will end up being a PITA as you vary your house temperature....ie: away, home, sleep etc.... so you will have to make a large allowance or get notified on a nuisance basis. :(

 

Sorry, program is  too simple after reading your request again.

I would use at least two  programs. One will just be tracking monitors and calculating the difference like this. Must end up in a State variable to trigger another program.
If
      stat1.temp1 < 99.0c
   OR
     stat2.temp < 99.0c
Then
    $sStateVar1 = stat1.temp
    $sStateVar2 = stat2.temp
    $IntegerVar.diff = $sStateVar1
    $IntegerVar.diff  -= $sStateVar2
    $sStateVar.diff = $IntegerVar.diff
Else
   --------

This program will detect the differences and do your counter measures..
If
    $sStateVar.diff   >=  2.0
    $sStateVar.diff  <=  -2.0
Then
    do whatever you want because the difference is too large
Else
    -------


 

 

 

Posted

Thanks for the quick reply. I am using Nodelink and can see temperatures. I am trying not to set the switch based on an absolute temp, but instead based on the delta between two sensors. Can't figure out how to get the ISY to calculate the difference of the two temperatures of the sensors I can see in the Nodelink provided info. Is there a way to store the temp to a variable and manipulate that? Also, I have Nodelink running, and can use programs and variables, but maybe I'm missing something as to how to make the temps across sensors be more functional? Thanks again in advance.

Posted
4 minutes ago, superioreo said:

Thanks for the quick reply. I am using Nodelink and can see temperatures. I am trying not to set the switch based on an absolute temp, but instead based on the delta between two sensors. Can't figure out how to get the ISY to calculate the difference of the two temperatures of the sensors I can see in the Nodelink provided info. Is there a way to store the temp to a variable and manipulate that? Also, I have Nodelink running, and can use programs and variables, but maybe I'm missing something as to how to make the temps across sensors be more functional? Thanks again in advance.

Sorry. Made some late corrections above.

Posted
3 hours ago, superioreo said:

That was perfect. Thanks!!! It worked!

"I love it when a plan comes together!"

 

Actually I have noticed the program has some logical bugs in it.   I made some further changes to it as noted in red font. The State variable will trigger the second program during the calculations and may operate your devices erroneously. It is not good to use a trigger variable to do calculations with.

Please implement the new changes.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...