Advanced - Wake up after falling asleep
Function introduction
The light wake-up function will make the light turn on slowly. After a period of gradual changes, it will be fully turned on at the set time to help people wake up naturally.
- Some parameters are explained as follows:
- Gradual change time: used to set the time required to fully turn on the light at the set time. It can be set according to actual usage needs.
- Light off setting: After the light is fully turned on at the set time, it will be turned on by default. You can set the light off time to automatically turn off the light after a period of time.
- Repeat cycle: used to set single turn on or cyclical turn on. Select any time from Monday to Sunday, and the task will be repeated at the corresponding time; if no time is selected, it will be turned on by default, and the task will be automatically turned off after one execution.
- Usage example
- Set the time to 7:00 am, select Monday to Friday, set the gradual change time to 30 minutes, and set the light off time to 1 hour. Every Monday through Friday, the lights gradually brighten at 6:30 am until they are fully on at 7:00 am, and remain on until they automatically turn off at 8:00 am.
DP protocol
- WI-FI protocol DP: wakeup_mode
- Ble Mesh protocol DP: wakeup_mode
How to develop
- Monitor and report DP according to UI interaction
Notes
None
Related materials
- [Function page]:
- None
- [Component]:
- None
- [Tutorial]:
- None
- [SDK]:
- None
- [API]:
- None