MIOT HomeMIOT Home
Viomi V5 Pro
#viomi.vacuum.v38

Viomi V5 Pro

urn:miot-spec-v2:device:vacuum:0000A006:viomi-v38:2
Version v2 v1
Language
Service tree
Robot Cleaner
#2 · vacuum
11 properties8 actions1 events

Properties

State
#1 · status
Format
uint8
Access
R / N
Value
0Sleep
1Idle
2Paused
3Charging-Back
4Charging
5Vacuuming
6Vacuuming-Mopping
7Mopping
Error
#2 · fault
Format
uint32
Access
R / N
Value
0No Error
1Low Battery Find Charge
2Low Bat Need Poweroff
3Wheel Trap
4Collision Error
5Tile Do Task
6Lidar Point Err
7Front Wall Err
8Along Wall Err
9Mid Brush Err
10Side Brush Err
11Fan Err
12Lidar Cover
13Garbage Full
14Garbage Out
15Garbage Full Out
16Trapped
17Pick Up
20Cannot Arrive
21Start From Forbid
22Drop
23Kit Water Pump
24Find Charge Failed
18Garbage Out
25No Mop Clean
26Low Battery Cant Clean
Wide Dynamic Range Mode
#11 · wdr-mode
Format
uint8
Access
R / W / N
Value
00
11
22
33
Door State
#12 · door-state
Format
uint8
Access
R / N
Value
00
11
22
33
Contact State
#13 · contact-state
Format
uint8
Access
R / N
Value
00
11
Stream URL
#14 · stream-address
Format
string
Access
Value
—
Contact State
#15 · contact-state
Format
uint16
Access
R / N
Value
0 ~ 999, step 1 minutes
Contact State
#16 · contact-state
Format
uint16
Access
R / N
Value
0 ~ 1200, step 1 none
Mute
#17 · mute
Format
uint8
Access
R / W / N
Value
0 ~ 10, step 1 none
Sweep Type
#4 · sweep-type
Format
uint8
Access
R / W / N
Value
0Total
2Wall
3Zone
4Point
5Control
Mode
#19 · mode
Format
uint8
Access
R / W / N
Value
0Silent
1Basic
2Medium
3Strong

Actions

Start
#1 · start-sweep
Stop
#2 · stop-sweeping
Pause
#3 · pause
Charge-Back
#4 · start-charge
Stop Returning
#5 · stop-massage
Start
#6 · start-mop
Start
#7 · start-only-sweep
Start
#8 · start-sweep-mop

Events

Exception Occurred
#2 · exception-occurred
Arguments
#2Erroruint32
Battery
#3 · battery
1 properties

Properties

Battery Level
#1 · battery-level
Format
uint8
Access
R / N
Value
0 ~ 100, step 1 percentage
扫地机
#4 · viomi-vacuum
35 properties6 actions5 events

Properties

