MIOT HomeMIOT Home
米家全能扫拖机器人M30 Pro
#xiaomi.vacuum.c107

米家全能扫拖机器人M30 Pro

urn:miot-spec-v2:device:vacuum:0000A006:xiaomi-c107:1
版本 v2 v1
语言
Service tree
扫地机
#2 · vacuum
属性 73动作 47事件 7

Properties

扫地机额外固件版本信息
#1 · vacuum-frameware-version
格式
string
读写
R / N
值
—
工作状态
#2 · status
格式
uint8
读写
R / N
值
1待机中
2充电中
3充电中(断点中)
4清扫中
5暂停中
6回充中
7洗拖布中
8遥控中
9充电完成
10建图中
11升级中
12多任务基站工作中
13多任务回充中
14基站工作中
15异常
16扫拖中
17拖地中
18建图暂停中
19断点回充中
20回洗拖布中
21建图回充中
故障
#3 · fault
格式
uint32
读写
R / N
值
0 ~ 420000,步长 1
清扫形态
#4 · sweep-mop-type
格式
uint8
读写
R / W / N
值
1Sweep
2Mop
3Sweep Mop
4Sweep Before Mopping
清扫方式
#5 · sweep-type
格式
uint8
读写
R / W / N
值
1Global
2Zone
3Area
4Edge
5Costum
6Point
7Custom Area
当前清扫面积(单位0.01平方米)
#6 · cleaning-area
格式
uint32
读写
R / N
值
0 ~ 4294967295,步长 1
当前清扫时长
#7 · cleaning-time
格式
uint32
读写
R / N
值
0 ~ 4294967295,步长 1
清扫次数
#8 · clean-times
格式
uint8
读写
R / W / N
值
1One Time
2Two Time
3Three Time
模式
#9 · mode
格式
uint8
读写
R / W / N
值
1安静/静音
2标准
3强力
4全速模式(Max)
拖布出水量
#10 · mop-water-output-level
格式
uint8
读写
R / W / N
值
0Off
1Level1
2Level2
3Level3
拖布状态
#11 · mop-status
格式
bool
读写
R / N
值
—
划区id
#12 · zone-ids
格式
string
读写
R / N
值
—
扫地禁区
#13 · restricted-sweep-areas
格式
string
读写
R / W / N
值
—
虚拟墙
#14 · restricted-walls
格式
string
读写
R / W / N
值
—
地图房间id参数(与米家房间无关)
#15 · vacuum-room-ids
格式
string
读写
值
—
房间信息
#16 · room-information
格式
string
读写
R / N
值
—
上次清扫时间
#17 · last-clean-time
格式
uint32
读写
N / R
值
0 ~ 4294967295,步长 1
基站工作状态
#18 · base-station-working-status
格式
string
读写
R / N
值
—
预约清扫
#19 · order-clean
格式
string
读写
R / N
值
—
地毯增压模式
#20 · carpet-boost
格式
bool
读写
R / W / N
值
—
地毯避让
#21 · carpet-avoidance
格式
bool
读写
R / N / W
值
—
地毯显示
#22 · carpet-display
格式
bool
读写
R / W / N
值
—
断点续扫开关
#23 · sweep-break-switch
格式
bool
读写
R / W / N
值
—
共用传参属性
#24 · common-params
格式
string
读写
值
—
休眠状态
#25 · sleep-status
格式
bool
读写
R / N
值
—
定位状态
#26 · location-status
格式
bool
读写
R / N
值
—
建图完成弹窗
#27 · map-complete-dialog
格式
int32
读写
R / N / W
值
-1 ~ 2147483647,步长 1
回洗拖布
#28 · enable-mop-wash
格式
bool
读写
R / W / N
值
—
回洗频率
#29 · frequency-mop-wash
格式
uint8
读写
R / W / N
值
0By Room
1By Area
拖布出水量
#30 · water-output-for-washing-mop
格式
uint8
读写
R / W / N
值
0Deep
1Daily
2Save Water
烘干时长
#31 · drying-time
格式
uint8
读写
R / W / N
值
12小时
23小时
34小时
自动集尘
#32 · auto-dust-arrest
格式
bool
读写
R / W / N
值
—
集尘频率
#33 · dust-arrest-frequency
格式
uint8
读写
R / W / N
值
1Once
2Twice
3Triple
自动烘干拖布
#34 · auto-mop-dry
格式
bool
读写
R / W / N
值
—
自动上下水
#35 · auto-water-change
格式
bool
读写
R / W / N
值
—
使用清洁剂
#36 · use-detergent
格式
bool
读写
R / W / N
值
—
AI感知清洁
#37 · ai-cleaning
格式
bool
读写
R / W / N
值
—
退出遥控模式弹窗
#38 · exit-remote-dialog
格式
bool
读写
R / W / N
值
—
按键类型
#39 · button-type
格式
uint8
读写
值
1按下上
2抬起上
3按下左
4抬起左
5按下右
6抬起右
当前清扫设置(区域)
#40 · current-cleaning-config
格式
string
读写
R / N
值
—
热水洗拖布
#41 · hot-water-mop-wash
格式
bool
读写
R / W / N
值
—
自定义清扫
#42 · user-define-sweep-cfg
格式
string
读写
R / N
值
—
当前自定义清扫ID
#43 · user-define-sweep-id
格式
uint16
读写
R / N
值
0 ~ 65535,步长 1
拖布自动抬升
#44 · mop-auto-lift
格式
bool
读写
R / W / N
值
—
清扫AI识别
#45 · sweep-ai-detection
格式
bool
读写
R / W / N
值
—
脏污识别
#46 · dirt-detection
格式
bool
读写
R / W / N
值
—
物体识别
#47 · object-detection
格式
bool
读写
R / W / N
值
—
房间识别
#48 · room-detection
格式
bool
读写
R / W / N
值
—
地板材质识别
#49 · floor-material-detection
格式
bool
读写
R / W / N
值
—
便便识别
#50 · defecation-detection
格式
bool
读写
R / W / N
值
—
液体脏污识别
#51 · liquid-dirt-detection
格式
bool
读写
R / W / N
值
—
固体脏污识别
#52 · solid-dirt-detection
格式
bool
读写
R / W / N
值
—
上下水检测列表
#53 · water-check-list
格式
string
读写
R / N
值
—
检测上下水状态
#54 · water-check-status
格式
uint8
读写
R / N
值
0Uncheck
1Checking
2Check Success
3Check Fail
沿边甩尾清扫
#55 · edge-swing-tail-sweep
格式
bool
读写
R / W / N
值
—
清扫AI物体
#56 · sweep-ai-object
格式
string
读写
R / N
值
—
清扫家具
#57 · sweep-furniture
格式
string
读写
R / W / N
值
—
地毯
#58 · carpet-object
格式
string
读写
R / N
值
—
清洁剂自投放
#59 · detergent-self-delivery
格式
bool
读写
R / W / N
值
—
无水箱拖布出水量
#60 · mop-water-output-level-no-tank
格式
uint8
读写
R / W / N
值
0Daily
1Deep
回洗频率(无水箱)
#61 · frequency-mop-wash-no-tank
格式
uint8
读写
R / W / N
值
0Five Square Meters
1Ten Square Meters
2Eight Square Meters
自动上下水是否已安装
#62 · auto-water-change-installed
格式
bool
读写
R / N
值
—
割毛发开关
#63 · cut-hair-config
格式
bool
读写
R / W / N
值
—
割毛发频率
#64 · frequency-cut-hair-config
格式
uint8
读写
R / W / N
值
1中频(每次清洁)
2低频(每两次)
3超低频(每三次)
扫地机路径
#65 · vacuum-route
格式
string
读写
值
—
故障列表
#66 · fault-ids
格式
string
读写
R / N
值
—
方法执行结果
#67 · action-result
格式
string
读写
R / N
值
—
沿边清扫频率
#68 · edge-sweep-frequency
格式
uint8
读写
R / W / N
值
17 Sweeps
2Every Time
AI托管清洁
#69 · ai-managed-cleaning
格式
bool
读写
R / W / N
值
—
插件消息提醒
#70 · plugin-info-remind
格式
string
读写
R / W / N
值
—
清洁剂缺液提醒
#71 · detergent-depletion-reminder
格式
bool
读写
R / W / N
值
—
通知
#72 · notice
格式
string
读写
R / N
值
—
地毯清洁方式
#73 · carpet-cleaning-method
格式
uint8
读写
R / W / N
值
0Self Adaption
1Avoid
2Ignore

