Release Control Kodi with your Google Home
#77
Not able to get this to work. I tried p0psicle's fork as well, to no avail.

I'm able to get to the web server manually:

http://YOUR_INTERNAL_KODI_IP:PORT/jsonrpc?request={"jsonrpc":"2.0","id":1,"method":"Player.playpause","params":{"playerid":1}}
http://YOUR_EXTERNAL_IP:PORT/jsonrpc?request={"jsonrpc":"2.0","id":1,"method":"Player.playpause","params":{"playerid":1}}

Both of these work fine and kodi pauses.

I tried to create a simple "Mute" command: https://my-glitch-address.glitch.me/mute, but that didn't work.  Looking at my IFTTT activity I see "Applet Failed":

There was a problem with the Webhooks service.
Ingredients
CreatedAt
(none)

Finally, I tried to create a test using Postman:

Address: https://my-glitch-address.glitch.me/mute
Type: POST
Header: Content-Type: "application/json"
Body ("Raw"): {"token":"AUTH_TOKEN_VALUE"}

I ended up with a 404. Not sure what I'm doing wrong.

Edit: Just copied the current repo and copied my .env file over and it works! I changed my pass phrase as well, the previous one had some special characters in it. I'm not sure if it was my pass phrase or the latest distribution, but it works now!
Reply


Messages In This Thread
RE: Control Kodi with your Google Home - by fnwc - 2017-11-29, 10:52


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