Supercharge your Echo with Tasker and IFTTT
- Tasker Wink Integration Project by Craig Trunzo must be completed and working
- My WinkAlexa Tasker profile from HERE
- An IFTTT Account
- An Amazon Echo, Amazon Fire TV, Amazon Fire TV, Gaming Edition, or Amazon Fire TV, Stick
Step 1: Configure IFTTT
Connect to the Maker channel
The goal is to get a message from IFTTT to Tasker. To accomplish this, you must connect to the Maker channel
- Go to https://ifttt.com/maker
- Click "Connect"
- Enter a username and password
- Once connected, you should see a Secret Key. Keep that tab open as you need that Secret Key later.
Connect to the Amazon Alexa channel
Since this tutorial is about getting from Echo to Tasker, you also need to set up your Echo channel
- go to https://ifttt.com/amazon_alexa
- Click "Connect"
- Follow the on-screen instructions to link your Amazon account.
You can use any channel as your trigger. Play around and have some fun.
Step 2: Configure AutoRemote
- Download and install AutoRemote.
- You need the full play version. The trial will not work for this project.
- Follow the instruction in AutoRemote to create an account.
- In AutoRemote, open the Devices screen and press the IFTTT action at the bottom
- Enter your secret key from step 3 above. This is a unique key, just for you. If you can't find it, try this link
- Name your IFTTT device whatever you want. The default is “IFTTT”
- Now Long-Press the IFTTT device and choose the "Generate IFTTT URL"
- Follow the instruction to share the URL. Email it to yourself for safe keeping and easy access in the future.
Step 3: Import the Tasker Profile
- Download the WinkAlexa profile from HERE to your Android device.
- Open Tasker and go to your Wink2 project (If you don't have a Wink2 project, make one Tasker_Wink_Integration_Project_by_Craig_Trunzo #TASKER_POWER_USERS)
- Go to the Profiles Tab and long-tap it for about 2 seconds, then let go
- Choose Import, navigate to wherever you downloaded the WinkAlexa.prf.xml file and tap it.
- Verify that "WinkAlexa" now shows up in your Profiles.
- Hit the back arrow until you are back at your home screen.
Step 4: Create the IFTTT recipe
I would highly recommend doing this from a desktop, not your phone.
- Go to [ifttt.com IFTTT] and create a new Recipe
- Select Amazon Alexa as the THIS
- Choose "Say a specific phrase"
- type (all lowercase!) whatever you want the phrase to be. it can be anything.
- It does not need to actually contain anything about your devices. you can pick "fagabeefy" and it will work. (Shoot me a hangout if you get the reference)
- Click "Create Trigger"
- Select Maker as your THAT
- Choose "Make a web request" (It's the only option as of this writing)
- In the "URL" field, paste the URL that you exported in Step 2.
- Find the part at the very end of the URL that says "message=MESSAGE_HERE".
- Change "MESSAGE_HERE" to "Wink=:=<something>"
- Change the "<something>" to the actual command you want to run. Be sure to remove the "<" & ">" characters.
- For the following steps, my examples are made up. The best thing for you to do is get used to using the Tasker Voice Control project before you do this so you are familiar with what you need to say to get things to turn on or off, open, whatever.
- FOR WINK DEVICES AND GROUPS
- Replace "<something>" with whatever voice command you would give Tasker to control that thing in the way you want. Be sure to remove the "<" & ">" characters.
- If you want to turn on your bedroom light, replace "<something>" with "Turn on the bedroom light". Be sure to remove the "<" & ">" characters.
- If you want to open your garage, replace "<something>" with "Open the Garage Door". Be sure to remove the "<" & ">" characters.
- FOR WINK SHORTCUTS
- You must start a shortcut command with "shortcut activate", if not, it will treat it like a device/group and not work.
- Replace "<something>" with "shortcut activate Movie Time" where "Movie Time" is the name of whatever shortcut you actually want to run. Be sure to remove the "<" & ">" characters.
- Set the "Method" field to "GET"
- Leave "Content Type" and "Body" blank
- Click "Create Action"
- Verify your info, then click "Create Recipe"
If I set my Alexa word to "Fagabeefy" and my URL message to "message=Wink=:=Turn on the disco ball" saying to the Echo "Alexa Trigger Fagabeefy" would be the exact same as using the Tasker Voice Control project directly and saying "Turn on the Disco Ball".
I know that this is somewhat long and complicated. If you run into any issue, don't hesitate to contact me via G+ Hangouts or email.