#1 · repeat-state
Format
uint8
Access
R / W / N
Value
0关
1开
#3 · remember-state
Format
uint8
Access
W / N / R
Value
0关
1开
#6 · mop-route
Format
uint8
Access
R / N / W
Value
0弓字形
1Y字形
边刷剩余寿命百分比
#8 · side-brush-life
Format
uint8
Access
R / N
Value
0 ~ 100, step 1 percentage
边刷剩余寿命小时
#9 · side-brush-hours
Format
uint8
Access
R / N
Value
0 ~ 180, step 1 hours
主刷剩余寿命百分比
#10 · main-brush-life
Format
uint8
Access
R / N
Value
0 ~ 100, step 1 percentage
主刷剩余寿命小时
#11 · main-brush-hours
Format
uint16
Access
R / N
Value
0 ~ 360, step 1 hours
#12 · hypa-life
Format
uint8
Access
R / N
Value
0 ~ 100, step 1 percentage
#13 · hypa-hours
Format
uint8
Access
R / N
Value
0 ~ 180, step 1 hours
拖布剩余寿命百分比
#14 · mop-life
Format
uint8
Access
R / N
Value
0 ~ 100, step 1 percentage
拖布剩余寿命小时
#15 · mop-hours
Format
uint8
Access
R / N
Value
0 ~ 180, step 1 hours
#16 · direction
Format
uint8
Access
W
Value
1向前
2向左
3向右
4向后
5停止
#17 · suction-grade
Format
uint8
Access
W / R / N
Value
0安静
1标准
2中档
3强力
出水量大小
#18 · water-grade
Format
uint8
Access
R / N / W
Value
01挡
12挡
23挡
当前储存的地图数量
#23 · map-num
Format
uint8
Access
R / N
Value
0 ~ 5, step 1 none
设备时区属性
#24 · time-zone
Format
int32
Access
R / N / W
Value
-99999 ~ 99999, step 1 none
清扫开始时间,时间戳,单位秒
#25 · clean-start-time
Format
int64
Access
R / N
Value
0 ~ 9999999999, step 1 seconds
清扫使用时间,单位秒
#26 · clean-use-time
Format
uint32
Access
R / N
Value
0 ~ 99999, step 1 seconds
清扫总面积,单位m2
#27 · clean-area
Format
uint32
Access
R / N
Value
0 ~ 9999, step 1 none
清扫地图url
#28 · clean-map-url
Format
string
Access
R / N
Value
—
#29 · clean-mode
Format
uint8
Access
R / N
Value
0全局
1沿边
2区域
3定点
#30 · clean-way
Format
uint8
Access
R / N
Value
0扫地
1扫拖
2拖地
设备当前语言de en ru zh
#31 · cur-lang
Format
string
Access
R / N / W
Value
—
当前地图id
#32 · cur-map-id
Format
uint32
Access
R / N
Value
0 ~ 2147483647, step 1 none
#33 · cur-map-url
Format
string
Access
R / N / W
Value
—
last-update-time
#34 · last-update-time
Format
int64
Access
R / N
Value
0 ~ 9999999999, step 1 seconds
consumable-index
#35 · consumable-index
Format
uint8
Access
W
Value
0边刷
1主刷
2尘盒
3拖布
clean-room-mode
#36 · clean-room-mode
Format
uint8
Access
W
Value
0全局
1沿边
clean-room-oper
#37 · clean-room-oper
Format
uint8
Access
W
Value
0停止
1开始
2暂停
clean-room-ids
#38 · clean-room-ids
Format
string
Access
W
Value
—
has-map
#39 · has-map
Format
uint8
Access
R / N
Value
0没有记忆图
1有记忆图
has-newmap
#40 · has-newmap
Format
uint8
Access
R / N
Value
0None
1New
2Cover
custom-room-clean
#42 · custom-room-clean
Format
string
Access
R / N / W
Value
—
cleantimes
#43 · cleantimes
Format
uint8
Access
W
Value
1 ~ 10, step 1
swept-area-type
#44 · swept-area-type
Format
uint8
Access
R / N / W
Value
0RoomClean
1AllClean
2PartClean

Actions

重置地图
#7 · reset-map
标定
#10 · set-calibration
重置指定耗材的使用时间
#11 · reset-consumable
Input
#35consumable-indexuint8
选房间清扫
#13 · set-room-clean
Input
#36clean-room-modeuint8#37clean-room-operuint8#38clean-room-idsstring
set-custom-clean
#14 · set-custom-clean
plugin-active
#16 · plugin-active

Events

拖布取下提示。当设备开始充电时,拖布未取下触发
#1 · mop-remind
待机时间超过6小时,推送并自动关机
#2 · wait-remind
low-remind
#3 · low-remind
清扫结束上报
#4 · clean-end
Arguments
#25清扫开始时间,时间戳,单位秒int64#26清扫使用时间,单位秒uint32#27清扫总面积,单位m2uint32#28清扫地图urlstring#29uint8#30uint8
upload-clean-record
#5 · upload-clean-record
预约、勿扰相关
#5 · order
21 properties2 actions

Properties

