• 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 16
Release Control Kodi with your Google Home
#91
Hi Everyone,

I need your help please!!

I have followed all steps as mentioned on Omertu. But I am not able to get my Glitch test working. I am kinda struck on very beginning of this.
IMp: My kodi is connected via LAN/Ethernet wire but share same internet connection as my Google Home Mini which is on WIFI. Would that be a problem?
Steps followed:
1) I have created username, password and port: 8090 in kodi.
2) Went to system information in kodi and got my ip address from there.
3) Configured Port Forwarding on my router (New to this)
4) Set external IP address : 0.0.0.0 , port: 8090, Internal IP Address : 192.168.x.x Port: 8090, TCP
5) Created Glitch project and imported omertu project. Changed env setting to my kodi username, password, port, and KODI_IP_ADRESS via my laptop (connected on same wifi as google home mini)
6) Click on Show live.
7) Glitch open another browser with my project URL :https://abhishek-kodi.glitch.me/
    ---> The functionality you would like to test: /koditestconnection
    ----->
Click on Button : Test Connection to Kodi
8) Failed : Gateway timed out.


Please help what i am doing wrong, I know your expert advice would definitely help me.

Awaiting your response.

Thanks,
Abhishek
Reply
#92
Hi Everyone,

I need your help please!!

I have followed all steps as mentioned on Omertu. But I am not able to get my Glitch test working. I am kinda struck on very beginning of this.
IMp: My kodi is connected via LAN/Ethernet wire but share same internet connection as my Google Home Mini which is on WIFI. Would that be a problem?
Steps followed:
1) I have created username, password and port: 8090 in kodi.
2) Went to system information in kodi and got my ip address from there.
3) Configured Port Forwarding on my router (New to this)
4) Set external IP address : 0.0.0.0 , port: 8090, Internal IP Address : 192.168.x.x Port: 8090, TCP
5) Created Glitch project and imported omertu project. Changed env setting to my kodi username, password, port, and KODI_IP_ADRESS via my laptop (connected on same wifi as google home mini)
6) Click on Show live.
7) Glitch open another browser with my project URL :https://abhishek-kodi.glitch.me/
    ---> The functionality you would like to test: /koditestconnection
    -----> Click on Button : Test Connection to Kodi
8) Failed : Gateway timed out.

GLITCH LOGS:
========
I entered internal ip address in glitch env. Settings.
Logs in Glitch:
========== 
  Authentication succeeded2:52 PM Command sent = {"jsonrpc":"2.0","id":1,"method":"GUI.ShowNotification","params":{"title":"Initiated by IFTTT","message":"Test Successful!"}}2:52 PM request failed2:54 PM route: /koditestconnection2:54 PM query: {}2:54 PM error: { FetchError: request to http://192.***.*.*:8090/jsonrpc failed, reason: connect ETIMEDOUT 192.***.*.*:80902:54 PM  at ClientRequest.<anonymous> (/app/node_modules/node-fetch/index.js:133:11)2:54 PM  at emitOne (events.js:96:13)2:54 PM  at ClientRequest.emit (events.js:188:7)2:54 PM  at Socket.socketErrorListener (_http_client.js:309:9)2:54 PM  at emitOne (events.js:96:13)2:54 PM  at Socket.emit (events.js:188:7)2:54 PM  at emitErrorNT (net.js:1277:8)2:54 PM  at _combinedTickCallback (internal/process/next_tick.js:80:11)2:54 PM  at process._tickCallback (internal/process/next_tick.js:104:9)2:54 PM  name: 'FetchError',2:54 PM  message: 'request to http://192.***.*.*:8090/jsonrpc failed, reason: connect ETIMEDOUT 192.168.0.2:8090',2:54 PM  type: 'system',2:54 PM  errno: 'ETIMEDOUT',2:54 PM  code: 'ETIMEDOUT' }2:54 PM body: { token: '******' }

Please help what i am doing wrong, I know your expert advice would definitely help me.

Awaiting your response.

Thanks,
Abhishek
Reply
#93
(2017-12-28, 23:07)abhishekbafna Wrote: Hi Everyone,

I need your help please!!

I have followed all steps as mentioned on Omertu. But I am not able to get my Glitch test working. I am kinda struck on very beginning of this.
IMp: My kodi is connected via LAN/Ethernet wire but share same internet connection as my Google Home Mini which is on WIFI. Would that be a problem?
Steps followed:
1) I have created username, password and port: 8090 in kodi.
2) Went to system information in kodi and got my ip address from there.
3) Configured Port Forwarding on my router (New to this)
4) Set external IP address : 0.0.0.0 , port: 8090, Internal IP Address : 192.168.x.x Port: 8090, TCP
5) Created Glitch project and imported omertu project. Changed env setting to my kodi username, password, port, and KODI_IP_ADRESS via my laptop (connected on same wifi as google home mini)
6) Click on Show live.
7) Glitch open another browser with my project URL :https://abhishek-kodi.glitch.me/
    ---> The functionality you would like to test: /koditestconnection
    -----> Click on Button : Test Connection to Kodi
8) Failed : Gateway timed out.

