MIOT HomeMIOT Home
米家皮皮灯
#dreame.light.r2229

米家皮皮灯

urn:miot-spec-v2:device:light:0000A001:dreame-r2229:1
語言
Service tree
灯
#2 · light
屬性 4動作 1

Properties

开关
#1 · on
格式
bool
讀寫
R / W / N
值
—
模式
#2 · mode
格式
uint8
讀寫
R / W / N
值
4夜灯
3温馨
1电脑模式
2办公模式
255娱乐模式
0无特殊设定模式
亮度
#3 · brightness
格式
uint8
讀寫
R / W / N
值
1 ~ 100,步長 1 percentage
色温
#5 · color-temperature
格式
uint32
讀寫
R / W / N
值
2700 ~ 5700,步長 1 kelvin

Actions

开关状态切换
#1 · toggle
性格
#3 · character
屬性 3

Properties

情绪
#1 · mood
格式
uint8
讀寫
R / N
值
0 ~ 255,步長 1
生日
#2 · birthday
格式
string
讀寫
R / N / W
值
—
性格
#3 · personality
格式
int8
讀寫
R / N / W
值
1Sticky
2Noble
灯光模式
#4 · light-mode
屬性 2動作 10

Properties

灯光模式信息
#1 · light-mode-info
格式
string
讀寫
W
值
—
灯光模式ID
#2 · light-mode-id
格式
string
讀寫
值
—

Actions

删除灯光模式
#1 · delete-mode
入參
#2灯光模式IDstring
使能灯光模式
#3 · enable-mode
入參
#2灯光模式IDstring
亮度+
#4 · beightness-add
亮度-
#5 · brightness-minus
亮度切换
#6 · brightness-switch
色温+
#7 · colortmp-add
亮度-
#8 · colortmp-minus
色温切换
#9 · colortmp-switch
开或切换亮度
#10 · enable-or-switch-br
开或切换色温
#11 · enable-or-switch-co
灯光动作
#5 · light-motion
屬性 3動作 3

Properties

动作信息
#1 · ligth-motion-info
格式
string
讀寫
W
值
—
动作id
#2 · light-motion-id
格式
int32
讀寫
值
0 ~ 99,步長 1
动作列表
#3 · light-motion-list
格式
string
讀寫
R / N
值
—

Actions

删除动作
#1 · delete-motion
入參
#2动作idint32
使能动作
#2 · enable-motion
入參
#2动作idint32
获取动作详细信息
#3 · get-motion-detail
入參
#2动作idint32
出參
#1动作信息string
定时
#6 · timer
屬性 6動作 1

Properties

时区
#1 · timer-zone
格式
string
讀寫
R / N
值
—
定时开关列表
#2 · timer-info
格式
string
讀寫
R / N / W
值
—
定时任务id
#3 · timer-id
格式
string
讀寫
值
—
延时开关
#4 · timer-delay-switch
格式
uint8
讀寫
R / N / W
值
0Closed
1Opened
设置的延时时长
#5 · timer-delay-value
格式
uint16
讀寫
W / R / N
值
0 ~ 1440,步長 1
延时剩余时间
#6 · delay-left-value
格式
uint16
讀寫
R / N
值
0 ~ 1440,步長 1

Actions

删除定时任务
#1 · delete-timer
入參
#3定时任务idstring
互动
#7 · interaction
屬性 3

Properties

互动开关
#1 · interaction-switch
格式
uint8
讀寫
R / N / W
值
0Closed
1Opend
互动手势
#2 · interaction-gesture
格式
uint8
讀寫
R / N
值
1Five
2Four
3Three
4Love
5Rock
6Yeah
7Gun
8Six
9One
10Pink
11Thumbup
12Ok
13Fist
14Heart
16Shoot
21Stretch-hand
22Make-fist
23Pinch-finger
0None
跟随开关
#3 · flow-switch
格式
uint8
讀寫
W / R / N
值
0Closed
1Opened
遥控
#8 · remote-control
屬性 1動作 3

Properties

遥控数据
#1 · info
格式
string
讀寫
W
值
—

Actions

开始遥控
#1 · remote-start
结束遥控
#2 · remote-end
重置
#3 · reset
机器相关状态
#9 · robot-related
屬性 3動作 1

Properties

告警
#1 · faluts
格式
string
讀寫
R / N
值
—
照明开关
#2 · lighting-switch
格式
uint8
讀寫
R / N / W
值
0Closed
1Opend
工作状态
#3 · work-mode
格式
uint8
讀寫
R / N
值
0 ~ 255,步長 1

Actions

开或关闭灯光
#1 · lighting-toggle