Send commands from Google Home to tasker using IFTTT

Part 1, Setting up IFTTT

In order to hook up Google Home assistant with Tasker, we need to be able to receive push notifications by using the IFTTT app to trigger Tasker profiles.

  1. Install IFTTT from Google Play on your spare Android device and open it.
  2. Sign in by using the Google button and choose the same Google Account that you use with your assistant. You may need to click on “No Thanks” afterwards to get to the IFTTT main screen.ifttt
  3. Click on the Get more button at the bottom and then on the Plus (+) button to create a new applet.
  4. You’ll see the phrase If This Then That. Click on the Plus next to the gray This word.
  5. Type in Google and choose the Google Assistant square icon, then choose Say a simple phrase.
  6. In the What do you want to say field, type in a voice command, for example, “Turn on PS4″. On the field What do you want the Assistant to say in response?, type in “Turning PS4 on” (no quotes). You can also add some other ways to say the same voice command. Choose English as Language and  click on Continue button.
    ifttt2
  7. Now click on the Plus next to the gray That word and type notification on the search box. Click on the Notifications square icon and then choose Send a notification from the IFTTT app.
  8. In the Message field, type ps4on and click over Continue. On the next screen click on Finish and tap on the back button to return to the applets list.
  9. To create more triggers repeat from step 3, but this time enter Start Youtube in the What do you want to say field (on the the Google Assistant trigger screen) and ps4youtube in the Message field (on the Notification action).

Part 2, Hook the triggers to Tasker profiles and tasks

  1. Open Tasker app and go to the Profiles tab.
  2. Click on the Plus circle icon and click on Event on the drop down list.
  3. Type in notification and choose the “Notification” square.
    tasker2
  4. Tap on “Owner Application” and then choose IFTTT. Press Back to accept.
  5. Enter IFTTT (all caps) in the Title field and ps4on in the Text field, then press back to confirm.
  6. A list should pop up, choose the task you want to run. If youre following the guide to control your PS4 from Google Home I posted here, then choose the PS4W-On task that you created before. Click on the Check at the top of the screen to accept.
  7. Repeat from step 2 but this time enter ps4youtube trigger on the Text Filter field, and choose PS4W-Youtube as the task.

Part 3, Testing

Either start google assistant on your phone or go next to your Google Home device and speak out loud the voice command we created on Part 1, step 6: Turn on PS4 .. if everything was properly set up… magic will happen. Also try saying Start Youtube.

Note that since a push notification will be received, you may find the notification sound annoying. You may want to Long hold tap over the notification and choose “Show silently” or just mute your spare Androd phone.

 

Leave a Reply

Your email address will not be published.