Jump to content
C4 Forums | Control4

Programming to get email when thermostat varies more than 5 degrees


Recommended Posts


I'm on my way out and haven't done tons of composer programming so there may be a better way, but just a quick idea...

Create variables ‘minTemp’ and ‘maxTemp’

When temp set point changed:

set minTemp to value of set point

set maxTemp to value of set point

subtract 5 from minTemp

add 5 to maxTemp

When temperature changes:

if temperature < minTemp

send email

if temperature > maxTemp

send email

Link to comment
Share on other sites

I want to get an email when the current temperature on the thermostat varies more than 5 degrees from the programmed temperature. What's the easiest way to accomplish this?

See my programming below.

Your green arrows are ALWAYS gong to execute since they are not indented under your question marks.

Hold down your mouse button and drag the green arrow up and drop it on the question mark to make it conditional on the question mark part of your query.

Bill

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.