MIOT HomeMIOT Home
MIOT
#miot.switch.y0715

测试产品

urn:miot-spec-v2:device:switch:0000A003:miot-y0715:1:0000C810
版本 v2 v1
语言
Service tree
开关左键
#2 · switch
属性 3

Properties

1
#1 · on
格式
bool
读写
R / W / N
值
—
工作状态tyty
#2 · status
格式
uint8
读写
R / N
值
1Idle
2值Busy
故障
#3 · fault
格式
uint8
读写
R / N
值
0No Faults
Middle Switch Service
#3 · switch
属性 1

Properties

Switch Status
#1 · on
格式
bool
读写
R / W / N
值
—
开关一键
#4 · switch
属性 6

Properties

123
#1 · on
格式
bool
读写
R / W / N
值
—
Service Name
#2 · name
格式
string
读写
R / W / N
值
—
温度
#3 · temperature
格式
float
读写
R / N
值
-30 ~ 100,步长 1 celsius
模式
#4 · mode
格式
uint8
读写
R / W / N
值
0Auto
已工作时间
#6 · working-time
格式
uint32
读写
R / N
值
0 ~ 300,步长 1 minutes
故障
#7 · fault
格式
uint8
读写
R / N
值
0No Faults
空调
#5 · air-conditioner
属性 12

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
模式
#2 · mode
格式
uint8
读写
R / W / N
值
0Auto
故障
#3 · fault
格式
uint8
读写
R / N
值
0No Faults
设定温度
#4 · target-temperature
格式
float
读写
R / W / N
值
16 ~ 32,步长 1 celsius
工作状态
#5 · status
格式
uint8
读写
R / N
值
1Idle
2Busy
设定湿度
#6 · target-humidity
格式
uint8
读写
R / W / N
值
0 ~ 100,步长 1 percentage
ECO节能模式
#7 · eco
格式
bool
读写
R / W / N
值
—
负离子
#8 · anion
格式
bool
读写
R / W / N
值
—
辅热功能
#9 · heater
格式
bool
读写
R / W / N
值
—
干燥功能
#10 · dryer
格式
bool
读写
R / W / N
值
—
睡眠模式
#11 · sleep-mode
格式
bool
读写
R / W / N
值
—
柔风功能
#12 · soft-wind
格式
bool
读写
R / W / N
值
—
晾衣架
#6 · airer
属性 11

Properties

故障
#1 · fault
格式
uint8
读写
R / N
值
0No Faults
电机控制
#2 · motor-control
格式
uint8
读写
W
值
0Pause
开关
#3 · on
格式
bool
读写
R / W / N
值
—
工作状态
#4 · status
格式
uint8
读写
R / N
值
1Idle
2Busy
模式
#5 · mode
格式
uint8
读写
R / W / N
值
0Auto
设定位置(窗帘备注:0全遮住,100全拉开)
#6 · target-position
格式
uint8
读写
R / W / N
值
0 ~ 100,步长 1 percentage
当前位置(窗帘备注:0全遮住,100全拉开)
#7 · current-position
格式
uint8
读写
R / N
值
0 ~ 100,步长 1 percentage
干燥功能
#8 · dryer
格式
bool
读写
R / W / N
值
—
烘干级别
#9 · drying-level
格式
uint8
读写
R / W / N
值
1Level1
剩余时间
#10 · left-time
格式
uint16
读写
R / N
值
0 ~ 1440,步长 1 minutes
UV杀菌
#11 · uv
格式
bool
读写
R / W / N
值
—
电池
#7 · battery
属性 3

Properties

电池电量
#1 · battery-level
格式
uint8
读写
R / N
值
0 ~ 100,步长 1 percentage
电压
#3 · voltage
格式
uint16
读写
R / N
值
0 ~ 65535,步长 1
电池充电状态
#4 · charging-state
格式
uint8
读写
R / N
值
1Charging
2Not charging
3Not chargeable
风扇
#8 · fan
属性 11

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
无级变速1
#2 · fan-level
格式
uint8
读写
R / W / N
值
0静音
1值23
左右摆风
#3 · horizontal-swing
格式
bool
读写
R / W / N
值
—
上下摆风
#4 · vertical-swing
格式
bool
读写
R / W / N
值
—
左右摆风角度
#5 · horizontal-angle
格式
uint16
读写
R / W / N
值
0 ~ 360,步长 1
上下摆风角度
#6 · vertical-angle
格式
uint8
读写
R / W / N
值
0 ~ 90,步长 1
模式
#7 · mode
格式
uint8
读写
R / W / N
值
0Auto
工作状态
#8 · status
格式
uint8
读写
R / N
值
1Idle
2Busy
故障
#9 · fault
格式
uint8
读写
R / N
值
0No Faults
负离子
#10 · anion
格式
bool
读写
R / W / N
值
—
冷风功能
#11 · air-cooler
格式
bool
读写
R / W / N
值
—
移动侦测
#10 · motion-detection
属性 5

