// Start the RainMaker service RMaker.start();
: Ensure your board is set to an ESP32/ESP8266 before uploading. Common Errors When Using the Manual ZIP Even with the correct rmaker.h library download zip , you might encounter errors. Here’s how to fix them: rmaker.h library download zip
// Create a power parameter (on/off) RMakerParameter *powerParam = RMaker.addParameter("Power", "bool", NULL, NULL, NULL); powerParam->addRange("bool", "false", "true"); // Start the RainMaker service RMaker
#include <rmaker.h> #include <WiFi.h> // Device declaration static RMakerDevice lightDevice("Smart Bulb"); // Start the RainMaker service RMaker.start()
lib_deps = https://github.com/espressif/esp-rainmaker-arduino/archive/refs/heads/master.zip Or, if you downloaded the ZIP locally: