Google Home, IFTTT, and Kodi

This write-up is not complete yet!!!!!!!!

Requirements:

Google Home
IFTTT account link to your Google Home
Nvidia Shield (This should work on any Android box.)
Tasker App
Tasker Network Event Server App
Visit the OMDBAPI website (This site is supported by donations only. I have no affiliation to this site.)
This Tasker profiles, tasks, and javascripts

Steps:

  • Install the “Tasker” and “Tasker Network Event Server” apps on the Nvidia Shield
  • Configure your Nvidia Shield so you can access the storage remotely
  • Under the Tasker folder on the Nvidia Shield, create a folder called javascripts
    (You should be about to do this on your PC after you mount the Nvidia Shield storage)
  • Copy the javascripts files (see above) to the javascripts folder
  • Copy the xml files (see above) to a convenience location on the Nvidia Shield
  • Launch Tasker on the Nvidia Shield and import the tasks and profiles (the xml files) into Tasker
  • Open up port 8765 on your router to the private IP of your Nvidia Shield
  • On the Nvidia Shield, launch Kodi and turn on the web server
    (“Setting > Service Settings > Control”; set username and password)
  • Create three IFTTT applets
    • First of three IFTTT applets:
      • Choose “Say a phrase with a text ingredient”
      • For “THIS” choose “Google Assistant”
      • For “THAT” choose “Maker Webhook”
      • Google Assistant
        • What do you want to say?: mildred $
          (I chose mildred because it was unique. You can chose any name you want.)
          (Current commands: mildred stop, mildred pause, mildred play, mildred update, and mildred clean.)
        • What do you want the Assistant to say in response? okay
      • Maker Webhook
        • http://yourkodiusername:yourKodiPassword@YourPublicIP:8765?perform=<<<Textfield>>>
          For Textfield, click your text ingredient.
        • Method: Get
        • Content Type: text/plain
    • Second of three IFTTT applets:
      • Choose “Say a phrase with a text ingredient”
      • For “THIS” choose “Google Assistant”
      • For “THAT” choose “Maker Webhook”
      • Google Assistant
        • What do you want to say?: please launch $
          (Google Home ignores the word “please”, so you can just say “launch app name”.)
        • What do you want the Assistant to say in response? launching $
      • Maker Webhook
        • http://yourkodiusername:yourKodiPassword@YourPublicIP:8765?launch=<<<Textfield>>>
          For Textfield, click your text ingredient.
        • Method: Get
        • Content Type: text/plain
    • Create the third of three IFTTT applets:
      • Choose “Say a phrase with a text ingredient”
      • For “THIS” choose “Google Assistant”
      • For “THAT” choose “Maker Webhook”
      • Google Assistant
        • What do you want to say?: please play $
          (Google Home ignores the word “please”, so you can just say “play movie name” or “play TV show name”.)
        • What do you want the Assistant to say in response? showing $
      • Maker Webhook
        • http://yourkodiusername:yourKodiPassword@YourPublicIP:8765?play=<<<Textfield>>>
          For Textfield, click your text ingredient.
        • Method: Get
        • Content Type: text/plain