Arrival & Departure -
Guests
Adults
Children
Promo Code
Arrival & Departure -
Guests
Adults
Children
Promo Code

void loop() RMaker.handle(); // Keep the cloud connection alive

void setup() Serial.begin(115200);

// 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.start();

// Initialize the device RMaker.init();

Serial.println("Device ready. Use ESP RainMaker app to control.");

#include <rmaker.h> #include <WiFi.h> // Device declaration static RMakerDevice lightDevice("Smart Bulb");