Release Control Kodi with your Google Home
according to Pipestream support:

There is. Since you can run any Node.js code on Pipedream, you have access to any variables from your trigger step (for example, the incoming HTTP request), or data exported from previous steps.

For example, if I wanted to trigger a workflow on HTTP requests, and include the value I sent in the text field of my HTTP payload, I could reference that data like so:

const axios = require("axios");
const resp = await axios({
method: "GET",
url: `https://xxxxliving.glitch.me/broker?phrase=${event.body.text}`,
headers: {
"Content-Type": "application/json"
}
})

const axios = require("axios");
const resp = await axios({
method: "POST",
url: `https://xxxxliving.glitch.me/broker?phrase=${event.body.myVariableText}`,
headers: {
"Content-Type": "application/json"
}
})


it is actually sending something to kodi since kodi pings, glitch log shows

message": "undefined: Cannot read property 'toLowerCase' of undefined",
Reply


Messages In This Thread
RE: Control Kodi with your Google Home - by [email protected] - 2020-07-09, 00:57
Logout Mark Read Team Forum Stats Members Help
Control Kodi with your Google Home4