Inside temp lower then outside temp set lights to green

Hi, I have a very similar question to the above user. I want to compare two temperatures, and then if one temperature is higher than another, I want to turn on a smart outlet (which will power a fan). Then, when the temperature evens out, I want to turn the outlet off again.

I’m starting completely from scratch, so assuming that the previous post solves some of the problem, I want to make sure the rest is possible before investing money in hardware. Can anyone confirm that the following is correct and will work?

  • I need to buy two temperature sensors (in my case, one for indoors and one for outdoors) that can supply the current temperature to IFTTT
  • I must also buy a smart outlet that can be turned on/off by IFTTT
    Then using some combination of IFTTT and Apilio, I can use the following logic:
  • If the outdoor temp is lower than the indoor temp (i.e., in the late afternoon when it starts to cool down), turn the outlet (and the fan) on.
  • Then, once the outdoor temp starts to rise again (maybe early in the morning), turn off the outlet.

Will this work, as far as everyone understands?

1 Like