Alexa is fast becoming the virtual P.A. for more and more of us. With this project, you’ll soon be adjusting your JustBoom audio boards using the JustBoom OS REST API and Amazon Alexa.
If you haven’t already set up your JustBoom board, head on over to https://www.justboom.co/start/ and install your very own player.
Local IP: 192.168.X.X
Local Port: 80
External Port: 80
You should now be connected to your JustBoom home page
IFTTT stands for If This Then That. It is a web service that lets you connect and control devices across different platforms. We will use it to link Amazon Alexa to a Webhooks service using our voice command from Alexa to call up, say, a URL.
At this point, we need to choose a trigger, something that will activate the call we send to the JustBoom player. It’s best to use a specific phrase such as “Alexa trigger music on”.
Now it’s time to configure ‘that’, which is what we want to call when the trigger is activated. In this case, we want to call a URL to the JustBoom player.
You should see the service ‘Webhooks’ which let you call the JustBoom URL.
Your JustBoom player should start playing your favourite music.
Now you’ve added the “music on” command, you can add as many applets as you want to IFTTT. There’s a whole bunch of playback commands you can call for the JustBoom player. You can check out some of these for starters:
Toggle between play and pause: http://yourip/api/v1/commands/?cmd=toggle
Play playlist: http://yourip/api/v1/commands/?cmd=playplaylist&name=Rock