
#viomi.vacuum.v13
Viomi V3
urn:miot-spec-v2:device:vacuum:0000A006:viomi-v13:2
Language
Service tree
Robot Cleaner#2 · vacuum11 properties8 actions1 events
Robot Cleaner
#2 · vacuum
Properties
State
#1 · status
- Format
- uint8
- Access
- R / N
- Value
- 0Sleep1Idle2Paused3Charging-Back4Charging5Vacuuming6Vacuuming-Mopping7Mopping
Error
#2 · fault
- Format
- uint32
- Access
- R / N
- Value
- 0 ~ 3000, step 1 none
Wide Dynamic Range Mode
#11 · wdr-mode
- Format
- uint8
- Access
- R / W / N
- Value
- 001122
Door State
#12 · door-state
- Format
- uint8
- Access
- R / N
- Value
- 00112233
Contact State
#13 · contact-state
- Format
- uint8
- Access
- R / N
- Value
- 0011
Stream URL
#14 · stream-address
- Format
- string
- Access
- Value
- —
Contact State
#15 · contact-state
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 120, 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
- 0Global1Mop2Edge3Area4Point5Control
Mode
#19 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Silent1Basic2Medium3Strong
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 · battery1 properties
Battery
#3 · battery
Properties
Battery Level
#1 · battery-level
- Format
- uint8
- Access
- R / N
- Value
- 0 ~ 100, step 1 percentage
扫地机#4 · viomi-vacuum30 properties6 actions4 events
扫地机
#4 · viomi-vacuum
Properties
二次清扫开关
#1 · repeat-state
- Format
- uint8
- Access
- R / W / N
- Value
- 01
记忆地图开关
#3 · remember-state
- Format
- uint8
- Access
- W / N / R
- Value
- 01
是否有记忆地图
#4 · has-map
- Format
- uint8
- Access
- R / N / W
- Value
- 01
清扫完成后,机器是否识别到新的地图,若是app弹框提示用户是否覆盖记忆地图
#5 · has-newmap
- Format
- uint8
- Access
- R / N / W
- Value
- 01
拖地/扫拖路线
#6 · mop-route
- Format
- uint8
- Access
- R / N / W
- Value
- 01
边刷剩余寿命百分比
#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
- 1234510
吸力大小
#17 · suction-grade
- Format
- uint8
- Access
- W / R / N
- Value
- 0123
出水量大小
#18 · water-grade
- Format
- uint8
- Access
- R / N / W
- Value
- 01挡12挡23挡
重置耗材方法参数
#19 · consumable-index
- Format
- uint8
- Access
- W / R / N
- Value
- 0123
选房间清扫时,传的房间id字符串参数,逗号分割,如:‘10,11,12,13’,若传空则是全局清扫
#20 · clean-room-ids
- Format
- string
- Access
- W / R / N
- Value
- —
选房间清扫模式
#21 · clean-room-mode
- Format
- uint8
- Access
- R / N / W
- Value
- 01
选房间清扫操作
#22 · clean-room-oper
- Format
- uint8
- Access
- R / N / W
- Value
- 0Stop1Start2Pause3False Stop
当前储存的地图数量
#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区域4定点
清扫方式
#30 · clean-way
- Format
- uint8
- Access
- R / N
- Value
- 012
设备当前语言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
Actions
重置地图
#7 · reset-map
标定
#10 · set-calibration
重置指定耗材的使用时间
#11 · reset-consumable
Input
#19重置耗材方法参数uint8
选房间清扫
#13 · set-room-clean
Input
#21选房间清扫模式uint8#22选房间清扫操作uint8#20选房间清扫时,传的房间id字符串参数,逗号分割,如:‘10,11,12,13’,若传空则是全局清扫string
create-new-map
#14 · create-new-map
set-queue-room-clean
#15 · set-queue-room-clean
Input
#21选房间清扫模式uint8#22选房间清扫操作uint8#20选房间清扫时,传的房间id字符串参数,逗号分割,如:‘10,11,12,13’,若传空则是全局清扫string
Events
拖布取下提示。当设备开始充电时,拖布未取下触发
#1 · mop-remind
待机时间超过6小时,推送并自动关机
#2 · wait-remind
待机时间过长且电量低于15%,推送并自动关机
#3 · low-remind
清扫结束上报
#4 · clean-end
Arguments
#25清扫开始时间,时间戳,单位秒int64#26清扫使用时间,单位秒uint32#27清扫总面积,单位m2uint32#28清扫地图urlstring#29清扫模式uint8#30清扫方式uint8
预约、勿扰相关#5 · order21 properties2 actions
预约、勿扰相关
#5 · order
Properties
预约id
#1 · order-id
- Format
- uint8
- Access
- W
- Value
- 0 ~ 100, step 1 none
是否开启该条预约
#2 · enable
- Format
- uint8
- Access
- W
- Value
- 01
转换成二进制后,每一位代表一天,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
- 01
预约清扫方式
#8 · clean-way
- Format
- uint8
- Access
- W
- Value
- 012
预约吸力大小
#9 · suction
- Format
- uint8
- Access
- W
- Value
- 0123
预约出水量大小
#10 · water
- Format
- uint8
- Access
- W
- Value
- 012
是否二次清扫
#11 · twice-clean
- Format
- uint8
- Access
- W
- Value
- 01
预约的地图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
- 01
勿扰开始小时
#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
时区偏移
#21 · timestamp
- Format
- int64
- Access
- N / W / R
- Value
- 0 ~ 9999999999, 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-zone4 properties4 actions
指哪扫那 划区 虚拟墙
#6 · point-zone
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
- —
暂停类型
#4 · pause-type
- Format
- uint8
- Access
- W
- Value
- 01
Actions
开始指哪扫那清扫
#1 · start-point-clean
暂停指哪扫那清扫
#2 · pause-point-clean
Input
#4暂停类型uint8
开始区域清扫
#5 · start-zone-clean
暂停区域清扫
#6 · pause-zone-clean
Input
#4暂停类型uint8
地图相关#7 · map11 properties10 actions
地图相关
#7 · map
Properties
上传的地图类型
#1 · map-type
- Format
- uint8
- Access
- R / N / W
- Value
- 012
地图id
#2 · map-id
- Format
- int64
- Access
- R / N / W
- Value
- 0 ~ 9999999999, step 1 none
识别到新地图时的操作参数
#3 · new-map-oper
- Format
- uint8
- Access
- W
- Value
- 012
地图名字
#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
- —
机器人当前清扫轨迹坐标 : [3.456,4.555,0.2,1,5.456,4.555,0.233,0,......]
#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
- —
Actions
上传指定类型的地图
#1 · upload-by-maptype
Input
#1上传的地图类型uint8
上传指定id的地图
#2 · upload-by-mapid
Input
#2地图idint64
设置当前地图
#3 · set-cur-map
Input
#2地图idint64
识别到新地图时操作
#4 · deal-new-map
Input
#3识别到新地图时的操作参数uint8
删除指定id的地图
#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
分割房间
#9 · split-room
Input
#2地图idint64#5语言参数string#7目标房间iduint8#8分割线段的两个端点坐标,如:'3.45,6.78|4.56,-3.45'string
房间重命名
#10 · rename-room
Input
#2地图idint64#7目标房间iduint8#9房间名称string
获取地图列表数据
#11 · get-map-list
Output
#11地图列表数据[{name : '地图1',id:1585849584,cur : true},{name : '地图2',id : 1585849784,cur : false}]string
声音相关#8 · voice6 properties3 actions
声音相关
#8 · voice
Properties
当前下载的语音包名字
#3 · target-voice
- Format
- string
- Access
- R / N / W
- Value
- —
当前在用的语音包名字
#4 · cur-voice
- Format
- string
- Access
- R / N / W
- Value
- —
下载状态
#5 · download-status
- Format
- uint8
- Access
- R / N / W
- Value
- 0121213141516171819202122
下载进度
#6 · download-progress
- Format
- uint8
- Access
- R / N / W
- Value
- 0 ~ 100, step 1 percentage
要下载的语音包链接
#7 · voice-url
- Format
- string
- Access
- W
- Value
- —
要下载的语音包的md5编码
#8 · voice-mdfive
- Format
- string
- Access
- W
- Value
- —
Actions
寻找扫地机
#2 · find-device
开始下载语音包
#3 · download-voice
Input
#3当前下载的语音包名字string#7要下载的语音包链接string#8要下载的语音包的md5编码string
获取语音包文件下载状态
#4 · get-downloadstatus
Output
#6下载进度uint8#3当前下载的语音包名字string#4当前在用的语音包名字string#5下载状态uint8