IFTTT -> smartthing virtual switch/contact -> turn down thermostat

Hi, I have IFTTT parse my email to monitor my alarm ARMING. When that happens, it sets a virtual switch/contact to “ON” or “closed”. Now I want Smartthings to turn down thermostat when that happens.
The reverse too when the virtual switch is “OFF” to restore thermostat.
IFTTT is working and turning ON/OFF the virtual switch

Any ideas?

if your Tstat is already integrated to ST, then it can be adjusted by HelloHome actions (now I assume they are called Routines).

Routines can be started by your virtual switch via “Alexa Helper” smartapp. Your virtual switch should be a “Simulated Switch” created in the IDE of ST.

Also NB that e-mail is strictly unreliable so don’t be surprised when adjustments fail.

Thanks, You suggestion led me to finding the “Switch Activates Home Phrase” smartapp. That might also work

I got it to work but the switch turns itself OFF after being turned on by IFTTT or physically from the APP.

Date Source Type Name Value User Displayed Text
2015-09-30 5:01:13.014 PM PDT
10 minutes ago DEVICE switch off DSC ARMED switch is off
2015-09-30 5:01:12.945 PM PDT
10 minutes ago APP_COMMAND off Turn Down Thermostats. No One Home sent off command to DSC ARMED
2015-09-30 5:01:12.700 PM PDT
10 minutes ago DEVICE /physical switch on DSC ARMED switch is on
2015-09-30 4:40:52.005 PM PDT
30 minutes ago DEVICE switch off DSC ARMED switch is off
2015-09-30 4:40:51.953 PM PDT
30 minutes ago APP_COMMAND off Turn Down Thermostats. No One Home sent off command to DSC ARMED
2015-09-30 4:40:51.754 PM PDT
30 minutes ago DEVICE switch on DSC ARMED switch is on
2015-09-30 4:40:51.700 PM PDT
30 minutes ago APP_COMMAND on IFTTT sent on command to DSC ARMED

It works now. There’s another smartapp conflicting.