Back
Android Device Disconnects from a specific WiFi network. Notifications Send a rich notification from the IFTTT app. Yeelight Toggle lights on/off. Sonos Pause.

Turn off Yeelight lights, pause Sonos, and send notification when Android disconnects from WiFi

Connect

How this automation works

Automate your smart home when your phone leaves a specific WiFi network. This Applet runs whenever your Android device disconnects from a WiFi network you choose, turning off Yeelight lights, pausing Sonos playback, and sending a notification. Perfect for leaving home scenarios or reducing energy use when you're on the go. Note: Install the IFTTT app on the device(s) where you want to receive notifications.

If
Android Device icon
Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device disconnects from a WiFi network you specify.
SSID OccurredAt DeviceName
Then
Yeelight icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will turn on, turn off or toggle your lights.
device_id on_off_option
And
Sonos icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will pause playback.
room include_grouped_rooms
And
Notifications icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will send a rich notification to your devices from the IFTTT app. Rich notifications may include a title, image, and link that opens in a browser or installed app.
title message link_url image_url high_priority

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.

46 triggers, queries, and actions

Connects or disconnects from a specific Bluetooth device

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time your Android device connects to or disconnects from a Bluetooth device you specify.

Connects or disconnects from a specific WiFi network

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device connects or disconnects from a WiFi network you specify.

Connects or disconnects from any Bluetooth device

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time your Android device connects to or disconnects from any Bluetooth device.

Connects or disconnects from any WiFi network

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device connects or disconnects from any WiFi network.

Connects to a specific Bluetooth device

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time your Android device connects to a Bluetooth device you specify.

Connects to a specific WiFi network

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device connects to a WiFi network you specify.

Connects to any Bluetooth device

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device connects to any Bluetooth device.

Connects to any WiFi network

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device connects to any WiFi network.

Disconnects from a specific Bluetooth device

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time your Android device disconnects from a Bluetooth you specify.

Disconnects from a specific WiFi network

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device disconnects from a WiFi network you specify.

Disconnects from any Bluetooth device

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device disconnects from any Bluetooth device.

Disconnects from any WiFi network

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device disconnects from any WiFi network.

Current brightness value

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the brightness of the device you choose

Current color temperature value

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the color temperature value of the device you choose

Current color value

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the color value of the device you choose

Current power state

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the on/off state of the device you choose

Change brightness

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will change your light's brightness to the specified level.

Change color

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will change your lights to a specified color.

Change color temperature

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will change your lights to specified color temperature.

Launch Google Maps Navigation

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will launch Google Maps Navigation on your Android device and begin turn-by-turn guidance to the destination you specify.

Mute

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
Mutes a Sonos Player or Group

Mute ringtone

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will mute your Android device's ringtone. If your device is already muted, it will remain muted.

Pause

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will pause playback.

Play a specific song

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will play a song you specify on your Android device. The music played depends on your device and setup. Depending on your version of Android, playback may not start automatically.

Play Favorite

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will play a Sonos Favorite.

Play music

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will play music on your Android device. The music played depends on your device and setup. Depending on your version of Android, playback may not start automatically.

Play Stream

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will stream audio, such as a radio station, from a URL.

Resume

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will resume playback.

Change brightness

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will change your light's brightness to the specified level.

Change color

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will change your lights to a specified color.

Change color temperature

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will change your lights to specified color temperature.

Connects or disconnects from a specific Bluetooth device

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time your Android device connects to or disconnects from a Bluetooth device you specify.

Connects or disconnects from a specific WiFi network

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device connects or disconnects from a WiFi network you specify.

Connects or disconnects from any Bluetooth device

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time your Android device connects to or disconnects from any Bluetooth device.

Connects or disconnects from any WiFi network

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device connects or disconnects from any WiFi network.

Connects to a specific Bluetooth device

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time your Android device connects to a Bluetooth device you specify.

Connects to a specific WiFi network

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device connects to a WiFi network you specify.

Connects to any Bluetooth device

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device connects to any Bluetooth device.

Connects to any WiFi network

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device connects to any WiFi network.

Current brightness value

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the brightness of the device you choose

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on these services

About Notifications

Notifications work seamlessly on any Android or iOS device with the IFTTT app installed. Get the information you want, when you want it.

Explore Notifications

More integrations with Notifications

About Yeelight

Yeelight service will let you connect and automate your bulbs and lamps. Just enjoy the fun of lights.

Explore Yeelight

More integrations with Yeelight

About Android Device

Android powers devices that are beautiful and available in many shapes and sizes. Unlock new functionality for each of your devices with the Android Device service. This service requires the IFTTT app for Android.

Explore Android Device

More integrations with Android Device

About Sonos

Sonos is the wireless Home Sound System that fills as many rooms as you want with great-sounding music, movies and TV.

This service is in beta. As new features are available, they’ll be delivered through software updates and made available here.

Explore Sonos

More integrations with Sonos

IFTTT helps all your apps and devices work better together

Get started for free