Dashboard creation and a deep dive into the Scheduler widget
After uploading the code to the device, it’s time to set up a dashboard for web and mobile to insert the multiple Scheduler widgets that will be linked to the Scheduler variables, for further controls and operations. The following figure shows the visualization Scheduler with different timer options:
Figure 11.8 – The Thing dashboard
We have three Scheduler variables. To visualize all of them, three Scheduler widgets will be linked to each cloud variable, respectively. The purpose of the three widgets and variables is to demonstrate how we can set different types of timers. The first widget demonstrates how to use a timer that will be executed every minute for 30 seconds, the second widget demonstrates how to use a timer that will be activated every hour for five minutes, and the third widget demonstrates that we can set the timer for a long period, such as specific days at a specific...