Skip to content
d8ahazard edited this page Oct 14, 2018 · 2 revisions

Setting up IFTTT With Flex TV (UPDATED)

  1. Head on over to https://ifttt.com/ and create an account.

  2. Go to the "applets" page.

  3. Click "New applet".

  4. Click the blue + button for IF THIS.

  5. Search for "Assistant".

  6. "Say a phrase with a Text Ingredient".

  7. What do you want to say:

    • Depends on the command you want to use. I use "Tell Plex to $", "I want to watch $", and "I want to download $" for playback, control, and fetch commands respectively.
    • You can mostly use whatever you want, but some triggers are reserved - these should work.
    • Put the $ sign where the thing you're sending to Flex TV goes: "Tell plex to $"
    • Language parsing has been updated to use API.ai for all commands, so no need for separate URL's for separate commands.
  8. Save it.

  9. Click the "then that" button.

  10. Search for "Webhooks".

  11. Pick "Make a web request", the only option.

  12. Open the Flex TV UI, click the button under "Click to copy IFTTT URL:". The URL should be copied to your clipboard, and look something like this:

    http://{YOUR_SERVER_ADDRESS}/FlexTV/api.php?say&apiToken=asdfaksdfjasae670a877d1a1e5931f5cbf326c&command={{TextField}}

12a. If you want to create multiple shortcuts for different actions (play, fetch), you can append that word to the "&command" parameter, and use it as the trigger in your recipe. So, for "play", you would make it 'when I say' - 'play $', and then the URL param would be &command=play+{{TextField}} to download, you could use command=download+{{TextField}}, etc.

  1. Click "Create Action", test it out.