Back
mydlink Person is detected. Spotify Start playback.

Start Spotify playback when mydlink camera detects a person

Connect

How this automation works

Automatically start your favorite Spotify music when motion is detected by your mydlink camera. This Applet runs whenever your D-Link device recognizes a person and triggers Spotify to start playback on your active device. Perfect for home presence simulation or to set the mood when someone enters a room.

If
mydlink icon
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 D-Link device detects a person.
CreatedAt DeviceName
Then
Spotify 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.
Start a new context or resume current playback on the user’s active device. Only available for Spotify premium accounts.

Services used in this Applet

Create your own Spotify and mydlink 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.

61 triggers, queries, and actions

Camera is turned off

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 tigger fires every time your D-Link camera is turned off.

Camera is turned on

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 tigger fires every time your D-Link camera is turned on.

Contact close is detected

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 D-Link device detects a contact close event.

Contact open is detected

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 D-Link device detects a contact open event.

Motion is detected

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 D-Link device detects a motion event.

New episode from a followed show

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 a followed show releases a new episode on Spotify.

New episode from search

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 a new episode is released that matches your search

New followed show

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 you follow a new show on Spotify.

New recently played track

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 you have played a new track on Spotify.

New saved album

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 you save a new album to Your Music on Spotify.

New saved episode

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 you save a new episode to your library on Spotify.

New saved track

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 you save a new track to Your Music on Spotify.

Currently playing track

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 track that is currently playing on Spotify.

Get album details

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 details for a given album.

Get artist details

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 information about a given artist.

Get artists for album

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 will return artists for a given album.

Get artists for track

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 a track's artists.

Get audio features from a track

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 audio feature from a track

Get featured playlists

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 a list of featured playlists.

Get show details

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 details for a given show.

Get show episodes

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 available episodes for a given show.

Get track details

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 details about a track.

Get track recommendations

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 track recommendations based on your top tracks.

Get tracks for album

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 tracks on an album.

Add track to a playlist

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 search for a track and add the first result to a playlist you specify.

Add track to a playlist by TrackID

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 add a track to a playlist given a TrackID

Add track to playback queue

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 add a track you specify to the end of current playback queue on Spotify. Only available for Spotify premium accounts.

Change scene

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 scene.

Follow a playlist

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 follow a playlist you specify. It accepts Spotify Playlist IDs.

Pause playback

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 current playback on Spotify. Only available for Spotify premium accounts.

Save a track

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 search for a track you specify and save the first matching result to Your Music on Spotify.

Skip track

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 skip to next track in the current playback queue on Spotify. Only available for Spotify premium accounts.

Start playback

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.
Start a new context or resume current playback on the user’s active device. Only available for Spotify premium accounts.

Turn off camera

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 off your D-Link camera.

Turn off plug

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 off your D-Link smart plug.

Turn on camera

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 your D-Link camera.

Add track to a playlist

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 search for a track and add the first result to a playlist you specify.

Add track to a playlist by TrackID

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 add a track to a playlist given a TrackID

Add track to playback queue

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 add a track you specify to the end of current playback queue on Spotify. Only available for Spotify premium accounts.

Camera is turned off

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 tigger fires every time your D-Link camera is turned off.

Camera is turned on

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 tigger fires every time your D-Link camera is turned on.

Change scene

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 scene.

Contact close is detected

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 D-Link device detects a contact close event.

Contact open is detected

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 D-Link device detects a contact open event.

Currently playing track

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 track that is currently playing on Spotify.

Follow a playlist

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 follow a playlist you specify. It accepts Spotify Playlist IDs.

Get album details

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 details for a given album.

Get artist details

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 information about a given artist.

Build an automation in seconds!

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

More on Spotify and mydlink

About Spotify

Spotify is a digital music service that gives you access to millions of songs. Applets can help you save your Discover Weekly and Release Radar playlists, share your favorite tunes, and much more.

Explore Spotify

More integrations with Spotify

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.

Explore mydlink

More integrations with mydlink

IFTTT helps all your apps and devices work better together

Get started for free