Actions

开始清扫
#1 · start-sweep
停止
#2 · stop-sweeping
停止并回充
#3 · stop-and-gocharge
开始单扫地
#4 · start-only-sweep
开始拖地
#5 · start-mop
开始扫拖
#6 · start-sweep-mop
暂停清扫
#7 · pause-sweeping
继续清扫
#8 · continue-sweep
开始定制清扫
#9 · start-custom-sweep
获取区域信息
#10 · get-zone-configs
入参
#12划区idstring
获取房间信息
#11 · get-room-configs
入参
#15地图房间id参数(与米家房间无关)string
设置划区
#12 · set-zone
入参
#12划区idstring
设置房间清扫参数
#13 · set-room-clean-configs
入参
#16房间信息string
分割房间
#14 · split-room
入参
#24共用传参属性string
出参
#24共用传参属性string
合并房间
#15 · merge-rooms
入参
#15地图房间id参数(与米家房间无关)string
出参
#24共用传参属性string
开始选区清扫
#16 · start-vacuum-room-sweep
入参
#15地图房间id参数(与米家房间无关)string
开始建图
#17 · start-build-map
开始集尘
#18 · start-dust-arrest
出参
#24共用传参属性string
开始洗拖布
#19 · start-mop-wash
开始烘干
#20 · start-dry
出仓
#21 · start-eject
召唤清洁
#22 · start-call-clean
新增预约清扫
#23 · add-order-clean
入参
#24共用传参属性string
出参
#24共用传参属性string
修改预约清扫
#24 · modify-order-clean
入参
#24共用传参属性string
出参
#24共用传参属性string
删除预约清扫
#25 · delete-order-clean
入参
#24共用传参属性string
出参
#24共用传参属性string
遥控
#26 · remote-control
入参
#39按键类型uint8
试听
#27 · try-listen
进入遥控
#28 · enter-remote
退出遥控模式
#29 · exit-remote
获得systeminfo
#30 · get-system-info
停止洗拖布
#31 · stop-mop-wash
停止烘干
#32 · stop-dry
继续建图
#33 · continue-build-map
结束建图并回充
#34 · stop-build-map-and-gocharge
暂停建图
#35 · pause-build-map
回洗拖布
#36 · back-mop-wash
开始划区清扫
#37 · start-zone-sweep
入参
#12划区idstring
添加自定义清扫
#38 · add-user-sweep-setting
入参
#42自定义清扫string
出参
#24共用传参属性string
删除自定义清扫
#39 · del-user-sweep-setting
入参
#43当前自定义清扫IDuint16
出参
#24共用传参属性string
修改自定义清扫
#40 · modify-user-sweep-setting
入参
#42自定义清扫string
出参
#24共用传参属性string
开始自定义清扫清扫
#42 · start-user-define-sweep
入参
#43当前自定义清扫IDuint16
开始割毛发
#43 · start-cut-hair
结束割毛发
#44 · stop-cut-hair
开始自动上下水自检
#45 · start-water-self-check
取消自动上下水自检
#46 · cancel-water-self-check
获取扫地机路径
#47 · get-vacuum-route
入参
#24共用传参属性string
出参
#24共用传参属性string
关闭异常卡片
#48 · close-abnormal-card
入参
#24共用传参属性string

