Make Google Play Music — or almost any music app — your alarm clock!

Publish date: 2023-04-27

Who wants to wake up to some horrible ringing, buzzing, or other panic-inducing noise? Waking up to a klaxon?? STOP IT! NO! BAD! Why start your day in a bleary adrenaline rush? We don't have to do that to ourselves anymore. We have the technology to wake up better ways.

True, some alarm apps allow you to set a favorite song as your morning alarm, but the problem here is that no matter how much you love a song, if you wake up to the song every day, that love will eventually turn to hate. Remember 'I got you, babe' in Groundhog Day? Yeah, we don't need that. What if you could just pick up with your Google Play Music queue where you left off the night before, like those old iPod alarm clocks we all used in the early 2000's?

Unfortunately, most music apps lack a built-in alarm clock, but through some true Android magic — namely Tasker (opens in new tab) — we can wake up to just about any music app you've got.

Now, before we get started, I'm going to warn you: this is gonna get nitty-gritty, it's gonna take experimentation and testing to make sure that your alarm will actually trigger, and at the end of the day, depending on your phone's software and your music app of choice, it might not work. That's the nature of the beast when it comes to Android automation apps like Tasker, but once you get this up and running, it will improve your mornings and your life. I shed a few tears when I first got this working four years ago…

Now, this is also going to deviate from my normal how-to steps because there are some steps that not everyone is going to need, and I want to explain most of my steps and methodology here. There are a couple of different ways to get to our end alarm clock and I intend to explain why I use my particular path. Before we get cooking, we need to download the ingredients:

