This is an automated archive made by the Lemmit Bot.

The original was posted on /r/tasker by /u/joaomgcd on 2024-03-18 19:10:25.


Here’s how you can do anything on your phone from your Google Home, using Tasker!

1 - Go to > Menu > Automations > Add New > use following script

metadata:
  name: Tasker Playground
  description: Tasker Google Home Playground

automations:
  - starters:
      - type: assistant.event.OkGoogle
        eventData: query
        is: "Run my cool task"
    actions:
      - type: home.command.Notification
        title: "Google Home Tasker Routine"
        body: "My Cool Task"
        members: [email protected]

and replace the email address with an email address of a phone where you have Tasker and the Google apps installed.Don’t forget to enable the Routine.

2 - In Tasker import this project.

In Google Home say “Hey Google, run my cool task”, and the example task should run on your phone! You can long-click the notification > configure > Silent to make it less intrusive.

3 - Under the “automations:” part in the script, add more “starters” blocks for each of the tasks you want to perform from Google Home. For example, to perform the task Send Wife Love add:

  - starters:
      - type: assistant.event.OkGoogle
        eventData: query
        is: "YOUR_GOOGLE_HOME_COMMAND"
    actions:
      - type: home.command.Notification
        title: "Google Home Tasker Routine"
        body: "YOUR_TASK_NAME"
        members: [email protected]

For advanced users: if you set the “body” in the Google Home script to something that isn’t an existing task name, Tasker will run that as a command! You can use the Tasker command system for easier automation setup!

Available languages are listed here!