MIOT HomeMIOT Home
米家桌面学习灯 Max
#xiaomi.light.max

米家桌面学习灯 Max

urn:miot-spec-v2:device:light:0000A001:xiaomi-max:1:0000C801
Language
Service tree
Light
#2 · light
11 properties3 actions

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
Default Power On State
#3 · default-power-on-state
Format
uint8
Access
R / W / N
Value
0Default
1On
2Off
Working Time
#4 · working-time
Format
uint32
Access
R / N
Value
0 ~ 1440, step 1 minutes
Brightness Delta
#5 · brightness-delta
Format
uint8
Access
Value
1 ~ 30, step 1 percentage
Light On Times
#6 · light-on-times
Format
uint16
Access
R / N
Value
0 ~ 1000, step 1 times
Mode
#7 · mode
Format
uint8
Access
R / W / N
Value
0None
1Reading
2Screen
Night Light Switch
#8 · night-light-switch
Format
bool
Access
R / W / N
Value
—
Night Brightness
#9 · night-brightness
Format
uint8
Access
R / W / N
Value
1 ~ 30, step 1 percentage
Enable Time Period
#10 · enable-time-period
Format
string
Access
R / W / N
Value
—
Auto Lighting
#12 · auto-lighting
Format
bool
Access
R / W / N
Value
—

Actions

Toggle
#1 · toggle
Brightness Up
#2 · brightness-up
Input
#5Brightness Deltauint8
Brightness Down
#3 · brightness-down
Input
#5Brightness Deltauint8
Delay
#3 · delay
3 properties

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
1 ~ 60, step 1 minutes
Physical Control Locked
#4 · physical-controls-locked
1 properties

Properties

Physical Control Locked
#1 · physical-controls-locked
Format
bool
Access
R / W / N
Value
—
Focus Mode
#6 · focus-mode
4 properties

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 times
Occupancy Sensor
#7 · occupancy-sensor
4 properties

Properties

Occupancy Status
#1 · occupancy-status
Format
uint8
Access
R / N
Value
0Invalid
1No One
2Has One
No One Determine Time
#2 · no-one-determine-time
Format
float
Access
R / W / N
Value
0.5 ~ 30, step 0.5 minutes
Detection Distance
#3 · detection-distance
Format
uint8
Access
R / W / N
Value
0Near
1Far
Enable Switch
#4 · enable-switch
Format
bool
Access
R / W / N
Value
—
Light
#8 · light
1 properties

Properties

Switch Status
#1 · on
Format
bool
Access
R / W / N
Value
—
Light
#9 · light
1 properties

Properties

Switch Status
#1 · on
Format
bool
Access
R / W / N
Value
—
yeelight
#5 · yeelight
13 properties2 events

Properties

on-then-delayoff
#1 · on-then-delayoff
Format
uint8
Access
W
Value
1 ~ 60, step 1 minutes
long-sit-count
#3 · long-sit-count
Format
uint16
Access
R / N
Value
0 ~ 100, step 1
#4 · long-sit-detect
Format
bool
Access
R / N / W
Value
—
#5 · low-light-duration
Format
uint32
Access
R / N
Value
0 ~ 1440, step 1 minutes
low-light-detect
#6 · low-light-detect
Format
bool
Access
R / N / W
Value
—
light-state
#7 · light-state
Format
uint8
Access
R / N
Value
0Off
1Reading
2Screen
3Other
#8 · screen-auto-off
Format
bool
Access
R / N / W
Value
—
#9 · long-sit-duration
Format
uint16
Access
R / N / W
Value
30 ~ 120, step 10 minutes
low-light-state
#10 · low-light-state
Format
uint8
Access
R / N
Value
0Normal Light
1Low Light
#11 · close-lowlight-alarm
Format
uint8
Access
W
Value
1Close Lowlight Alarm
#12 · close-longsit-alarm
Format
uint8
Access
W
Value
1Close Longsit Alarm
#13 · long-sit-state
Format
uint8
Access
R / N
Value
0Long Sit Exit
1Long Sit
#14 · workmode
Format
uint8
Access
R / N
Value
1Main
2Bgnd
3Both

Events

on-by-human-detect
#1 · on-by-human-detect
off-by-human-detect
#2 · off-by-human-detect