In this chapter, we have explored how to integrate a voice AI service such as Alexa with the IoTFW.js framework we have developed. We continued with the same example from Chapter 4, Smart Agriculture, and started off this chapter by setting up the relay that can turn the motor on/off. Next, we have understood how Alexa works. We have created a new custom skill and then set up the required voice model. After that, we have written the required business logic in AWS lambda, which will get the latest weather status as well as control the motor.
We have finally tested everything using the reverb app and also validated everything.
In Chapter 6, Smart Wearable, we are going to look at IoT and healthcare.