
#viomi.vacuum.v29
云米互联网扫拖机器人Eagle
urn:miot-spec-v2:device:vacuum:0000A006:viomi-v29:1
Language
Service tree
Vacuum#2 · vacuum11 properties8 actions1 events
Vacuum
#2 · vacuum
Properties
Status
#1 · status
- Format
- uint8
- Access
- R / N
- Value
- 0Sleep1Idle2Paused3Go Charging4Charging5Sweeping6Sweeping And Mopping7Mopping
Error
#2 · fault
- Format
- uint32
- Access
- R / N
- Value
- 0No Error1Low Battery Find Charge2Low Bat Need Poweroff3Wheel Trap4Collision Error5Tile Do Task6Lidar Point Err7Front Wall Err8Along Wall Err9Mid Brush Err10Side Brush Err11Fan Err12Lidar Cover13Garbage Full14Garbage Out15Garbage Full Out16Trapped17Pick Up20Cannot Arrive21Start From Forbid22Drop23Kit Water Pump24Find Charge Failed18Garbage Out25No Mop Clean26Low Battery Cant Clean
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
- 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
- 0Total2Wall3Zone4Point5Control
Mode
#19 · mode
- Format
- uint8
- Access
- R / W / N
- Value
- 0Silent1Basic2Medium3Strong
Actions
Start
#1 · start-sweep
Stop
#2 · stop-sweeping
Pause
#3 · pause
Go Charging
#4 · start-charge
Stop Charging
#5 · stop-massage
Start Mopping
#6 · start-mop
Start Only Sweep
#7 · start-only-sweep
Start Sweep Mop
#8 · start-sweep-mop
Events
Equipment Abnormal Event
#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-vacuum33 properties4 actions4 events
扫地机
#4 · viomi-vacuum
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
- 0None1New2Cover
dust-collection
#41 · dust-collection
- Format
- uint8
- Access
- R / N / W
- Value
- 0Close1Open
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
Events
拖布取下提示。当设备开始充电时,拖布未取下触发
#1 · mop-remind
待机时间超过6小时,推送并自动关机
#2 · wait-remind
low-remind
#3 · low-remind
clean-end
#4 · clean-end
Arguments
#25清扫开始时间,时间戳,单位秒int64#26清扫使用时间,单位秒uint32#27清扫总面积,单位m2uint32#28清扫地图urlstring#29uint8#30uint8
预约、勿扰相关#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
- 0扫地1扫拖2拖地
预约吸力大小
#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
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-zone3 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
- —
Actions
开始指哪扫那清扫
#1 · start-point-clean
暂停指哪扫那清扫
#2 · pause-point-clean
开始区域清扫
#5 · start-zone-clean
暂停区域清扫
#6 · pause-zone-clean
地图相关#7 · map15 properties12 actions
地图相关
#7 · map
Properties
#1 · map-type
- Format
- uint8
- Access
- R / N / W
- Value
- 0上传到url01上传到url12上传到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 · voice6 properties3 actions
声音相关
#8 · voice
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
- 0121213141516171819202122
#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