Properties

移动侦测
#1 · motion-detection
格式
bool
读写
R / W / N
值
—
报警时间间隔
#2 · alarm-interval
格式
uint8
读写
R / W / N
值
1 ~ 30,步长 1 minutes
侦测灵敏度
#3 · detection-sensitivity
格式
uint8
读写
R / W / N
值
1Low
2High
移动侦测开始时间
#4 · motion-detection-start-time
格式
string
读写
R / W / N
值
—
移动侦测结束时间
#5 · motion-detection-end-time
格式
string
读写
R / W / N
值
—
开关
#12 · switch
属性 7

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
11
#2 · name
格式
string
读写
R / W / N
值
—
工作状态
#3 · status
格式
uint8
读写
R / N
值
1Idle
2Busy
模式
#4 · mode
格式
uint8
读写
R / W / N
值
0Auto
故障
#5 · fault
格式
uint8
读写
R / N
值
0No Faults
温度
#6 · temperature
格式
float
读写
R / N
值
-30 ~ 100,步长 1 celsius
已工作时间
#7 · working-time
格式
uint32
读写
R / N
值
0 ~ 300,步长 1 minutes
电池233
#13 · battery
属性 3动作 6事件 2

Properties

电池电量123
#1 · battery-level
格式
uint8
读写
R / N
值
0 ~ 100,步长 1 percentage
电池充电状态
#2 · charging-state
格式
uint8
读写
R / N
值
1123
2Not charging
3Not chargeable
电压123
#3 · voltage
格式
uint16
读写
R / N
值
0 ~ 65535,步长 1 celsius

Actions

4
#1 · start-charge
开始充电
#2 · start-charge
2223
#3 · start-charge
开始充电
#4 · start-charge
开始充电
#5 · start-charge
开始
#6 · start-charge
出参
#1电池电量123uint8#2电池充电状态uint8#3电压123uint16

Events

5
#1 · low-battery
电量低233
#2 · low-battery
触发参数
#2电池充电状态uint8#3电压123uint16
提示音
#15 · alarm
属性 2

Properties

提示音
#1 · alarm
格式
bool
读写
R / W / N
值
—
音量
#2 · volume
格式
uint8
读写
R / W / N
值
0 ~ 100,步长 1 percentage
风
#18 · fan
属性 11

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
无级变速123
#2 · fan-level
格式
uint8
读写
R / W / N
值
012345
1五档
左右摆风
#3 · horizontal-swing
格式
bool
读写
R / W / N
值
—
上下摆风
#4 · vertical-swing
格式
bool
读写
R / W / N
值
—
左右摆风角度
#5 · horizontal-angle
格式
uint16
读写
R / W / N
值
0 ~ 360,步长 1
上下摆风角度
#6 · vertical-angle
格式
uint8
读写
R / W / N
值
0 ~ 90,步长 1
模式
#7 · mode
格式
uint8
读写
R / W / N
值
0Auto
工作状态
#8 · status
格式
uint8
读写
R / N
值
1Idle
2Busy
故障222
#9 · fault
格式
uint8
读写
R / N
值
02222
负离子
#10 · anion
格式
bool
读写
R / W / N
值
—
冷风功能
#11 · air-cooler
格式
bool
读写
R / W / N
值
—
电池
#19 · battery
属性 3动作 1事件 1

Properties

电池电量233
#1 · battery-level
格式
uint8
读写
R / N
值
0 ~ 100,步长 1 percentage
电池充电状态eee
#2 · charging-state
格式
uint8
读写
R / N
值
1233
2Not charging
3Not chargeable
电压
#3 · voltage
格式
uint16
读写
R / N
值
0 ~ 65535,步长 1

Actions

开
#1 · start-charge

Events

事件
#1 · low-battery
风扇
#20 · fan
属性 11

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
档位调速1
#2 · fan-level
格式
uint8
读写
R / W / N
值
0低风
1123
左右摆风
#3 · horizontal-swing
格式
bool
读写
R / W / N
值
—
上下摆风
#4 · vertical-swing
格式
bool
读写
R / W / N
值
—
左右摆风角度
#5 · horizontal-angle
格式
uint16
读写
R / W / N
值
0 ~ 360,步长 1
上下摆风角度
#6 · vertical-angle
格式
uint8
读写
R / W / N
值
0 ~ 90,步长 1
模式
#7 · mode
格式
uint8
读写
R / W / N
值
0Auto
工作状态
#8 · status
格式
uint8
读写
R / N
值
1Idle
2Busy
故障
#9 · fault
格式
uint8
读写
R / N
值
0No Faults
负离子
#10 · anion
格式
bool
读写
R / W / N
值
—
冷风功能23
#11 · air-cooler
格式
bool
读写
R / W / N
值
—
电池
#21 · battery
属性 3动作 1事件 1

