MIOT HomeMIOT Home
Viomi Alpha 2 Max
#viomi.vacuum.v41

Viomi Alpha 2 Max

urn:miot-spec-v2:device:vacuum:0000A006:viomi-v41:1
語言
Service tree
Robot Cleaner
#2 · vacuum
屬性 11動作 8事件 1

Properties

工作狀態
#1 · status
格式
uint8
讀寫
R / N
值
0睡眠
1待機
2暫停
3回充中
4充電中
5清掃中
6掃拖中
7拖地中
Error
#2 · fault
格式
uint32
讀寫
R / N
值
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
格式
uint8
讀寫
R / W / N
值
00
11
22
33
Door State
#12 · door-state
格式
uint8
讀寫
R / N
值
00
11
22
33
Contact State
#13 · contact-state
格式
uint8
讀寫
R / N
值
00
11
Stream URL
#14 · stream-address
格式
string
讀寫
值
—
Contact State
#15 · contact-state
格式
uint16
讀寫
R / N
值
0 ~ 999,步長 1 minutes
Contact State
#16 · contact-state
格式
uint16
讀寫
R / N
值
0 ~ 1200,步長 1 none
Mute
#17 · mute
格式
uint8
讀寫
R / W / N
值
0 ~ 10,步長 1 none
Sweep Type
#4 · sweep-type
格式
uint8
讀寫
R / W / N
值
0Total
2Wall
3Zone
4Point
5Control
Mode
#19 · mode
格式
uint8
讀寫
R / W / N
值
0Silent
1Basic
2Medium
3Strong

Actions

開始
#1 · start-sweep
停止
#2 · stop-sweeping
暫停
#3 · pause
回充
#4 · start-charge
停止回充
#5 · stop-massage
開始
#6 · start-mop
開始
#7 · start-only-sweep
開始
#8 · start-sweep-mop

Events

Text
#2 · exception-occurred
觸發參數
#2Erroruint32
Battery
#3 · battery
屬性 1

Properties

Battery Level
#1 · battery-level
格式
uint8
讀寫
R / N
值
0 ~ 100,步長 1 percentage
扫地机
#4 · viomi-vacuum
屬性 36動作 5事件 5

Properties

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

Actions

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

Events

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

Properties

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

Actions

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

Properties

指哪扫那目标点,XY逗号分割,如’3.23,6.89‘
#1 · target-point
格式
string
讀寫
W / R / N
值
—
划区的四个顶点坐标 'x1,y1,x2,y2,x3,y3,x4,y4'
#2 · zone-points
格式
string
讀寫
W
值
—
虚拟墙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
格式
string
讀寫
W
值
—
multiple-zone-points
#4 · multiple-zone-points
格式
string
讀寫
W
值
—

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動作 12

Properties

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

Actions

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

Properties

target-voice
#3 · target-voice
格式
string
讀寫
N / W / R
值
—
cur-voice
#4 · cur-voice
格式
string
讀寫
R / N
值
—
download-status
#5 · download-status
格式
uint8
讀寫
R / N
值
0
1
2
12
13
14
15
16
17
18
19
20
21
22
#6 · download-progress
格式
uint8
讀寫
R / N
值
0 ~ 100,步長 1 none
voice-url
#7 · voice-url
格式
string
讀寫
W
值
—
voice-mdfive
#8 · voice-mdfive
格式
string
讀寫
W
值
—

Actions

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