Release Control Kodi with your Google Home
#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


Messages In This Thread
RE: Control Kodi with your Google Home - by abhishekbafna - 2017-12-28, 23:33


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