A way to pause and play a Roku from Ubi

Development related questions, API questions and documentation, questions about integration, API/custom behaviour suggestions, how-to documents and all the nitty gritty.

AuthorPost

A way to pause and play a Roku from Ubi

vmsman
 
Posts: 65
Joined: Tue Nov 04, 2014 3:25 pm

Post Posted » Fri Jan 22, 2016 5:47 pm

1. Create a new lesson
2. Make a trigger an utterance "Roku Play"
3. Go to your Roku and see its address or better yet, the name your router has granted your Ubi
4. Make the action an HTTP request.
5. Select POST as the type of Request and TEXT.
6. Specify FROM as the same Ubi in you trigger in #2.
7. Make your URL: http://a.b.c.d:8060/keypress/play
8. Make a.b.c.d the address or name of your roku from #3.
9. Save the lesson.
10. Create a second lesson but with a "Roku pause" utterance trigger.
11. Make the URL: http://a.b.c.d:8060/keypress/back