Release Control Kodi with your Google Home
Thanks so much. I got this working in one devise. I have node server on synology nas. I configured send kodi box and followed the instructions- created two IFTT appliets

My Config file
 =9.0ptexports.kodiConfig = [
  {
      id
: 'kodi', // Give your main instance here any name you want
      // YOUR_KODI_PROTOCOL (http or https)
      kodiProtocol: 'http',
     
// YOUR_KODI_IP_ADDRESS
      kodiIp: '192.168.0.170',
     
// YOUR_KODI_PORT
      kodiPort: '8080',
     
// YOUR_KODI_USER_NAME
      kodiUser: 'xxx',
     
// YOUR_KODI_PASSWORD
      kodiPassword: 'yyy'
  },
     
// You can use this to specify additonal kodi installation, that you'd like to control.
      // For example alternate kodi destination 1:
  {
      id
: 'PLEX',
     
// YOUR_2ND_KODI_PROTOCOL (http or https)
      kodiProtocol: 'http',
     
// YOUR_2ND_KODI_IP_ADDRESS
      kodiIp: '192.168.0.171',
     
// YOUR_2ND_KODI_PORT
      kodiPort: '8080',
     
// YOUR_2ND_KODI_USER_NAME
      kodiUser: 'xxx',
     
// YOUR_2ND_KODI_PASSWORD
      kodiPassword: 'yyy'
  }
 
];
=11.0pt =11.0pt =11.0ptexports.globalConfig = {=11.0pt    // YOUR_CONNECTION_PASSWORD=11.0pt    authToken: 'mykey',=11.0pt    // YOUR_LOCAL_LISTENING_PORT=11.0pt    listenerPort: '8099',=11.0pt    // YOUR_YOUTUBE_API_KEY=11.0pt    youtubeKey: 'AnnIzaSyB_sE5gtNo_B2S1xR3UL8G9KnXUKXxGc6k'
I use the following in webhooks=12.0pt{"token":"mykey", "kodiid":"kodi"}=12.0pt{"token":"mykey, "kodiid":"PLEX"}
Please note I use same username and password in both kodi boxes "kodi" and "PLEX" and same token key in applets for "kodi" and "PLEX"

In IFTT applet in the IF side: what do you want to say has
kodi play movie $ in applet for kodi box "kodi" 
and
PLEX play movie $ in the applet done for kodi box "PLEX"

When I give command
Hey Gogle kodi play movie australia it work in "kodi" box
however when I say Hey Google PLEX play movie australia I get "unable to make web request. Your server returned a 500". This is is what is in IFTT log shows as error for not running the Plex applet

I am also confused as to the instructions you noted in your document to handle mutiple boxes
"Having one node server targeting both kodi instances. (Recommended when hosting yourself)
  1. The utilization of the kodi-hosts.config.js allows you to name your instances and target them individually.
    i.e. the phrase 
    Code:
    [b]living room kodi play[/b]...
     could target 
    Code:
    http://192.168.100.1:8080/playpause

    and the phrase 
    Code:
    [b]bedroom [size=large]kodi[/size] play[/b]...
     could target 
    Code:
    http://192.168.100.2:8080/playpause
    )."
becuase your id: living room" not "living room kodi" etc

and for local node js method you state 
"xample scan library If you normally would use a sentence like: 
Code:
"Hey Google, kodi scan library" --> Will start a full library scan
. For running this command on your second kodi instance, you could copy the applet, and change it to: 
Code:
"[font=Comic Sans MS,cursive][b]Hey Google, kodi scan library in the bedroom[/b][/font]"
.".

Are the above correct? It is confusing. could you please clarify how the voice command should be give to play a movie on my box named "kodi" and "PLEX". I belive that the name here is the name set in kodi application setting as the name for the kodi 

Thanks in advance
Reply


Messages In This Thread
RE: Control Kodi with your Google Home - by sanjeewasam - 2018-02-07, 13:37


Logout Mark Read Team Forum Stats Members Help
Control Kodi with your Google Home4
This forum uses Lukasz Tkacz MyBB addons.