Undertstand Smart Home Zigbee Support
You can connect your smart home device to Alexa with the Zigbee wireless communication technology. With Zigbee, you don't have to build a Smart Home skill or connect a separate hub.
Zigbee is a global wireless radio communication standard designed to enable the control and monitoring of connected devices. It's a low-power, close-proximity solution that makes it well suited for home automation. For details, see Zigbee Alliance.
The Amazon Echo Plus and Echo 4th Gen devices have built-in smart home hubs that seamlessly connect and control Zigbee smart devices, such as light bulbs, door locks, and plugs. After a customer sets up an Echo Plus or Echo 4th Gen, they can connect their devices by saying "Alexa, discover my devices." In response, the Echo discovers and sets up the devices, and then makes them available in the Alexa app.
The Zigbee technical specifications include the following wireless network communication definitions:
- Frequency: 2.4GHz
- Range: 50 – 100 feet
- Zigbee specifications
- Alexa-enabled device support for Zigbee
- Add Zigbee to your products
- Add Works with All Hubs to your products
- Obtain the Works with Alexa Badge
- Test your Zigbee integration
- Test your Works with All Hubs cluster
- Related topics
Alexa-enabled device support for Zigbee
The following Amazon Echo devices have built-in smart home hubs that seamlessly connect and control Zigbee smart devices:
- Echo Plus
- Echo 4th Gen
Currently, the Echo Plus and Echo 4th Gen support Zigbee 1.2 and 3.0 for device types including:
- In-wall switches
- Plugs and outlets
Add Zigbee to your products
You can implement the Zigbee protocol on your smart home device yourself, or you can purchase components to add to your device.
- To get started with a Zigbee implementation, review the Developer Resources page on the Zigbee Alliance website.
- To see Zigbee components available for purchase, browse the Certified Products page on the Zigbee Alliance website.
Add Works with All Hubs to your products
Works with All Hubs (WWAHu) is a custom Zigbee cluster that standardizes best practices to improve security, reliability, and interoperability for Zigbee devices. For more details, see The All Hubs Initiative.
You can choose to implement the WWAHu cluster yourself, or you can ask the Zigbee stack vendor that your product uses for their WWAHu cluster implementation. Many Zigbee stack vendors have implemented the WWAHu cluster, including Silabs, NXP, and Ubisys. You can request the WWAHu cluster implementation and incorporate it into your Zigbee 3.0 products.
Obtain the Works with Alexa Badge
Works with Alexa (WWA) is a certification program that establishes your product's compatibility with Alexa, helping to ensure that your customers have a better smart home experience. For details about the WWA program, see Works with Alexa Overview.
Before you apply for WWA certification for your Zigbee device, your product must meet the WWA certification requirements for Zigbee devices.
After you have thoroughly tested your device with the Echo Plus or Echo 4th Gen, you can submit your device for WWA certification. For details, see Apply for Works with Alexa Certification.
Test your Zigbee integration
After you have implemented the Zigbee protocol on your smart home device, test the protocol thoroughly with an Echo Plus or an Echo 4th Gen device.
Verify that Alexa can discover your device, and that you can interact with it by using the standard utterances for your device type. For sample utterances, see the Amazon customer guidance and the documentation for each interface that your device implements.
You can find a complete list of available WWA test cases in the Alexa Certification Console. Make sure that you complete the test plans for Zigbee and the smart home capabilities that your device supports, such as PowerController, BrightnessController, ColorController.
The following table shows some sample utterances.
|Device type||Example customer utterances|
|In-wall switches||Alexa, turn on device name.
Alexa, turn off device name.
|Plugs and outlets||Alexa, turn on device name.
Alexa, turn off device name.
|Lights||Alexa, turn on device name.
Alexa, dim device name.
|Locks||Alexa, lock the device name.
Alexa, is the device name locked?
Test your Works with All Hubs cluster
You can download a testing tool that enables you to run the WWAHu test cases against your product. You can use the tool to pre-test your device, but passing the test cases in the tool isn't a guarantee that your device will pass certification. Test cases might change, and environmental conditions can play a role in certification test results.
To use the test harness, you need the following:
The test harness tool software, including binaries and instructions. Download the test harness tool from the Alexa Certification Console.
To simulate a device under test, before you use your own device, you need the following:
To run the test tool
Flash the test harness device.
- Erase the chip.
- Program the bootloader.
- Program the application image.
Run the test harness for each test case. For example, to run test case 1, use the following code.
python3 -m pytest test_01.py