IFTTT Triggers

The push button will be the virtual switch and whatever switch (ie bedroom light) you want to toggle off and on will be your real switch.

ahhh, got it. it finally hit me. this works great. especially with the DO button. thanks!

It’s actually @bravenel code that I modified to work with a push button. So I could turn lights on and off with a misfit flash.

Thanks Bruce.

1 Like

Hi Robert, I just picked up a Misfit Flash today on a whim (it was $6, so I couldn’t just leave it there :smile: ).

Is the code posted earlier in this thread all I need to use the Flash as a button to trigger IFTTT?


Through the app for the Flash it connects directly to IFTTT and you use IFTTT to turn on a switch in Smartthings.

With IFTTT you can only turn on or turn off a switch, the code above allows you to turn on and off a switch.

Just out of curiosity, what IFTTT triggers and actions would you guys like to see added to the SmartThings channel?

1 Like

Modes, routines and motion stops, please for triggers. Dim level for actions.

Ability to change mode (mode as action.)

trigger from mode change (mode as trigger)

Ability to trigger a routine (routine as action)

Armed Status for SHM as both trigger and action (all of them)

Presence as a trigger

Dim level as an action for devices that support it

1 Like

Ability to detect a failed routine and to remediate it.

SHM intrusion as a trigger.

Clear intrusion as an action

1 Like

Lars, I’m new to ST and the items echoed above missing as triggers/actions were relatively quickly seen by me as a product shortcoming.

I’d love to see these, especially mode changes added.

I’d like to build this out but need to keep complexity at a level where other non coding family members are comfortable creating automation. IFTTT provides that.


Triggers: Mode Change, Routine Runs, Dimness changes, Color Temperature changes, Motion Stopped. Smoke/CO Detected, Button Controller pushed, Toggle Switch, Power Consumption, Accelerometer position

Actions: Change Mode, Run Routine, Dim Level, Color, Color Temperature, Blink/Breath/Other effects, Simulate Button Controller, send push notification to the app

Bonus: Ability to create a momentary tile or virtual switch from within IFTTT. Dimness ,Effects, and Color changes not affect the current power state of a bulb; LiFX’s channel has this option.

What I’d really would like it if someone at SmartThings would just go through all the other HA IFTTT channels and make sure any supportable feature is added. WeMo, Hue, LiFX, etc. all have slight differences and ST should be able to do emulate most of them even if the device itself can’t.

I would like to trigger a lifx scene with an Ifttt recipe when a virtual momentary button that turns on my appletv harmony activity is pushed.

I can’t. I tried. Maybe if I make it a virtual simulated switch instead of button?

I’d really like to see Hourly as a trigger. For example, Smartthings won’t write to a Google Drive file, whereas I want to log the temperatures in different parts of the house hourly. So I’d like to write a smartapp that polls the temperature every hour and then triggers IFTTT to log that temperature into Google Drive (which IFTTT does really well). I can write the smartapp (it isn’t done yet) but I can’t get IFTTT to accept a trigger from My Smartapp because it only accepts known triggers

1 Like

[quote=“Hugo_Minney, post:32, topic:10568”]
For example, Smartthings won’t write to a Google Drive file
[/quote]You might want to take a look at this project:

Unfortunately, the author is not developing for ST any longer and pulled the app (I have it running very well, but it’s licensed under Apache 2.0 so I can’t re-distribute it). But it directly accesses a Google Sheets file and logs ST events.


  1. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.


[quote=“schapper05, post:34, topic:10568”]
typo?[/quote]I could claim “typo” but that would just be an excuse for “lazy and ignorant”. I plead guilty to the latter.

If anyone wants it, I’d be happy to post it.

1 Like

I for one would definitely like it! Please post it, I’d like to keep a log. (I’ve used the little bit of logging Smartthings gives already several times, a longer log would be great).

If you look at the original thread, Post #125, @jlv has put a link to the groovy code on github. Log events to Google Sheets [see post 154 for current Github repo and v1.1]

1 Like

I am new to ST community so excuse me if this topic has already been discussed. I would like to see a “lost/re-gained power / Internet connectivity” trigger so that I could create a reset routine based on the current state of devices.