Alexa can control your devices through a Smart Home Skill. Alexa's Smart Home Skills allow device manufacturers to support a pre-defined set of voice commands via Alexa, and can be used by speakers, cameras, thermostats, light bulbs, and many other types of smart device.
Audiogum can help you deploy branded Alexa Smart Home Skills for any device that integrates Audiogum Remote Control.
Audiogum provides the following key parts of the Alexa Smart Home skill:
When a user activates your Smart Home Skill, they can use commands like, "Alexa, volume up in the living room" and your device volume will change. When the user says this kind of voice command, the following happens:
You can create a Smart Home Skill using Amazon's Skill Developer Console. Once signed in, click 'Add a New Skill' and set the following:
arn:aws:lambda:eu-west-1:487197290700:function:alexa-smart-home-eu-west-1
api.audiogum.com
gstatic.com
thirdparty-alexa
You'll also need a small icon (108x108 pixels, PNG) and large icon (512x512 pixels, PNG).
If your device is already integrated with Audiogum Remote Control, you'll be familiar with how your device should securely create a remote control token (remotecontroltoken
). You should ensure that your companion app can retrieve the current Audiogum remote control token from every device on the local network.
When your companion app finds a device on the local network that can be remotely controlled, the app should store the remote control token for the currently logged in user. This will allow the user to discover and control the device using Alexa. To store the remote control token, use PUT /v1/user/devices/{deviceid}
:
PUT /v1/user/devices/c27a39fae3 HTTP/1.1
Host: api.audiogum.com
Authorization: Bearer {access_token}
Content-Type: application/json
{
"deviceid":"c27a39fae3",
"remotecontroltoken": "v1::dSxwOotdwTT3nCQ5MPx4mg==::FOHfjq1g5BE0byibonVtDYNTE38..."
}
remotecontroltoken
.Try controlling your device, for example:
Alexa, volume up on Living Room
Alexa, skip forward on Living Room
Alexa, play on Living Room
Alexa, mute on Living Room
Alexa, unmute on Living Room
where 'Living Room' is the name of your device.
If Alexa has trouble finding the device, you may have a device name that Alexa cannot easily understand. Try a simple device name (e.g. Living Room, Kitchen, Green Speaker, etc). You can modify the device name (set an alias) in the Alexa app.