How this automation works
Start automating your home devices effortlessly. When you press the Button widget, it will turn off your connected D-Link plug and set an Apilio variable to false. Perfect for managing smart devices and logic states in one tap from your phone. Note: Install the IFTTT app and add the Button widget to your home screen.
Trigger ingredients
Action fields
Action fields
Services used in this Applet
You might also like...
-
Start music playback with a button tap
-
Hey Alexa, call my device
-
Log work hours in Google Sheets with a Button Widget
Create your own workflow
Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.
35 triggers, queries, and actions
Button press
Camera is turned off
Camera is turned on
Contact close is detected
Contact open is detected
Motion is detected
Person is detected
Plug is turned off
Plug is turned on
Receive an actionable notification from Apilio
Receive an event from Apilio
Sound is detected
Change scene
Clear a string variable in Apilio
Do a mathematical operation with a numeric variable
Initiate a logicblock evaluation in Apilio
Toggle a boolean variable on Apilio
Turn off camera
Turn off plug
Turn on camera
Turn on plug
Update a numeric variable in Apilio
Update a string variable in Apilio
Update a variable in Apilio to false
Button press
Camera is turned off
Camera is turned on
Change scene
Clear a string variable in Apilio
Contact close is detected
Contact open is detected
Do a mathematical operation with a numeric variable
Build an automation in seconds!
You can add delays, queries, and more actions in the next step!
More on these services
About Button widget
Make buttons and control other services with a single tap. This service creates widgets that you can use from the home screen of your Android or iOS device.
Make buttons and control other services with a single tap. This service creates widgets that you can use from the home screen of your Android or iOS device.
About Apilio
Build your own smart home automations with any device or service on the IFTTT platform. With Apilio, you can combine multiple IFTTT triggers and define custom conditions. And it doesn't stop there: You can of course also define a sequence of multiple actions - even with delays!
Build your own smart home automations with any device or service on the IFTTT platform. With Apilio, you can combine multiple IFTTT triggers and define custom conditions. And it doesn't stop there: You can of course also define a sequence of multiple actions - even with delays!
About mydlink
mydlink lets you control all your smart home devices and interactions in one place. From turning your appliances on and off remotely, to keeping an eye on your home, you can use Applets to create even more amazing device interactions for supported D-Link Wi-Fi Cameras, Wi-Fi Smart Plugs, and more. mydlink is Your Home, Only Smarter.
**Please note, this service will be discontinued on November 1st, 2026.
mydlink lets you control all your smart home devices and interactions in one place. From turning your appliances on and off remotely, to keeping an eye on your home, you can use Applets to create even more amazing device interactions for supported D-Link Wi-Fi Cameras, Wi-Fi Smart Plugs, and more. mydlink is Your Home, Only Smarter.
**Please note, this service will be discontinued on November 1st, 2026.
