Initial configuration – Things, network credentials, cloud variables, and code
After setting up the hardware, it’s time to set up a Thing in the Arduino IoT Cloud. For this project, we need three cloud variables for the Scheduler, which will be linked with dashboard widgets and receive the values from users. Later, the device will perform an operation (in our example, it will turn the LEDs on and off according to a scheduler time) when the Scheduler is active. Figure 11.2 gives a complete overview of the Cloud Scheduler Thing.
Figure 11.2 – The Cloud Scheduler Thing setup
Set up a new Thing with the name CloudScheduler
. Take the following steps to create cloud variables, associate a device, set up network configuration, and finally, write the code. In Figure 11.2, all the steps are marked with a number above red boxes, which relate to the following steps:
- Firstly, we need to set up three cloud variables for
CloudScheduler
....