Use the Arduino IDE Board Manager to install the ESP32 by Espressif Systems board package. Once installed, RMaker.h and its examples are immediately available under File > Examples > ESP RainMaker .
Here is the exact workflow:
Manage connection and claiming of the ESP32 node. rmaker.h library download zip
In this example, we initialize the RMaker object and read sensor data using the readSensor() method. We then control an actuator using the writeActuator() method. Use the Arduino IDE Board Manager to install
// Start provisioning WiFi.onEvent(sysProvEvent); wifi_prov_mgr_start_provisioning(WIFI_PROV_SCHEME_BLE, WIFI_PROV_SCHEME_HANDLER_FREE_BTDM, WIFI_PROV_SECURITY_1, pop, service_name); In this example, we initialize the RMaker object
Unlike some Arduino libraries, rmaker.h cannot be downloaded as a simple ZIP archive. It is part of a larger framework that has complex dependencies and is meant to be integrated into your development environment (Arduino IDE or ESP-IDF). The correct way to get rmaker.h is through: