Module Life Cycle Overview
This guide provides an overview of the different ACK module states used in the product development process, and how and when to transition between those states.
Understand module states
As you develop your product, the ACK module will be in one of five primary states: module provisioned, product provisioned, product provisioned – registered, locked, or locked – registered. You use the Module Utility CLI to transition the module between these states.
These are the five different module states used in the product development process:
Module provisioned – When a module is in this state, it does not represent a product, cannot be registered with Alexa, and has limited functionality. This state is precursor to the product provisioned state. If the module is already product provisioned, you use the Module Utility
reverttomoduleprovisoned command to set the module to this state. For more information, see the
Product provisioned – When the module is in this state, the module is designated as a product and can be registered with Alexa. You set the module to product provisioned as you develop and test your product. Due to permission restrictions, you can only provision the module as the products available to your developer account in the ACK console.
For a step-by-step guide on how to provision the module as a product, see Steps to Provision a Module – ACK managed services. If you are using a YubiKey for provisioning, see Steps to Provision a Module – YubiKey.
Product provisioned – registered – When in this state, a module is provisioned as a product and registered with Alexa and ACK managed services via Wifi Simple Setup.
Locked – When the module is in this state, product provisioning is finalized, and the module is ready for your customers. You use the
lockmodule command to lock the module, which is an operation that can't be undone. For more information, see the
Locked – registered – When in this state, a module is locked as a product and registered with Alexa and ACK managed services via Wifi Simple Setup.
Factory reset the module
When the module is registered with Alexa via Wifi Simple Setup, you use the Alexa app to reset the module. When you factory reset the module, it clears user and product data. You can factory reset the module when it is either a locked state or product provisioned state.
To factory reset the module via the Alexa app:
- Open the Alexa app
- Go to Devices
- Select All Devices
- Choose the device you want to factory reset.
- Click on the Trash Icon to delete the device from the Alexa app.
- Choose Yes to confirm deletion. This factory resets the module.