Project architecture
In this section, we will discuss how cloud variable synchronization works. As shown in Figure 7.1, we have taken the project from Chapter 4. In that project, we set up a device that monitors outdoor temperature, humidity, and air quality. Now, we want to share the outdoor temperature with our indoor device, which is the MKR Wi-Fi 1010. To make things easier, we just used LEDs with MKR Wi-Fi 1010, which is shown in Figure 7.2. Our indoor device will turn on the red LED if the temperature exceeds the specified threshold and turn on the green LED if it comes down below a specified threshold. You can also use relays instead of LEDs to control the heating and cooling system of your room.
We already have one complete thing in Arduino IoT Cloud that is working, but now we need to create another thing for MKR Wi-Fi 1010 named Indoor MKR Wi-Fi 1010 with a bunch of cloud variables. We will then sync the temperature cloud variable of the Indoor MKR Wi-Fi 1010 thing with...