mirror of
https://github.com/espressif/esp-rainmaker.git
synced 2026-01-14 17:45:45 +00:00
Can be enabled using CONFIG_ESP_RMAKER_SCHEDULE_ENABLE_DAYLIGHT, which depends on CONFIG_ESP_SCHEDULE_ENABLE_DAYLIGHT=y. These can be more reliable compared to the cloud driven daylight automations as the calculations happen locally on the device and schedules can take effect even when the device is offline. This also supports offset so that you can schedule actions before/after sunrise/sunset. Together, these have a binary size impact of about 12,250 bytes. CONFIG_ESP_SCHEDULE_ENABLE_DAYLIGHT contributes 11,500 bytes CONFIG_ESP_RMAKER_SCHEDULE_ENABLE_DAYLIGHT contributes additional 750 bytes.