Advanced - Random Timing
Function Introduction
The light-watching function will simulate the scene of someone at home by randomly turning on and off the lights during the set time period, which plays a role in preventing theft.
- Some parameters are explained as follows:
- Repeat cycle: used to set a single turn-on or a 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, the default is a single turn-on, and the task will automatically turn off after one execution
- Custom color: used to customize the light status when the light is on during the execution of the light-watching function
- Usage example:
- Set the task time to 6:00 pm ~ 12:00 am, select the rest days Saturday and Sunday, and turn on the light-watching function. The light will automatically turn on and off randomly from 6:00 pm to 12:00 am on Saturday and Sunday to simulate the scene of someone at home.
DP protocol
- DP: random_timing
How to develop
- Monitor, report and send DP according to UI interaction
Notes
None
Related materials
- [Function page]:
- None
- [Component]:
- None
- [Tutorial]:
- None
- [SDK]:
- None
- [API]:
- None