If a button is pressed then play music from your phone.
Start today
Other popular Adafruit workflows and automations
- get temperature
- If Data on Luminosity feed is greater than or equal to 100, then Send yourself an email
- Turn on lights from a SMS message.
- Sunset Lighting
- Dump Water Gauge
- Animate NeoPixels with red and green colors when it's Christmas.
- If a feed value hits the threshold, send an IF notification.
- New Tasks Adafruit IO
Useful Adafruit and WeMo Light Switch integrations
Triggers (If this)
- Switched onThis Trigger fires every time your WeMo Light Switch is turned on.
- Monitor a feed on Adafruit IOThis Trigger fires anytime it validates the data that you send to your feed. Example: If Feed Temperature > 80, fire Trigger.
- Switched offThis Trigger fires every time your WeMo Light Switch is turned off.
- Any new dataThis Trigger fires any time there is new data in your feed.
- Long pressThis Trigger fires every time your WeMo Light Switch is turned on or off with a long press over two seconds.
Queries (With)
- History of long pressesThis query returns a list instances of when your WeMo Light Switch was turned on or off with a long press over two seconds.
- History of dataThis query returns a list of any time there is new data in your feed.
- History of WeMo Light Switch is turned offThis query returns a list of when your WeMo Light Switch was turned off.
- History of a feed on Adafruit IOThis query returns a list of events when you sent data to your feed. Example: If Feed Temperature > 80
- History of switched onThis query returns a list of when your WeMo Light Switch was turned on.
Actions (Then that)
- Turn onThis Action will turn a WeMo Light Switch on. If the WeMo Switch is already on, it will remain on.
- Send data to Adafruit IOThis Action will send data to a feed in your Adafruit IO account.
- Turn offThis Action will turn a WeMo Light Switch off. If the WeMo Switch is already off, it will remain off.
- Turn on then offThis Action will turn a WeMo Light Switch on then immediately back off.
- Turn off then onThis Action will turn a WeMo Light Switch off then immediately back on.
- Toggle on/offThis Action will toggle a WeMo Light Switch on or off.
Adafruit and WeMo Light Switch resources
IFTTT helps all your apps and devices work better together