We are excited to announce a new addition to the Smart Home Skill API, the ability to define appliance categories. By defining appliance categories, both you and your customers can easily identify the types of smart home devices with which they are interacting.
As part of the larger DiscoverAppliancesRequest object, the new appliance categories feature is a simple addition of metadata for your devices.
You have the ability to identify your device as one of eight different appliance categories:
- CAMERA – a media device with video or photo capabilities
- LIGHT – a light source or fixture
- SMARTLOCK – a door lock
- SMARTPLUG – a module that is plugged into an existing electrical outlet
- SWITCH – an in-wall switch wired to the electrical system
- THERMOSTAT – a thermostat that controls temperature, or stand-alone air conditioners or heaters
- ACTIVITY_TRIGGER – a combination of devices set to a specific state, like a television power to “on” and input set to “INPUT1”
- SCENE_TRIGGER – a functionality similar to an activity trigger, but the order of operations is not important
By properly defining your appliance categories, your devices will appear in the appropriate locations in the Alexa app when customers are managing their list or creating scenes. You can read more about this in our documentation on the DiscoverAppliancesResponse.
To add this new appliance category data to your responses, you need to add the “applianceTypes” node to your discoveredAppliances array. Here’s an example of how to do this:
"extraDetail2":"There can be multiple entries",
"extraDetail3":"but they should only be used for reference purposes.",
"extraDetail4":"This is not a suitable place to maintain current device state"
"friendlyName":" Bedroom Thermostat",
"version":"your software version number here."
Please review our technical documentation for more technical details. To learn more about developing a smart home skill check out these resources:
Build a Skill, Get a Shirt
The Alexa Skills Kit (ASK) enables developers to build capabilities, called skills, for Alexa. ASK is a collection of self-service APIs, documentation, templates, and code samples that make it fast and easy for anyone to add skills to Alexa.
Developers have built more than 12,000 skills with ASK. Explore the stories behind some of these innovations, then start building your own skill. Once you publish your skill, mark the occasion with a free, limited-edition Alexa dev shirt.