Events

建图完成
#1 · build-map-complete
清扫完成
#2 · sweep-complete
集尘完成
#3 · dust-arrest-complete
洗拖布完成
#4 · mop-wash-complete
烘干完成
#5 · dry-complete
出仓完成
#6 · eject-complete
召唤清洁完成
#7 · call-clean-complete
电池
#3 · battery
属性 3动作 1事件 1

Properties

电池电量
#1 · battery-level
格式
uint8
读写
R / N
值
0 ~ 100,步长 1
电池充电状态
#2 · charging-state
格式
uint8
读写
R / N
值
1Charging
2Not Charging
3Not Chargeable
电压
#3 · voltage
格式
uint16
读写
R / N
值
0 ~ 65535,步长 1

Actions

开始充电
#1 · start-charge

Events

电量低
#1 · low-battery
提示音
#4 · alarm
属性 2

Properties

提示音
#1 · alarm
格式
bool
读写
R / W / N
值
—
音量
#2 · volume
格式
uint8
读写
R / W / N
值
0 ~ 100,步长 1
物理控制锁(童锁)
#5 · physical-controls-locked
属性 2

Properties

物理控制锁
#1 · physical-controls-locked
格式
bool
读写
R / W / N
值
—
物理控制锁状态
#2 · current-physical-control-lock
格式
bool
读写
R / N
值
—
设备确认
#6 · identify
动作 1

Actions

设备响应
#1 · identify
拖布
#9 · mop
属性 2动作 1

Properties

拖布剩余寿命
#1 · mop-life-level
格式
uint8
读写
R / N
值
0 ~ 100,步长 1
拖布剩余时间
#2 · mop-left-time
格式
uint16
读写
N / R
值
0 ~ 9999,步长 1

Actions

重置拖布寿命
#1 · reset-mop-life
清洁地图
#10 · vacuum-map
属性 9动作 7事件 2

Properties

地图文件
#1 · map-obj-name
格式
string
读写
R / N
值
—
轨迹文件
#2 · trajectory-obj-name
格式
string
读写
R / N
值
—
清扫记录
#3 · clean-record
格式
string
读写
R / N
值
—
机器人当前位置
#4 · vacuum-position
格式
string
读写
R / N
值
—
地图管理
#5 · map-management
格式
string
读写
R / N
值
—
当前地图id
#6 · current-map-id
格式
uint32
读写
R / N
值
0 ~ 4294967295,步长 1
地毯检测文件
#7 · carpet-obj-name
格式
string
读写
R / N
值
—
共用传参属性
#8 · common-params
格式
string
读写
值
—
3D 地图信息
#9 · map-3d-info
格式
string
读写
R / N
值
—

