Advanced - Cycle Timing

Function Introduction

The cycle timing function will automatically cycle on or off the light source within the set time period to meet the needs of plant growth lighting and other scenarios.

DP protocol

  • DP Code: cycle_timing
Serial numberNameNumber of bytesIdentifierData typeField attributeField description
1Protocol version1versionEnumerationInitial version: 00
2Node length1lengthValueMaximum value: 255 Minimum value: 0 Step distance: 1 Multiple: 0
3Task switch1on_offEnumerationTask off: 02 Task on: 03
4Week1weekWeekly dataInverse calculationIf all are 0, it means single mode, which is effective only once; otherwise, it is cycle mode, and the corresponding bit is judged whether it is set to 1. Position 1 means it is effective on the same day. For example, 0x42 means that the task takes effect on Saturday and Monday (note that the corresponding task switch must be in the on state)
5Start time2start_timeValueMaximum value: 1439 Minimum value: 0 Step: 1 Multiple: 0 0x10: hex code, 16; Value range: 0~1439
6End time2end_timeValueMaximum value: 1439 Minimum value: 0 Step: 1 Multiple: 00x10: hex code, 16; Value range: 0~1439
7On duration2on_timeValueMaximum value: 1439 Minimum value: 1 Step: 1 Multiple: 00x10: hex code, 16; Value range: 0~1439
8Off duration2off_timeValueMaximum value: 1439 Minimum value: 1 Step: 1 Multiple: 00x10: hex code, 16; value range: 0~1439
9Hue (hundreds)1H_hundredsValueMaximum value: 3 Minimum value: 0 Step: 1 Multiple: 00x03, 0x10: hex code. Big endian format, the first byte represents hundreds, the second byte represents tens and ones. The actual value represents 316, value range: 0~360
10Hue (tens and ones)1H_tens_onesValueMaximum value: 99 Minimum value: 0 Step: 1 Multiple: 00x03, 0x10: hex code. Big endian format, the first byte represents hundreds, the second byte represents tens and ones. The actual value represents 316, and the range is 0~360
11Saturation percentage1SValueMaximum value: 100 Minimum value: 0 Step: 1 Multiple: 00x10: hex code, 16%; Range: 0~100
12Brightness percentage1VValueMaximum value: 100 Minimum value: 0 Step: 1 Multiple: 00x10: hex code, 16%; Range: 0~100
13Brightness percentage1BValueMaximum value: 100 Minimum value: 0 Step: 1 Multiple: 00x10: hex code, 16%; Range: 0~100
14Color temperature percentage1TValueMaximum value: 100 Minimum value: 0 Step: 1 Multiple: 00x10: hex code, 16%; value range: 0~100

How to develop

Notes

None

  • [Function page]:
    • None
  • [Component]:
    • None
  • [Tutorial]:
    • None
  • [SDK]:
    • None
  • [API]:
    • None