This exploration was inspired by the Interactivity Beyond Touch post and by @Seb’s demo about Web Triggers API. Let’s find out that it takes to remotely control an Intuiface XP using Siri voice commands, both on iPhone and Apple Watch.
Shortcuts in iOS let you automate sequences of actions so that you can perform them quickly with one tap on a shortcut icon or with a voice command issued to Siri. Android users should have an equivalent feature called Action Blocks.
My prototype leverages the Shortcuts app to engage with Intuiface Web Triggers API, and pass along commands to the target Intuiface XP. Here is how they look like on my iPhone:
When I speak, Siri will recognize my voice and look for a matching shortcut with that name (in this case Intuiface Home). Once a match is found, the URL is triggered.
With your new key, the Intuiface Web Triggers API is ready to accept your calls. They will look something like this:
There are more parameters you can add to target specific Players / Experiences, but for simplicity’s sake, I’m not including them.
In my demo, I used
ios as the message name, and
energy as parameters, to reflect the respective destinations on my XP.
The next step is to create the iOS shortcuts that will trigger the proper URLs (see Youtube tutorials). This is what they look on my iPhone. If you have an Apple Watch, they will automatically sync.
Finally, it’s time to enable your Intuiface XP to listen to Web Triggers. There is a specific IA for that, and here is how I programmed the Intuiface Home command.
And that’s it. Shortcuts can also be associated to events other than voice commands, such as reading RFID tags with your phone or detecting your geographical location. But that’s a topic for future experiments.