
#noc196.light.mdctd9
米典智能床头健康灯
urn:miot-spec-v2:device:light:0000A001:noc196-mdctd9:1
Language
Service tree
Light#2 · light6 properties1 actions
Light
#2 · light
Properties
Switch
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Brightness
#3 · brightness
- Format
- uint8
- Access
- R / W / N
- Value
- 0 ~ 100, step 1 percentage
Color
#4 · color
- Format
- uint8
- Access
- R / W / N
- Value
- 0 ~ 2, step 1 rgb
Breathing Mode
#7 · saturability
- Format
- bool
- Access
- R / W / N
- Value
- —
Power Off Delay Time
#8 · off-delay-time
- Format
- uint8
- Access
- R / W / N
- Value
- 0 ~ 120, step 1 minutes
Power Off Delay
#9 · off-delay
- Format
- bool
- Access
- R / W / N
- Value
- —
Actions
Format
#1 · format
Output
#1Switchbool#3Brightnessuint8#4Coloruint8#7Breathing Modebool#8Power Off Delay Timeuint8#9Power Off Delaybool
Alarm Clock Service#4 · alarm-clock17 properties3 actions3 events
Alarm Clock Service
#4 · alarm-clock
Properties
Alarm Clock Data
#1 · number
- Format
- uint8
- Access
- R / N / W
- Value
- 1 ~ 99, step 1 none
Time Period
#3 · timeinterval
- Format
- uint8
- Access
- R / N / W
- Value
- 0 ~ 2, step 1 none
Hour
#4 · hour
- Format
- uint8
- Access
- R / N / W
- Value
- 0 ~ 23, step 1 hours
Minute
#5 · minute
- Format
- uint8
- Access
- R / N / W
- Value
- 0 ~ 59, step 1 minutes
Wake Up Log Enable
#6 · wakeup
- Format
- uint8
- Access
- R / N / W
- Value
- 0 ~ 1, step 1 none
Wake Up With Light On
#7 · lightup
- Format
- bool
- Access
- R / N / W
- Value
- —
The Wakeup Tone Number Of Alarm Clock Wake Up
#9 · music
- Format
- uint8
- Access
- R / N / W
- Value
- 1 ~ 10, step 1 none
Number Of Alarm Clock Repetitions
#10 · week
- Format
- string
- Access
- R / N / W
- Value
- —
Enable And Show
#11 · status
- Format
- uint8
- Access
- R / N / W
- Value
- 0 ~ 1, step 1 none
Repeat
#12 · repeat
- Format
- uint8
- Access
- R / N / W
- Value
- 0 ~ 1, step 1 none
Key Function Name
#13 · button-name
- Format
- uint8
- Access
- R / N / W
- Value
- 0 ~ 3, step 1 none
Function
#14 · function
- Format
- uint8
- Access
- R / N / W
- Value
- 0 ~ 2, step 1 none
Alarm Clock Test
#17 · numbertest
- Format
- uint8
- Access
- R / N / W
- Value
- 1 ~ 99, step 1 none
Minute Test
#18 · minutetest
- Format
- uint16
- Access
- R / N
- Value
- 0 ~ 9999, step 1 none
Minutes Current
#19 · minutenow
- Format
- uint16
- Access
- R / N
- Value
- 0 ~ 9999, step 1 none
Alarm Clock Status
#20 · alarmstate
- Format
- string
- Access
- R / N
- Value
- —
Alarm Clock Extraction
#21 · alarmdebug
- Format
- uint8
- Access
- W / R / N
- Value
- 0 ~ 10, step 1 none
Actions
Get The Alarm Clock Setting Parameters
#1 · get-wakeprop
Input
#1Alarm Clock Datauint8
Output
#1Alarm Clock Datauint8#3Time Period uint8#4Houruint8#5Minuteuint8#6Wake Up Log Enableuint8#9The Wakeup Tone Number Of Alarm Clock Wake Upuint8#10Number Of Alarm Clock Repetitionsstring#11Enable And Showuint8#12Repeatuint8
Set Alarm Clock Wake Up Function
#3 · set-wakeup
Input
#1Alarm Clock Datauint8#3Time Period uint8#4Houruint8#5Minuteuint8#6Wake Up Log Enableuint8#9The Wakeup Tone Number Of Alarm Clock Wake Upuint8#10Number Of Alarm Clock Repetitionsstring#11Enable And Showuint8#12Repeatuint8
Get Alarm Clock Parameters
#4 · get-wakeupprop
Events
Button Function
#1 · button-pressed
Arguments
#13Key Function Nameuint8#14Functionuint8
Initialize Wake Up Parameters
#2 · wakeup
Arguments
#1Alarm Clock Datauint8#3Time Period uint8#4Houruint8#5Minuteuint8#6Wake Up Log Enableuint8#9The Wakeup Tone Number Of Alarm Clock Wake Upuint8#10Number Of Alarm Clock Repetitionsstring#11Enable And Showuint8#12Repeatuint8
Alarm Clock Data Monitoring
#3 · wakeuptest
Arguments
#20Alarm Clock Statusstring