
#xiaomi.light.bar2
米家显示器挂灯2
urn:miot-spec-v2:device:light:0000A001:xiaomi-bar2:1:0000C802
Language
Service tree
Light#2 · light9 properties5 actions
Light
#2 · light
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Brightness
#2 · brightness
- Format
- uint8
- Access
- R / W / N
- Value
- 1 ~ 100, step 1 percentage
Color Temperature
#3 · color-temperature
- Format
- uint16
- Access
- R / W / N
- Value
- 2700 ~ 6500, step 1 kelvin
Mode
#4 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0None1Computer2Warmth3Leisure4Office
Default Power On State
#5 · default-power-on-state
- Format
- uint8
- Access
- R / W / N
- Value
- 0Default1On2Off
Light On Gradient Time
#6 · light-on-gradient-time
- Format
- float
- Access
- R / W / N
- Value
- 0 ~ 10, step 0.5 seconds
Light Off Gradient Time
#7 · light-off-gradient-time
- Format
- float
- Access
- R / W / N
- Value
- 0 ~ 10, step 0.5 seconds
Brightness Delta
#8 · brightness-delta
- Format
- uint8
- Access
- Value
- 1 ~ 30, step 1 percentage
Color Temperature Delta
#9 · color-temperature-delta
- Format
- uint16
- Access
- Value
- 200 ~ 2400, step 100 kelvin
Actions
Toggle
#1 · toggle
Brightness Down
#2 · brightness-down
Input
#8Brightness Deltauint8
Brightness Up
#3 · brightness-up
Input
#8Brightness Deltauint8
Color Temperature Down
#4 · color-temperature-down
Input
#9Color Temperature Deltauint16
Color Temperature Up
#5 · color-temperature-up
Input
#9Color Temperature Deltauint16
Delay#3 · delay3 properties
Delay
#3 · delay
Properties
Delay
#1 · delay
- Format
- bool
- Access
- R / W / N
- Value
- —
Delay Time
#2 · delay-time
- Format
- uint32
- Access
- R / W / N
- Value
- 1 ~ 60, step 1 minutes
Delay Remain Time
#3 · delay-remain-time
- Format
- uint32
- Access
- R / N
- Value
- 0 ~ 60, step 1 minutes
Focus Mode#4 · focus-mode4 properties
Focus Mode
#4 · focus-mode
Properties
Switch Status
#1 · on
- Format
- bool
- Access
- R / W / N
- Value
- —
Focus Time
#2 · focus-time
- Format
- uint8
- Access
- R / W / N
- Value
- 1 ~ 90, step 1 minutes
Rest Time
#3 · rest-time
- Format
- uint8
- Access
- R / W / N
- Value
- 1 ~ 90, step 1 minutes
Recycle Number
#4 · recycle-number
- Format
- uint8
- Access
- R / W / N
- Value
- 1 ~ 60, step 1
Remote Control Management#5 · remote-control-management1 properties1 actions
Remote Control Management
#5 · remote-control-management
Properties
Remote Control List
#1 · remote-control-list
- Format
- string
- Access
- R / N
- Value
- —
Actions
Delete Remote Control
#1 · delete-remote-control
Input
#1Remote Control Liststring
yeelight#6 · yeelight6 properties
yeelight
#6 · yeelight
Properties
#1 · double-click-en
- Format
- bool
- Access
- R / N / W
- Value
- —
double-click-func
#2 · double-click-func
- Format
- uint8
- Access
- R / N / W
- Value
- 1Set-Mode2Start-Delay3Start-Focus
#3 · double-click-bright
- Format
- uint8
- Access
- R / N / W
- Value
- 1 ~ 100, step 1 percentage
double-click-ct
#4 · double-click-ct
- Format
- uint16
- Access
- R / N / W
- Value
- 2700 ~ 6500, step 1 kelvin
#5 · on-then-delayoff
- Format
- uint8
- Access
- W
- Value
- 1 ~ 60, step 1 minutes
#6 · double-click-mode
- Format
- uint8
- Access
- R / N / W
- Value
- 1Mode12Mode23Mode34Mode45Custom-Mode