-
Notifications
You must be signed in to change notification settings - Fork 32
IFTTT
-
Head on over to https://ifttt.com/ and create an account.
-
Go to the "applets" page.
-
Click "New applet".
-
Click the blue + button for IF THIS.
-
Search for "Assistant".
-
"Say a phrase with a Text Ingredient".
-
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.
- Depends on the command you want to use. I use "Tell Plex to
-
Save it.
-
Click the "then that" button.
-
Search for "Webhooks".
-
Pick "Make a web request", the only option.
-
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.
- Click "Create Action", test it out.