Properties

电池电量
#1 · battery-level
格式
uint8
读写
R / N
值
0 ~ 100,步长 1 percentage
电池充电状态
#2 · charging-state
格式
uint8
读写
R / N
值
1Charging
2Not charging
3Not chargeable
电压
#3 · voltage
格式
uint16
读写
R / N
值
0 ~ 65535,步长 1

Actions

开始充电qwe456
#1 · start-charge

Events

电量低wewe
#1 · low-battery
风扇
#23 · fan
属性 11

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
档位调速2
#2 · fan-level
格式
uint8
读写
R / W / N
值
0低风
1开心
左右摆风
#3 · horizontal-swing
格式
bool
读写
R / W / N
值
—
上下摆风
#4 · vertical-swing
格式
bool
读写
R / W / N
值
—
左右摆风角度
#5 · horizontal-angle
格式
uint16
读写
R / W / N
值
0 ~ 360,步长 1
上下摆风角度
#6 · vertical-angle
格式
uint8
读写
R / W / N
值
0 ~ 90,步长 1
模式
#7 · mode
格式
uint8
读写
R / W / N
值
0Auto
工作状态
#8 · status
格式
uint8
读写
R / N
值
1Idle
2Busy
故障
#9 · fault
格式
uint8
读写
R / N
值
0No Faults
负离子
#10 · anion
格式
bool
读写
R / W / N
值
—
冷风功能34
#11 · air-cooler
格式
bool
读写
R / W / N
值
—
电池
#24 · battery
属性 4动作 1事件 1

Properties

电池电量123
#1 · battery-level
格式
uint8
读写
R / N
值
0 ~ 100,步长 1 percentage
电池充电状态23
#2 · charging-state
格式
uint8
读写
R / N
值
123
223
323
电压
#3 · voltage
格式
uint16
读写
R / N
值
0 ~ 65535,步长 1
电池充电状态
#4 · charging-state
格式
uint8
读写
R / N
值
1Charging
2Not Charging
3Not Chargeable
44

Actions

233
#1 · start-charge

Events

223
#1 · low-battery
空气检测仪
#26 · air-monitor
属性 4

Properties

开关
#1 · on
格式
bool
读写
R / W / N
值
—
工作状态
#2 · status
格式
uint8
读写
R / N
值
1Idle
2Busy
模式
#3 · mode
格式
uint8
读写
R / W / N
值
0Auto
故障
#4 · fault
格式
uint8
读写
R / N
值
0No Faults
zdy123
#14 · zdy
属性 2

Properties

值df
#1 · p
格式
bool
读写
值
—
值fdf
#2 · pr
格式
uint8
读写
值
1Ndd
50N-o.123
zdy
#17 · zdy
属性 4动作 3事件 3

Properties

123456789
#1 · pro
格式
bool
读写
值
—
值1
#2 · prop
格式
uint8
读写
R / N / W
值
1S
3333
#3 · prope
格式
int16
读写
W
值
20 ~ 60,步长 4 calorie
1
#4 · proper
格式
uint8
读写
W
值
11

Actions

值wd
#1 · a
入参
#1123456789bool#2值1uint8#33333int16
222值233
#2 · ac
223
#3 · act

Events

事件
#1 · e
值233
#2 · ev
触发参数
#33333int16
123
#3 · eve
触发参数
#2值1uint8#33333int16
5
#22 · zdy
属性 3动作 2事件 2

Properties

1we
#1 · pro
格式
bool
读写
值
—
2
#2 · prop
格式
uint8
读写
值
30Half
3
#3 · prope
格式
uint32
读写
值
20 ~ 100,步长 10 celsius

Actions

1we
#1 · a
2we
#2 · ac
出参
#11webool#22uint8#33uint32

Events

1we
#1 · e
2we
#2 · ev
触发参数
#11webool#22uint8#33uint32
6e
#25 · zdys
属性 3动作 2事件 2

Properties

134
#1 · pro
格式
bool
读写
值
—
2
#2 · prop
格式
uint8
读写
W / N
值
50Half
344
#3 · prope
格式
int32
读写
值
20 ~ 60,步长 5 hours

Actions

1
#1 · a
23434
#2 · ac
出参
#1134bool#22uint8#3344int32

Events

123
#1 · e
触发参数
#1134bool#22uint8#3344int32
234
#2 · ev