GLITCH LOGS:
========
I entered internal ip address in glitch env. Settings.
Logs in Glitch:
========== 
  Authentication succeeded2:52 PM Command sent = {"jsonrpc":"2.0","id":1,"method":"GUI.ShowNotification","params":{"title":"Initiated by IFTTT","message":"Test Successful!"}}2:52 PM request failed2:54 PM route: /koditestconnection2:54 PM query: {}2:54 PM error: { FetchError: request to http://192.***.*.*:8090/jsonrpc failed, reason: connect ETIMEDOUT 192.***.*.*:80902:54 PM  at ClientRequest.<anonymous> (/app/node_modules/node-fetch/index.js:133:11)2:54 PM  at emitOne (events.js:96:13)2:54 PM  at ClientRequest.emit (events.js:188:7)2:54 PM  at Socket.socketErrorListener (_http_client.js:309:9)2:54 PM  at emitOne (events.js:96:13)2:54 PM  at Socket.emit (events.js:188:7)2:54 PM  at emitErrorNT (net.js:1277:8)2:54 PM  at _combinedTickCallback (internal/process/next_tick.js:80:11)2:54 PM  at process._tickCallback (internal/process/next_tick.js:104:9)2:54 PM  name: 'FetchError',2:54 PM  message: 'request to http://192.***.*.*:8090/jsonrpc failed, reason: connect ETIMEDOUT 192.168.0.2:8090',2:54 PM  type: 'system',2:54 PM  errno: 'ETIMEDOUT',2:54 PM  code: 'ETIMEDOUT' }2:54 PM body: { token: '******' }

Please help what i am doing wrong, I know your expert advice would definitely help me.

Awaiting your response.

Thanks,
Abhishek
Hi All,

@p0psicles @omertuAfter adding external IP to env. settings in Glitch configuration. Test was successful.
but when i am trying to hit
http://YOUR_INTERNAL_KODI_IP:PORT/jsonrpc?request={"jsonrpc":"2.0","id":1,"method":"Player.playpause","params":{"playerid":1}}
Its workingbut external ip , its doesnt work. It keeps asking for username and password and says Connection is not private in popup dialog box.
http://YOUR_EXTERNAL_IP:PORT/jsonrpc?request={"jsonrpc":"2.0","id":1,"method":"Player.playpause","params":{"playerid":1}}Next thing I tried:
I asked : Hey google, kodi play movie ****, i saw Applet got failed in IFTTT. Please let me know.
Reply
#94
came across this thread a few days back, tested yesterday and all works perfectly..... thank you so much for everyone's efforts....

i'm watching this space --> <-- eagerly for updates Big Grin
Reply
#95
On reddit OmerTu mentioned that it is possible to extend the Voice Control to Addons using the Kodi API. Can anybody go into futher details on this? What would the url part look like?
I think it would be great for eg. running auto-maintenance with Indigo or searching for Movies which are not stored lokaly.
Reply
#96
Indigo is very much a banned addon (wiki) here and totally unsupported, as it's any device containing it or anything else on that list.

Please actually read the forum rules (wiki) and piracy policy (wiki) that you accepted on sign up before posting again.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#97
hi, one question has anyone got the 'turn TV on' function to work..?

the firestick can turn on the TV by pressing any button but I've tested both ways in the read me section but nope can't get it to work...

thanks
Reply
#98
Thanks for this. I've managed to get this working with node.js on a Windows box and running as a service after doing some research.

Seems to be more responsive than hosting through Glitch and a slightly better option that directly pointing to your Kodi box on your router.

Also is there a way I can run this as HTTPS with node.js?
Reply
#99
First of all thanks for making this. It works like a charm.

The only thing not working for me is the turning on of the TV or changing to the proper HDMI channel and focusing on the KODI app.

I run all this on an Intel NUC 7th gen pc with Win 10 Installed. Has anybody managed to give a command to GH and it then turning on the TV on the proper HDMI channel and focusing on KODI. Or am I expecting too much?

This would be the icing on the cake. At the moment I have to tell Google to turn on the tv then manually change to the correct HDMI channel and then focus on the KODI app.

Any help would be greatly appreciated.
Reply
After hours of trial and error, I finally have it successfully configured. Thank you so much!
Reply
Hi Omer,
thanks for a great product, working great.
one question: for some of my movies the titles are in hebrew, is it possible to search also by "Original Title" which is in English?

thanks
Reply
Hey! Thanks for all!

Is it possible to start an addon with google assistent? Or maybe somethin in my favourites?
Reply
Thanks for all your work!

I'm having a strange issue and I was wondering if anyone else was having the same. I can connect to Kodi with my local ip fine, but when I use my external ip it does not work. I have the port forwarded, and I tried several other ports, and I'm able to connect to my Broadlink RM3 via my external ip through IFTT easily.

it seems like its a router issue, but since other things are working I'm thinking it could be something with Kodi. Anyone have any thoughts?
Reply
Figured it out! I had OpenVPN on, turned it off and it works great. Thanks!
Reply
Hi,
I need some help setting this up. I've been trying for a few days and I can't figure out what I'm doing wrong.

My setup:
1. Have glitch setup per instructions
2. Kodi is setup per instructions
3. Configured the router to forward the port
4. IFTTT is setup per instructions
Make a web request:
URL: https://leaf-xxxxx.glitch.me/playpause
METHOD: post
CONTENT TYPE: Application/json
BODY: {“token”:”token”}

Both the internal and external IP test work and Kodi pauses both times.

BUT, everytime I tell Google home to pause Kodi, I get the following error in IFTTT:
UNABLE TO MAKE A WEB REQUEST. YOUR SERVER RETURNED A 400

Any help would be great coz now I have a headache trying to get this to work and it's frustrating.
Reply
  • 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 16

Logout Mark Read Team Forum Stats Members Help
Control Kodi with your Google Home4