MIOT HomeMIOT Home
MIOT
#miot.switch.testsw

miot.switch.testsw

urn:miot-spec-v2:device:switch:0000A003:miot-testsw:1
语言
Service tree
开关
#2 · switch
属性 1动作 1

Properties

开关
#1 · on
格式
bool
读写
R / W / N

Actions

开关状态切换
#1 · toggle
指示灯
#4 · indicator-light
属性 8

Properties

开关
#1 · on
格式
bool
读写
R / W / N
模式
#2 · mode
格式
uint8
读写
R / W / N
0Auto
亮度
#3 · brightness
格式
uint8
读写
R / W / N
1 ~ 100,步长 1
颜色
#4 · color
格式
uint32
读写
R / W / N
0 ~ 16777215,步长 1
色温
#5 · color-temperature
格式
uint32
读写
R / W / N
1000 ~ 10000,步长 1
流光功能
#6 · flow
格式
bool
读写
R / W / N
饱和度
#7 · saturability
格式
uint8
读写
R / W / N
0 ~ 100,步长 1
自动熄灯
#8 · auto-lights-off
格式
bool
读写
R / W / N