Actions

清空地图
#1 · clear-map
删除地图
#2 · delete-map
入参
#6当前地图iduint32
设置地图
#3 · set-map
入参
#6当前地图iduint32
保存地图
#4 · save-map
自动分区
#5 · auto-room-partition
设置地图名字
#6 · set-map-name
入参
#8共用传参属性string
更新属性
#7 · update-properties-data

Events

地图更新
#1 · map-notify
轨迹更新
#2 · trajectory-notify
勿扰
#11 · no-disturb
属性 3

Properties

勿扰
#1 · no-disturb
格式
bool
读写
R / W / N
值
—
启用时间段(格式为:'00:00:00-00:00:00')
#2 · enable-time-period
格式
uint32
读写
R / W / N
值
0 ~ 4294967295,步长 1
当前勿扰状态
#3 · current-no-disturb
格式
bool
读写
R / N
值
—
主刷
#12 · brush-cleaner
属性 2动作 1

Properties

清扫刷剩余寿命
#1 · brush-life-level
格式
uint8
读写
R / N
值
0 ~ 100,步长 1
清扫刷剩余时间
#2 · brush-left-time
格式
uint16
读写
R / N
值
0 ~ 9999,步长 1

Actions

重置清扫刷
#1 · reset-brush-life
边刷
#13 · brush-cleaner
属性 2动作 1

Properties

清扫刷剩余寿命
#1 · brush-life-level
格式
uint8
读写
R / N
值
0 ~ 100,步长 1
清扫刷剩余时间
#2 · brush-left-time
格式
uint16
读写
R / N
值
0 ~ 9999,步长 1

Actions

重置清扫刷
#1 · reset-brush-life
滤芯
#14 · filter
属性 2动作 1

Properties

滤芯剩余寿命
#1 · filter-life-level
格式
uint8
读写
R / N
值
0 ~ 100,步长 1
滤芯剩余时间
#2 · filter-left-time
格式
uint16
读写
R / N
值
0 ~ 1000,步长 1

Actions

重置滤芯
#1 · reset-filter-life
语音管理
#15 · voice-management
属性 6动作 2

Properties

目标语音
#1 · target-voice
格式
string
读写
R / N / W
值
—
当前语音
#2 · cur-voice
格式
string
读写
R / N
值
—
下载状态
#3 · download-status
格式
uint8
读写
R / N
值
0空闲
1下载中
2下载成功
3下载失败
4应用成功
5应用失败
下载进度
#4 · download-progress
格式
uint8
读写
R / N
值
0 ~ 100,步长 1
语音包URL
#5 · voice-url
格式
string
读写
值
—
共用传参属性
#6 · common-params
格式
string
读写
值
—

Actions

下载语音包
#1 · download-voice
入参
#1目标语音string#5语音包URLstring#6共用传参属性string
获取下载状态
#2 · get-download-status
出参
#1目标语音string#2当前语音string#3下载状态uint8#4下载进度uint8
清洁剂管理
#18 · detergent-management
属性 4动作 1事件 1

Properties

清洁剂剩余量
#1 · detergent-left-level
格式
uint8
读写
R / N
值
0 ~ 100,步长 1
清洁剂自投放
#2 · detergent-self-delivery
格式
bool
读写
R / W / N
值
—
清洁剂自投放量
#3 · detergent-self-delivery-level
格式
uint8
读写
R / W / N
值
0Few
1Standard
2Many
3Lots Of
清洁剂剩余时间
#4 · detergent-left-time
格式
uint16
读写
R / N
值
0 ~ 9999,步长 1

Actions

重置清洁剂量
#1 · reset-detergent-management-level

Events

清洁剂量低
#1 · low-detergent-level
集尘袋
#19 · dust-bag
属性 2动作 1

Properties

除尘袋剩余寿命
#1 · dust-bag-life-level
格式
uint8
读写
R / N
值
0 ~ 100,步长 1
除尘袋剩余时间
#2 · dust-bag-left-time
格式
uint16
读写
R / N
值
0 ~ 9999,步长 1

Actions

重置除尘袋寿命
#1 · reset-dust-bag-life
IMU
#16 · imu
动作 1

Actions

IMU标定
#1 · imu-calibration
AI小图
#17 · ai-small-pictures
属性 2动作 1

Properties

AI物体id
#1 · ai-object-id
格式
uint32
读写
值
0 ~ 4294967295,步长 1
ai物体图片信息
#2 · ai-picture-info
格式
string
读写
R / N
值
—

Actions

请求AI小图
#1 · request-ai-picture
入参
#1AI物体iduint32