Automatically Play Music After the Game with IFTTT and Pivot Power Genius

For some reason, I’ve been trying to come up with a way to automatically (triggered somehow through the internet) play a song at the conclusion of a sporting event for some time now. I’m not a programmer, I still haven’t really put a good-faith effort toward learning how to work with Arduino, and I’m not an expert on crawling the web for data (especially when it comes to “live” data, like a sports score). Still, this works, but let me go through the limitations.

  1. The sound quality is awful. We’re going low-tech here.
  2. Requires buying a Power Pivot Genius. Only $20 though, right now anyway.
  3. There are multiple potential points of failure. Not like this should be a mission critical thing for you, but still.
  4. You might cut your hands.

First, a little bit about the Power Pivot Genius (PPG); It’s a glorified power strip with two outlets that can be controlled remotely. No dimming, just on/off. You control it through the Wink App. It can also be controlled through IFTTT.

I’ve posted about IFTTT before, so surprise, we’re using it again. We’re going to use the ESPN module as a trigger to turn on one of the outlets on the PPG. It should look like this.



So, assuming you were able to set up your PPG, connect it to IFTTT , and then create the above recipe, you’ve now got an outlet that turns on when there is a “New final score for the Chicago Cubs”. Yep, that means win or lose. Now we just need an mp3 player with a speaker that plays our chosen file immediately upon power up. I found one.

This isn’t my video, but I find it hilarious. Anybody who forces their guests to listen to “The Final Countdown” while they use the restroom is cool by me. Anyway, you can buy one of the little players on Amazon for about $10.  When it arrives, you need to pry the cheap plastic front off. I don’t have a video for you, and the linked video doesn’t show you how. This is how I cut my hands. Take a flat-head screwdriver and work your way around the lip. You’ll break it. Once you get it off, there are four tiny phillips-head screws on the four corners – remove them so you can get to the battery. Cut the wires to the battery; we don’t want this thing charging. Only on/off. Put the screws back in.

Now, go get your song, put it on a low-capacity USB drive you don’t use anymore (or microsd, there’s a slot for it), and power it up on any wall outlet. You will need a USB to wall plug adapter (surely you have an old one not in use) to have the PPG power it. It should play after a few seconds. If it doesn’t, the switch on the side of the unit may not be set to “ON”. It won’t play if it’s on “OFF”, but it will do a disco thing (making you think it should be playing), which was confusing. If it’s playing each time you plug it in, mission (almost) accomplished. Plug it into the appropriate outlet on the PPG and you’re good to go.

However, there is one problem; we’re sending the instruction to turn on the power. This MP3 player will play your song (or list of songs, I guess) until it’s shut off. That means that we need a separate command. Through the wink app you can create a “robot” to detect specific conditions and, if met, execute a command. Not unlike IFTTT. We want to create a robot that detects whether the outlet we’re manipulating has been on for X amount of minutes. In our example, 3 is almost perfect.

Screenshot (Jul 21, 2015 9-46-02 PM)


So, now the outlet will be shut off and not repeat endlessly.

Katie already hates it.