Release Control Kodi with your Google Home - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +--- Thread: Release Control Kodi with your Google Home (/showthread.php?tid=314096) |
RE: Control Kodi with your Google Home - RDoornek - 2018-01-21 Hi, I use VPN, how can I configure My IP etc. when I use VPN? RE: Control Kodi with your Google Home - Karellen - 2018-01-21 Hello RDoornek That is more of a question for your VPN provider and their paid support. Kodi does not need a VPN to operate, so the use of one is seen as a 3rd party modification outside the scope of this forum. With this in mind, the developers here may be unable to assist you. RE: Control Kodi with your Google Home - sg1102 - 2018-01-22 anyone have any ideas? Thanks in advance RE: Control Kodi with your Google Home - sg1102 - 2018-01-22 (2018-01-21, 08:00)sg1102 Wrote: Hi,Anyone have any ideas? Thanks in advance RE: Control Kodi with your Google Home - sg1102 - 2018-01-24 (2018-01-22, 15:49)sg1102 Wrote:I was able to figure out and fix the issue.(2018-01-21, 08:00)sg1102 Wrote: Hi,Anyone have any ideas? Thanks in advance RE: Control Kodi with your Google Home - chris_mccarston - 2018-01-26 Hey guys, I am pretty new to this and I´m not quite able to set it up. I followed the instructions and if I say: "Ok google, play movie xyz" then google responses with " Ok, playing xyz" but nothing happens. I´ve tried it with the action "navigate to home" : YOUR_NODE_SERVER/navhome same story, it accepts the action, respond, but nothing happens. Any idea why ? The only point I can imagine is the portforwarding thing. This is what I did: Service Name: HTTP(TCP:80) External Start Port: 80 External End Port: 80 Internal Start Port: 80 Internal End Port: 80 Internal IP address: 192.168.0.13 Have I forwarded it ? Thanks guys RE: Control Kodi with your Google Home - chris_mccarston - 2018-01-29 No one an idea ? RE: Control Kodi with your Google Home - Oli_Oops - 2018-02-01 Hi folks. I'm having trouble getting Kodi to play a playlist. It's a music playlist. I'm using this the phrase Kodi playlist $ and the URL is YOUR_NODE_SERVER/playercontrol?q={{TextField}} Would this work better with the PlayMedia function than PlayerControl? RE: Control Kodi with your Google Home - sanjeewasam - 2018-02-07 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)
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 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 RE: Control Kodi with your Google Home - sanjeewasam - 2018-02-07 reposting due to it is picking up some formating characters 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 exports.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' } ]; exports.globalConfig = { // YOUR_CONNECTION_PASSWORD authToken: 'mykey', // YOUR_LOCAL_LISTENING_PORT listenerPort: '8099', // YOUR_YOUTUBE_API_KEY youtubeKey: 'AnnIzaSyB_sE5gtNo_B2S1xR3UL8G9KnXUKXxGc6k' I use the following in webhooks {"token":"mykey", "kodiid":"kodi"} {"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 living room kodi play... could target http://192.168.100.1:8080/playpause and the phrase bedroom kodi play... could target 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: "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: "Hey Google, kodi scan library in the bedroom".". 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 RE: Control Kodi with your Google Home - sanjeewasam - 2018-02-09 I did further testing on configuring two kodi boxes. As I cannot figure out why I am getting Unable to make web request. Your server returned a 500 everytime following the intructions. Sp did the following I changed my working id: 'kodi', to id: "xmbc" in the kodi-hosts.config.js and also changed the IFTT applet "Kodi plat movie $"----> "XMBC play movie $" {"token":"mytoken for xmbc", "kodiid":"kodi"}-->{"token":"mytoken for xmbc", "kodiid":"xmbc"} still I am getting Your server returned a 500. This means the application does not run other than for where id in config file is "kodi" I believe there are changes to be done to config.js script to accomodate two kodi boxes. Can someone please confirm RE: Control Kodi with your Google Home - sanjeewasam - 2018-02-09 I have good news and I am thrilled after many days of struggling The scripts as per the original instructions work for mutiple boxes. However becuase I made changed to config file several times etc and was eiditing existing IFTT applets created before it gave 500 and web request time out error in IFTT. The commands to issue are "OK google, kodi play movie x-men", "OK google, kodibedroom play movie australia" where kodi and kodibedroom are the id in kodi-host.config.js and "kodiid" in the IFTT. you could keep same username/passwords in all kodi boxes and same port and same "token". Not sure if you need to change kodi box name in kodi installation to reflect rge id in kodi-host.config.js but I do not think it is required though I did it what need to be done or make sure is a) each time you change the kodi-hosts.config.js you need to stop the server.js session, run "npm install" for config changes to make effect (if not done it would lead to authentication errors and not executing) b) also create new applet in IFTT -sometimes editing existing applet and saving does not work (it result in timeout and applet failing) I also had a issue and uninstalling node js application and installing it again, copying a fresh copy of googlehomekodi code and change the config and do npm install and then node ....../server.js did work so i can confirma that no more changes are required to other files. Only change required is kodi-host.config.js and then in create new applets with the following format {"token":"mytoken", "kodiid":"kodi"} I am commiting here in case someone try to add second box later will find it not working. The original instuctions does not talk about having to run npm insall with config file change please note that I am running local node server- method: =11ptB.2 Set up local webserver RE: Control Kodi with your Google Home - crawfordmd - 2018-02-17 I am running Kodi 17.6 on a HTPC and have been able to get the voice controls to work using the glitch option. However, it seems unbearably slow and makes the voice control less desirable compared to going for the remote. Is there a way to speed up the response between Kodi and Google Home? TIA for any assistance! RE: Control Kodi with your Google Home - Harvinder - 2018-03-06 Hi, Does anyone know if this still works? I have followed the steps but cannot seem to connect to Kodi? RE: Control Kodi with your Google Home - sanjeewasam - 2018-03-20 Yes. It does. |