AutoShare is a unique plugin in that in addition to downloading the plugin itself, we need to download AutoShare Intents to use in your desired task. The developer of AutoShare — and the entire AutoApps suite — has a handy website where he details and offers download for many AutoShare intents, and here's how we're going to download them. Once AutoShare is taken care of, we'll get into making the actual alarm.

  • Open AutoShare.
  • Allow AutoShare to access your device's storage. We'll need this in order for the app to save and access the AutoShare intents we're about to download.
  • Tap Browse Intents.
  • Tap the browser of your choice, but tap Just once instead of Always.
  • Scroll down to Media Control. Before listing the intents we're going to use, AutoShare tells us how they have to be used, and this is important because media controls in AutoShare can be more precise and more accurate, but they have to be set up properly.
  • Tap Play Down.
  • In the app picking window that pops up, AutoShare Intent Import should already be selected, so all we need to tap is Just once.
  • We need to use both a down intent then an up intent in order to hit play in the morning, so we'll tap Play Up. (If you were kicked back to AutoShare, tap Browse intents to get back to the list.)
  • In the app picking window, we'll once again tap Just once with AutoShare Intent Import selected.
  • We're technically good to go, but I recommend downloading the other Media Control intents so that you can develop more media control tasks further down the road. Now, time to build the actual alarm.

  • Open Tasker.
  • In the Profiles tab, tap the + icon in the bottom right corner to create a new Profile.
  • A list of contexts for your profile will pop up, and as an alarm clock profile, this will be triggered by Time.
  • Set your In time to your desired alarm time by swiping the numbers up and down as desired.
  • Set your Out time to sometime after your In time, but not too far after your In time. This time shouldn't matter in theory, but I try to put it at the next hour after my alarm time.
  • Tap the Tasker logo with the little back arrow next to it to move on to the next phase of our alarm-making.
  • We need to assign a task to trigger when our alarm clock goes off. Since we haven't made that task yet, we'll tap New Task.
  • Name your task. Make it something easy to recognize and/or understand, like "Morning Alarm" or "Play My Music".
  • When you're satisfied with your task name, tap the checkmark next to your new name.
  • Tap the + icon in the bottom center of your screen to add an action to your task.
  • We're going to start by connecting to our Bluetooth speaker. If you don't need this, skip ahead to Step 23. Tap Plugin.
  • Tap Bluetooth Auto Connect.
  • Tap the pencil icon next to Configuration to configure the action.
  • Uncheck Global Settings. We don't want those here, since we want to connect to a specific device.
  • Tap Profiles.
  • Tap Media Audio to connect the audio profile of your phone that plays music and other media to your speaker.
  • Tap the back button.
  • Tap Devices.
  • Uncheck all but the Bluetooth speaker you want to connect to and drag that Bluetooth speaker up to the top of the list.
  • Tap the back button.
  • Profile action should already read Connect. If it doesn't, tap Profile Action and then tap Connect.
  • Tap the back button twice.
  • Tap the + icon in the bottom center of your screen to add an action to your task.
  • Tap Task.
  • Tap Wait.
  • Set Seconds to somewhere in the 5-10 second range. We want to give our Bluetooth step time to actually connect to our Bluetooth speaker before the music starts playing, and that's what this action is for. If you're not using Bluetooth, keep this step anyway, we're gonna use this action to help test our profile at the end.
  • Tap the Tasker logo with the little back arrow next to it to move on to the next step of our alarm-making.
  • Tap the + icon in the bottom center of your screen to add an action to your task.
  • Tap Alert.
  • Tap Popup. I've had trouble on some devices over the years with this profile not turning on the music properly when the screen is off. By using a popup, we kick the screen on just long enough for our music to kick on. Think of this as insurance against device variances.
  • Under Text, tap the spacebar a few times. We need something in the Popup for the app to display, but we don't care what it says because unless you wake up before your alarm, we're never going to see this popup.
  • Tap the Tasker logo with the little back arrow next to it to move on to the next step of our alarm-making.
  • Tap the + icon in the bottom center of your screen to add an action to your task.
  • Tap Plugin.
  • Tap AutoShare.
  • Tap AutoShare from the menu that pops up.
  • Tap the pencil icon next to Configuration to configure the action.
  • Tap App.
  • Tap Media. There's going to be a pop-up window that reminds you how to use a meda intent in AutoShare. Yes, the developer wants us about how these work a lot, and that's just because it's worth saying it as many times as it takes to get us to use it properly.
  • Tap Action.
  • Tap Press Play Key Down. You're gonna see another popup, same as before.
  • Tap Find Compatible apps.
  • Scroll down and tap your desired music app. If you don't see your music app listed here (and I'd be kinda shocked if you don't, because even a lot of non-media apps end up in this list), then this alarm method isn't going to work for you.
  • Tap the checkmark icon in the top right corner of the screen.
  • Tap the Tasker logo with the little back arrow next to it to move on to the next step of our alarm-making.
  • Tap the + icon in the bottom center of your screen to add an action to your task.
  • Tap Plugin.
  • Tap AutoShare.
  • Tap AutoShare from the menu that pops up.
  • Tap the pencil icon next to Configuration to configure the action.
  • Tap App.
  • Tap Media.
  • Tap Action.
  • Tap Press Play Key Up. You're gonna see another popup, same as before.
  • Tap Find Compatible apps.
  • Scroll down and tap your desired music app.
  • Tap the checkmark icon in the top right corner of the screen.
  • Our profile is done, just back out of your intent and back to the takse so we can test it. We start by tapping the play button in the bottom left corner. Tasker will execute the task and in a few second, music will start playing. Pause your music, then hit play in Tasker again, immediately turning the screen off again. If your screen comes on and music plays, your task should wake you up in the morning.

    If you can't quite get your screen off, or if you really want to be sure, tap your Wait action and up the wait by a few minutes. Then, hit play on the task, turn your screen off, and wait. When the music comes on, you know it'll work come morning. If it doesn't, try upping the Timeout in each of your AutoShare actions.

    Once you've got your alarm working, this isn't quite as set-and-forget as that plain-jane system alarm clock. There's a few things you need to keep in mind:

    There are risks here, but in this music-loving girl's mind, they are more than worth it. Is this a lot of work just to wake up to Google Play Music? You bet your ass, it is. Wouldn't it just be easier for music apps to integrate alarms the same way they do sleep timers? Or for proper alarm apps to tie into more music apps. Absolutely, but until the music apps or the alarm apps pick up the slack, I'm just glad Tasker's here to bring back my favorite way to wake up: singing along to Disney Parks music!

    ncG1vNJzZmivp6x7orrDq6ainJOau7W%2BwKVlnKedZLqit8Rmnqinl6GybrzLmrBmpaWotqR5zqtkmqSdpMC1ecCnsGalpai2pHnAqadmsZ%2Bqv26ty5qppmWTobyktw%3D%3D