Now that the Alexa Smart Home skill is deployed we will need to enable it. The first step is to account link the skill to an administrator account on your ASP Organization. This need to happen only one as we will be using delegated account linking the rest of the way. All units will share this single account link. Note that The administrator account should also have access to your development account in order to enable the development skill. To complete this step...
- If necessary, download the Alexa App to your phone or tablet.
- Log into the Alexa App as your ASP Organization Administrator.
- Click "More" from the bottom right of the app home screen.
- Select "Skills & Games".
- Scroll all the way to the bottom and click the "Your Skills" button.
- Select "Dev".
- Select ASP Smart Home Sample.
- Click the "Enable to Use" button.
- Complete account linking using credentials for a user that you generated in Cognito.
Next, from within the ASP Console navigate to a unit that you would like to enable the skill on. Scroll to the bottom, select "Enabled Skills", and then click the "Enable property skill" button. If this had been a live skill we would have just searched for it in the "Alexa Skill Store" tab.
At this point an account linking dialog will be presented, where the administrator will be able to set up the delegated account link. Note that we do not need to click the "Link Account" button on this page because we did a one time link in the first step and will only be using delegated auth from here on out.
- Enter your "Skill Id".
- Select "Development"
- Toggle "Requires Account Linking" to on.
- Toggle partition support to on and enter an appropriate partition name.
- Click "Enable Skill".
Also, note that these steps can be performed via API using the Skill Management API.
After the skill is enabled, a device discovery session will automatically begin. This skill will auto-generate three "dummy" devices; a light, a thermostat, and an indoor blinds. Once complete you can refresh your unit's page, select "Smart Home Devices", and see the following...
Additional discovery sessions can be initiated by either calling the Discovery Session API, by asking an Alexa device in the Unit to "discover devices", or by clicking the "Discover Devices" button next to the skill on the Unit page.
- Skill Overview
- Initialization and Setup: Cognito and DynamoDB
- Skill Deployment
- Skill Enablement ⇐ (You are here)
- Delegated Account Linking
- Smart Home Features