You should first go through the setup guide associated with your selected hardware, and make sure you have internet connectivity before continuing. The following links will take you to the guides for your selected platform:
If you haven't installed our Adafruit IO Arduino Library or if you have an older version of this library, you will need to make sure you install version 2.7.15 of the Adafruit IO Arduino library installed before continuing. It is available from the Arduino library manager so we recommend using that.
- Not sure how to use the Library Manager? We have a great learn guide about installing libraries:
From the Arduino IDE, open the Library Manager
Enter Adafruit MQTT into the search box, and click Install on the Adafruit MQTT library option to install version 0.20.2 or higher.
Enter ArduinoHttpClient into the search box, and click Install on the ArduinoHttpClient library option to install version 0.3.0 or higher.
Type Adafruit IO Arduino into the search bar to search for the library. Click Install to install version 2.4.15 or higher .
The code for this example is contained within the Adafruit IO Arduino Library. Open the adafruitio_23_ifttt example from within the Arduino IDE: File->Examples->Adafruit IO Arduino->adafruitio_23_ifttt
Next, we'll perform the network configuration required for this sketch.