How do I implement scheduling in my firmware?
ESP RainMaker has built-in scheduling support. To enable it:
-
Enable time service (required for scheduling):
esp_rmaker_time_service_enable(); -
Enable scheduling:
esp_rmaker_schedule_enable();
Users can then create schedules through the phone app without additional firmware code. The firmware will automatically receive and execute scheduled commands.
For advanced usage, see Scheduling Usage.