General - Light Gradual Change

Function Introduction

  • Set the light to gradually brighten when turning on, so that the light will gradually brighten and will not be dazzling when waking up in the morning.
  • Set the light to gradually dim when turning off, so that the light will gradually dim and avoid bumps.

DP protocol

Serial numberNameNumber of bytesIdentifierData typeField attributeField description
1Version number1versionEnumerationVersion number: 000x00: Initial version
2Turn on fade-in duration3fade_in_durationValueMaximum value: 60000 Minimum value: 0 Step: 1 Multiple: 0Hex code, range 0 ~ 60000 ms
3Turn off fade-out duration3fade_out_durationValueMaximum value: 60000 Minimum value: 0 Step: 1 Multiple: 0Hex code, range 0 ~ 60000 ms

How to develop

Notes

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