预约id
#1 · order-id
Format
uint8
Access
W
Value
0 ~ 100, step 1 none
是否开启该条预约
#2 · enable
Format
uint8
Access
W
Value
0
1
转换成二进制后,每一位代表一天,1 - 预约 0 - 无预约,bit0-bit6 星期日-星期六
#3 · day
Format
uint16
Access
W
Value
0 ~ 256, step 1 none
预约小时(24小时制)
#4 · hour
Format
uint8
Access
W
Value
0 ~ 23, step 1 none
预约分钟
#5 · minute
Format
uint8
Access
W
Value
0 ~ 59, step 1 none
是否重复
#6 · repeat
Format
uint8
Access
W
Value
0
1
#8 · clean-way
Format
uint8
Access
W
Value
0扫地
1扫拖
2拖地
预约吸力大小
#9 · suction
Format
uint8
Access
W
Value
0
1
2
3
预约出水量大小
#10 · water
Format
uint8
Access
W
Value
0
1
2
是否二次清扫
#11 · twice-clean
Format
uint8
Access
W
Value
0
1
预约的地图id,若没地图则传0
#12 · mapid
Format
uint32
Access
W
Value
0 ~ 99999999, step 1 none
预约的房间数量
#13 · room-count
Format
uint8
Access
W
Value
0 ~ 64, step 1 none
预约的房间数据JSON字符串[{name:'房间1',id:10},{name:'房间2‘,id:11},{...},{...}...]
#14 · room-data
Format
string
Access
W
Value
—
勿扰是否打开
#15 · dnd-enable
Format
uint8
Access
R / N / W
Value
0
1
勿扰开始小时
#16 · dnd-start-hour
Format
uint8
Access
W / R / N
Value
0 ~ 23, step 1 hours
勿扰开始分钟
#17 · dnd-start-minute
Format
uint8
Access
R / N / W
Value
0 ~ 59, step 1 minutes
勿扰结束小时
#18 · dnd-end-hour
Format
uint8
Access
R / N / W
Value
0 ~ 23, step 1 hours
勿扰结束分钟
#19 · dnd-end-minute
Format
uint8
Access
R / N / W
Value
0 ~ 59, step 1 minutes
时区参数
#20 · dnd-timezone
Format
int32
Access
R / N / W
Value
-99999 ~ 99999, step 1 none
timestamp
#21 · timestamp
Format
int64
Access
N / W / R
Value
-999999 ~ 999999, step 1 none
N组预约数据逗号分割,每组数据内的具体数据用下划线_分割 {order_id}_{order_enable}_{week}_{hour}_{minute}_{repeat}_{mode}_{suction}_{water}_{twice}_{mapid}_{room_size}_{roomid}_{roomname}
#22 · orderdata
Format
string
Access
R / N
Value
—

Actions

删除一组预约
#2 · del
Input
#1预约iduint8
获取预约数据
#3 · get
Output
#22N组预约数据逗号分割,每组数据内的具体数据用下划线_分割 {order_id}_{order_enable}_{week}_{hour}_{minute}_{repeat}_{mode}_{suction}_{water}_{twice}_{mapid}_{room_size}_{roomid}_{roomname}string
指哪扫那 划区 虚拟墙
#6 · point-zone
4 properties4 actions

Properties

指哪扫那目标点,XY逗号分割,如’3.23,6.89‘
#1 · target-point
Format
string
Access
W / R / N
Value
—
划区的四个顶点坐标 'x1,y1,x2,y2,x3,y3,x4,y4'
#2 · zone-points
Format
string
Access
W
Value
—
虚拟墙JSON数据如[2,'2_2_-6.34_-3.6_-8.6_-10.23','3_3_2.33_1.33_4.23_3.44_2.44_6.77_1.22_3.44'],就是设置了2组虚拟墙坐标第1组id是2,类型值是2表示线段,两端坐标为(-6.34,-3.6)和(-8.6,-10.23)第2组id是3,类型值是3表示四边形,4个点按顺序依次相连并闭合,坐标为(2.33,1.33)(4.23,3.44)(2.44,6.77)(1.22,3.44)
#3 · restrict-points
Format
string
Access
W
Value
—
multiple-zone-points
#4 · multiple-zone-points
Format
string
Access
W
Value
—

Actions

开始指哪扫那清扫
#1 · start-point-clean
pause-point-clean
#2 · pause-point-clean
开始区域清扫
#5 · start-zone-clean
pause-zone-clean
#6 · pause-zone-clean
地图相关
#7 · map
15 properties12 actions

Properties

#1 · map-type
Format
uint8
Access
R / N / W
Value
0上传到url0
1上传到url1
2上传到url2
地图id
#2 · map-id
Format
int64
Access
R / N / W
Value
0 ~ 9999999999, step 1 none
地图名字
#4 · map-name
Format
string
Access
R / N / W
Value
—
语言参数
#5 · lang
Format
string
Access
W
Value
—
要合并的房间id参数,逗号分割,如:‘10,11,12’表示合并房间id为10,11,12的房间;
#6 · arrange-room-ids
Format
string
Access
W
Value
—
目标房间id
#7 · target-room-id
Format
uint8
Access
W
Value
0 ~ 128, step 1 none
分割线段的两个端点坐标,如:'3.45,6.78|4.56,-3.45'
#8 · split-points
Format
string
Access
W
Value
—
房间名称
#9 · room-name
Format
string
Access
W
Value
—
#10 · cur-cleaning-path
Format
string
Access
R / N
Value
—
地图列表数据[{name : '地图1',id:1585849584,cur : true},{name : '地图2',id : 1585849784,cur : false}]
#11 · map-list
Format
string
Access
R / N
Value
—
#12 · last-point-index
Format
int32
Access
Value
0 ~ 2147483647, step 1 none
#13 · oper-result
Format
string
Access
R / N
Value
—
auto-area-id
#14 · auto-area-id
Format
int64
Access
R / N
Value
0 ~ 9999999999, step 1 none
map-download-url
#15 · map-download-url
Format
string
Access
Value
—
new-map-oper
#16 · new-map-oper
Format
uint8
Access
Value
0 ~ 2, step 1 none

Actions

上传指定类型的地图
#1 · upload-by-maptype
上传指定id的地图
#2 · upload-by-mapid
设置当前地图
#3 · set-cur-map
Input
#2地图idint64#15map-download-urlstring
del-map
#5 · del-map
Input
#2地图idint64
重命名地图
#7 · rename-map
Input
#2地图idint64#4地图名字string
合并房间
#8 · arrange-room
Input
#2地图idint64#5语言参数string#6要合并的房间id参数,逗号分割,如:‘10,11,12’表示合并房间id为10,11,12的房间;string#14auto-area-idint64
Output
#13string
分割房间
#9 · split-room
Input
#2地图idint64#5语言参数string#7目标房间iduint8#8分割线段的两个端点坐标,如:'3.45,6.78|4.56,-3.45'string#14auto-area-idint64
房间重命名
#10 · rename-room
Input
#2地图idint64#7目标房间iduint8#9房间名称string#14auto-area-idint64
获取地图列表数据
#11 · get-map-list
Output
#11地图列表数据[{name : '地图1',id:1585849584,cur : true},{name : '地图2',id : 1585849784,cur : false}]string
get-cleaning-path
#12 · get-cleaning-path
Input
#12int32
Output
#10string
set-new-map
#13 · set-new-map
deal-new-map
#14 · deal-new-map
Input
#16new-map-operuint8
声音相关
#8 · voice
6 properties3 actions

Properties

target-voice
#3 · target-voice
Format
string
Access
N / W / R
Value
—
cur-voice
#4 · cur-voice
Format
string
Access
R / N
Value
—
download-status
#5 · download-status
Format
uint8
Access
R / N
Value
0
1
2
12
13
14
15
16
17
18
19
20
21
22
#6 · download-progress
Format
uint8
Access
R / N
Value
0 ~ 100, step 1 none
voice-url
#7 · voice-url
Format
string
Access
W
Value
—
voice-mdfive
#8 · voice-mdfive
Format
string
Access
W
Value
—

Actions

寻找扫地机
#2 · find-device
download-voice
#3 · download-voice
Input
#3target-voicestring#7voice-urlstring#8voice-mdfivestring
get-downloadstatus
#4 · get-downloadstatus
Output
#6uint8#3target-voicestring#4cur-voicestring#5download-statusuint8