MIOT HomeMIOT Home
Viomi V5
#viomi.vacuum.v36

Viomi V5

urn:miot-spec-v2:device:vacuum:0000A006:viomi-v36: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
8Vacuuming
9Error
10Relocating
Error
#2 · fault
Format
uint32
Access
R / N
Value
0No Error
201Left Wheel Dangle
202Right Wheel Dang
203Left Wheel Trap
204Right Wheel Trap
205Main Brush Struck
206Side Brush Struck
207Charge Error
208Cliff Error
209Bump Error
210Vacuum Motor Error
211No Dust Box
212No Water Tank
213Robot Pick Up
214Robot Trapped
215Laser Bump Error
216Laser Data Error
217Tof Data Error
218Virtual Wall Error
219Target Unreachable
220Laser Stuck
221No Find Cradle
222Water Pump Open Circuit
223Robot Tilt
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
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 properties1 actions

Properties

Battery Level
#1 · battery-level
Format
uint8
Access
R / N
Value
0 ~ 100, step 1 percentage

Actions

Start Charge
#1 · start-charge
扫地机
#4 · viomi-vacuum
35 properties6 actions8 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挡
设备时区属性
#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
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
carpet-press
#45 · carpet-press
Format
uint8
Access
R / N / W
Value
0Close
1Open
calibration-param
#46 · calibration-param
Format
bool
Access
R / N
Value
—

Actions

重置地图
#7 · reset-map
set-calibration
#10 · set-calibration
Output
#46calibration-parambool
重置指定耗材的使用时间
#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
plug-in-heartbeat
#15 · plug-in-heartbeat

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
low-goto-charge
#6 · low-goto-charge
check-clean-box
#7 · check-clean-box
low-goto-clean
#8 · low-goto-clean
预约、勿扰相关
#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
room-data
#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
orderdata
#22 · orderdata
Format
string
Access
R / N
Value
—

Actions

删除一组预约
#2 · del
Input
#1预约iduint8
获取预约数据
#3 · get
Output
#22orderdatastring
指哪扫那 划区 虚拟墙
#6 · point-zone
3 properties2 actions

Properties

target-point
#1 · target-point
Format
string
Access
W / R / N
Value
—
restrict-points
#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
地图相关
#7 · map
21 properties13 actions8 events

Properties

地图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
—
arrange-room-ids
#6 · arrange-room-ids
Format
string
Access
W
Value
—
目标房间id
#7 · target-room-id
Format
uint8
Access
W
Value
0 ~ 128, step 1 none
split-points
#8 · split-points
Format
string
Access
W
Value
—
房间名称
#9 · room-name
Format
string
Access
W
Value
—
cur-cleaning-path
#10 · cur-cleaning-path
Format
string
Access
R / N
Value
—
map-list
#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
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
map-file-name
#17 · map-file-name
Format
string
Access
Value
—
map-file-type
#18 · map-file-type
Format
int8
Access
N
Value
01
map-show-file-name
#19 · map-show-file-name
Format
string
Access
Value
—
map-finish-state
#20 · map-finish-state
Format
uint8
Access
R / N / W
Value
0Give-up
1Save
clean-map-state
#21 · clean-map-state
Format
uint8
Access
R / N / W
Value
0Unfinished
1Done
del-map-event
#22 · del-map-event
Format
string
Access
R / N / W
Value
—
map-heart-beat
#23 · map-heart-beat
Format
bool
Access
R / N / W
Value
—

Actions

上传指定id的地图
#2 · upload-by-mapid
set-cur-map
#3 · set-cur-map
Input
#2地图idint64#4地图名字string#15map-download-urlstring
del-map
#5 · del-map
Input
#2地图idint64#22del-map-eventstring
rename-map
#7 · rename-map
Input
#2地图idint64#4地图名字string
合并房间
#8 · arrange-room
Input
#2地图idint64#5语言参数string#6arrange-room-idsstring#14auto-area-idint64
Output
#13string
split-room
#9 · split-room
Input
#2地图idint64#5语言参数string#7目标房间iduint8#8split-pointsstring#14auto-area-idint64
Output
#13string
房间重命名
#10 · rename-room
Input
#2地图idint64#7目标房间iduint8#9房间名称string#14auto-area-idint64
获取地图列表数据
#11 · get-map-list
Output
#11map-liststring
get-cleaning-path
#12 · get-cleaning-path
Input
#12int32
Output
#10cur-cleaning-pathstring
set-new-map
#13 · set-new-map
test-save-map-btn
#15 · test-save-map-btn
yw-rename-map
#16 · yw-rename-map
Input
#2地图idint64#4地图名字string#17map-file-namestring#19map-show-file-namestring
save-map-to-cloud
#17 · save-map-to-cloud
Input
#20map-finish-stateuint8

Events

save-map-event
#1 · save-map-event
Arguments
#2地图idint64#4地图名字string#17map-file-namestring#19map-show-file-namestring
save-map-event-two
#2 · save-map-event-two
Arguments
#2地图idint64#4地图名字string#17map-file-namestring#19map-show-file-namestring
save-map-event-three
#3 · save-map-event-three
Arguments
#2地图idint64#4地图名字string#17map-file-namestring#19map-show-file-namestring
save-map-event-four
#4 · save-map-event-four
Arguments
#2地图idint64#4地图名字string#17map-file-namestring#19map-show-file-namestring
save-map-event-five
#5 · save-map-event-five
Arguments
#2地图idint64#4地图名字string#17map-file-namestring#19map-show-file-namestring
save-map-event-six
#6 · save-map-event-six
Arguments
#2地图idint64#4地图名字string#17map-file-namestring#19map-show-file-namestring
save-map-event-seven
#7 · save-map-event-seven
Arguments
#2地图idint64#4地图名字string#17map-file-namestring#19map-show-file-namestring
save-map-event-eight
#8 · save-map-event-eight
Arguments
#2地图idint64#4地图名字string#17map-file-namestring#19map-show-file-namestring
声音相关
#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
0Finish
1Unfinished
#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
#3target-voicestring#4cur-voicestring#5download-statusuint8#6uint8