-
Notifications
You must be signed in to change notification settings - Fork 69
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 Phlex 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 Phlex web 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}/Phlex/api.php?say&apiToken=asdfaksdfjasae670a877d1a1e5931f5cbf326c&command={{TextField}}
12a. The "say" paramater tells Phlex to parse the command with API.ai, giving your greater flexibility over your commands. If you wish to use the "legacy" paramaters, you can replace 'say' with either 'play','control', or 'fetch' to create specific commands for those triggers.
- Click "Create Action", test it out.
13b. Repeat for a download and "control playback" command if you chose to use legacy commands.