Release Control Kodi with your Google Home
Found a way to fix the glitch 403 issue, while still keep using glitch.

Register a free account with pipedream.com, click on workflows, create a new workflow
- first step http webhook
- second step node.js

make it look like that:
Image

In http webhook click on curl - and simply copy the url you see there at the bottom (see top of the screenshot). This is the new url that has to be entered in your ifttt options, you can leave the rest as is (in ifttt).

In the node.js step you simply copy/paste in this code:
Code:
const axios = require("axios");

// Make an HTTP GET request using axios
const resp = await axios({
method: "POST",
url: `https://jsonplaceholder.typicode.com/posts`,
headers: {
"Content-Type": "application/json"
},
data: { name: "Luke" }
});
src and better formating: https://docs.pipedream.com/workflows/ste...tp-headers Wink

Then replace the url with your glitch server url (including the /whatever) and { name: "Luke" } with your {"token":"tokenpassword"}


Thats it. Works. Smile

IFTTT now sends a json request to the pipedream url, that triggers a json request to your glitch server. That means that IFTTT isnt communicating with glitch directly anymore - hence no more 403 errors. Yay. Wink

edit: Or use a RaspPi to host OmerTus GoogleHomeKodi yourself, using docker. I went for the quicker fix -- with the downside, that the solution in this thread adds some additional delay. (Not outrageous, but noticeable.)
Reply


Messages In This Thread
RE: Control Kodi with your Google Home - by harlekin - 2020-07-03, 01:14


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