Assignment
After playing with SDK, it’s now time to do some more experiments so you can apply your learning in new scenarios and solidify your learning. For this assignment, you will create a script for Thing automation with the following properties:
- Set up a method for WeMos D1 Mini device creation. This device belongs to the ESP8266 category.
- Set up a Thing named
Sense Environment
and create a sketch for a Thing. Then, associate the previously created device with the Thing. - Create three cloud variables/properties for temperature, humidity, and air quality and attach these variables to the previously created Thing.
Create the required script in one file containing all the methods, where we just provide the Thing name and it will automatically set up the device, Thing, and sketch, handle device association with the Thing, and take care of variable creation. Successfully completing this task will teach you to automate workflows and processes efficiently...