MIOT HomeMIOT Home
米家扫拖机器人2
#ijai.vacuum.v2

米家扫拖机器人2

urn:miot-spec-v2:device:vacuum:0000A006:ijai-v2:1
Version v2 v1
Language
Service tree
Vaccum
#2 · vacuum
6 properties6 actions

Properties

Status
#1 · status
Format
uint8
Access
R / N
Value
0Sleep
1Idle
2Paused
3Go Charging
4Charging
5Sweeping
6Sweeping And Mopping
7Mopping
8Upgrading
Device Fault
#2 · fault
Format
uint32
Access
R / N
Value
0 ~ 3000, step 1 none
Mode
#4 · mode
Format
uint8
Access
R / W / N
Value
0Sweeping
1Sweeping And Mopping
2Mopping
Sweep Type
#8 · sweep-type
Format
uint8
Access
R / W / N
Value
0Global
1Mopping
2Edge
3Zone
4Point
5Remote
6Explore
7Room Preference
8Material Preference
Switch Status
#9 · on
Format
string
Access
R / W / N
Value
—
Room IDs
#10 · room-ids
Format
string
Access
Value
—

Actions

Start Sweep
#1 · start-sweep
Stop Sweeping
#2 · stop-sweeping
Start Only Sweep
#3 · start-only-sweep
Start Sweep Mop
#5 · start-sweep-mop
Start Mop
#6 · start-mop
Start Room Sweep
#7 · start-room-sweep
Input
#10Room IDsstring
Battery
#3 · battery
1 properties1 actions2 events

Properties

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

Actions

Start Charge
#1 · start-charge

Events

Low Battery
#1 · low-battery
Low Battery
#2 · low-battery
Alarm
#4 · alarm
2 properties

Properties

Alarm
#1 · alarm
Format
uint8
Access
R / W / N
Value
1Play
Volume
#2 · volume
Format
uint8
Access
R / W / N
Value
0 ~ 10, step 1 percentage
Sweep
#7 · sweep
40 properties10 actions3 events

Properties

repeat-state
#1 · repeat-state
Format
uint8
Access
R / N / W
Value
0关
1开
door-state
#3 · door-state
Format
uint8
Access
R / N
Value
0无
1尘盒
2水箱
3二合一水箱
cloth-state
#4 · cloth-state
Format
uint8
Access
R / N
Value
0没装
1装了
suction-state
#5 · suction-state
Format
uint8
Access
R / N / W
Value
0关
1节能
2标准
3强劲
#6 · water-state
Format
uint8
Access
R / N / W
Value
0低
1中
2高
mop-route
#7 · mop-route
Format
uint8
Access
R / N / W
Value
0弓字
1Y 字
side-brush-life
#8 · side-brush-life
Format
uint8
Access
R / N
Value
0 ~ 100, step 1 percentage
side-brush-hours
#9 · side-brush-hours
Format
uint8
Access
R / N
Value
0 ~ 180, step 1 hours
main-brush-life
#10 · main-brush-life
Format
uint8
Access
R / N
Value
0 ~ 100, step 1 percentage
main-brush-hours
#11 · main-brush-hours
Format
uint16
Access
R / N
Value
0 ~ 360, step 1 hours
hypa-life
#12 · hypa-life
Format
uint8
Access
R / N
Value
0 ~ 100, step 1 percentage
hypa-hours
#13 · hypa-hours
Format
uint8
Access
R / N
Value
0 ~ 180, step 1 hours
mop-life
#14 · mop-life
Format
uint8
Access
R / N
Value
0 ~ 100, step 1 percentage
mop-hours
#15 · mop-hours
Format
uint8
Access
R / N
Value
0 ~ 180, step 1 hours
direction
#16 · direction
Format
uint8
Access
W
Value
1上(前进)
2左
3右
4下(后退)
5停止
10退出模式
consumable-index
#17 · consumable-index
Format
uint8
Access
Value
1主刷
2边刷
3滤网
4拖布
time-zone
#20 · time-zone
Format
int32
Access
R / N / W
Value
-99999 ~ 99999, step 1 none
cur-lang
#21 · cur-lang
Format
string
Access
R / N / W
Value
—
cleaning-time
#22 · cleaning-time
Format
uint16
Access
R / N
Value
0 ~ 1200, step 1
#23 · cleaning-area
Format
uint16
Access
R / N
Value
0 ~ 1200, step 1 none
#24 · clean-room-ids
Format
string
Access
Value
—
#25 · clean-room-mode
Format
uint8
Access
Value
0全局
1沿边
clean-room-oper
#26 · clean-room-oper
Format
uint8
Access
Value
0停止
1开始
2暂停
3假暂停
record-start-time
#27 · record-start-time
Format
uint32
Access
Value
0 ~ 4294967295, step 1 seconds
record-use-time
#28 · record-use-time
Format
uint32
Access
Value
0 ~ 99999, step 1 seconds
#29 · record-clean-area
Format
uint32
Access
Value
0 ~ 99999, step 1 none
record-map-url
#30 · record-map-url
Format
string
Access
Value
—
record-clean-mode
#31 · record-clean-mode
Format
uint8
Access
Value
0Auto
1Mopping
2Corner
3Local
4Point
5Explore
6Room
7Material
record-clean-way
#32 · record-clean-way
Format
uint8
Access
Value
0扫地
1扫拖
2单拖
clean-current-map
#33 · clean-current-map
Format
uint32
Access
Value
1 ~ 4294967295, step 1 none
clean-preference
#34 · clean-preference
Format
string
Access
Value
—
#37 · record-task-status
Format
uint32
Access
Value
1正常结束
2app 停止
3按键停止
4异常
5xx
#38 · clean-prefer-type
Format
uint8
Access
Value
1房间定制
2地板材质定制
0自动清扫
#39 · clean-prefer-on
Format
uint8
Access
Value
0关
1开
clean-preference-ii
#40 · clean-preference-ii
Format
string
Access
Value
—
#41 · clean-prefer-on-ii
Format
uint8
Access
Value
0关闭
1开启
go-charging
#43 · go-charging
Format
uint8
Access
Value
0停止回充
1开始回充
multi-prop-vacuum
#45 · multi-prop-vacuum
Format
string
Access
R / N
Value
—
tank-shake
#48 · tank-shake
Format
uint8
Access
R / N / W
Value
0Close
1Open
shake-shift
#50 · shake-shift
Format
uint8
Access
R / N / W
Value
1Low
2Mid
3High

Actions

Reset Consumable
#1 · reset-consumable
Input
#17consumable-indexuint8
Set Calibration
#2 · set-calibration
Cleaning
#3 · set-room-clean
Input
#24string#25uint8#26clean-room-operuint8
set-preference-clean
#4 · set-preference-clean
Input
#34clean-preferencestring#33clean-current-mapuint32
get-preference-clean
#5 · get-preference-clean
Input
#33clean-current-mapuint32
Output
#34clean-preferencestring#39uint8#40clean-preference-iistring#41uint8
set-preference-type
#6 · set-preference-type
Input
#38uint8
set-go-charging
#7 · set-go-charging
Input
#43go-charginguint8
erase-preference
#8 · erase-preference
Input
#24string#33clean-current-mapuint32#38uint8
set-preference-ii
#9 · set-preference-ii
Input
#34clean-preferencestring#33clean-current-mapuint32
get-preference-ii
#10 · get-preference-ii
Input
#33clean-current-mapuint32
Output
#34clean-preferencestring#39uint8#40clean-preference-iistring#41uint8

Events

clean-end
#1 · clean-end
Arguments
#27record-start-timeuint32#28record-use-timeuint32#29uint32#30record-map-urlstring#31record-clean-modeuint8#32record-clean-wayuint8#33clean-current-mapuint32#34clean-preferencestring#37uint32
clean-end-lite
#2 · clean-end-lite
build-end-lite
#3 · build-end-lite
order
#8 · order
19 properties5 actions

Properties

order-id
#1 · order-id
Format
uint8
Access
W
Value
0 ~ 100, step 1 none
enable
#2 · enable
Format
uint8
Access
W
Value
0否
1是
day
#3 · day
Format
uint8
Access
W
Value
0 ~ 255, step 1 none
hour
#4 · hour
Format
uint8
Access
W
Value
0 ~ 23, step 1 none
minute
#5 · minute
Format
uint8
Access
W
Value
0 ~ 59, step 1 none
repeat
#6 · repeat
Format
uint8
Access
W
Value
0单次任务
1重复任务
clean-way
#7 · clean-way
Format
uint8
Access
W
Value
0扫地
1扫拖
2单拖
#8 · suction
Format
uint8
Access
W
Value
0关
1节能
2标准
3强劲
water
#9 · water
Format
uint8
Access
W
Value
0低水量
1中水量
2高水量
twice-clean
#10 · twice-clean
Format
uint8
Access
W
Value
0否
1是
mapid
#11 · mapid
Format
uint32
Access
W
Value
0 ~ 4294967295, step 1 none
room-count
#12 · room-count
Format
uint8
Access
W
Value
0 ~ 64, step 1 none
#13 · room-data
Format
string
Access
W
Value
—
#14 · time-zone
Format
int32
Access
W
Value
-43200 ~ 43200, step 1 none
orderdata
#15 · orderdata
Format
string
Access
Value
—
room-preference
#16 · room-preference
Format
string
Access
Value
—
prefer-type
#17 · prefer-type
Format
uint8
Access
Value
0Empty
1Room-preference
2Material-preference
all-enable-count
#18 · all-enable-count
Format
string
Access
R / N
Value
—
is-global
#19 · is-global
Format
uint8
Access
Value
0Area
1Global

Actions

add
#1 · add
Input
#1order-iduint8#2enableuint8#3dayuint8#4houruint8#5minuteuint8#6repeatuint8#11mapiduint32#14int32#12room-countuint8#16room-preferencestring
del
#2 · del
Input
#1order-iduint8
get
#3 · get
Output
#15orderdatastring
add-ii
#4 · add-ii
Input
#1order-iduint8#2enableuint8#3dayuint8#4houruint8#5minuteuint8#6repeatuint8#11mapiduint32#12room-countuint8#14int32#16room-preferencestring#17prefer-typeuint8#19is-globaluint8
get-map-order-count
#5 · get-map-order-count
Input
#11mapiduint32
Output
#18all-enable-countstring
point-zone
#9 · point-zone
7 properties7 actions

Properties

zone-points
#2 · zone-points
Format
string
Access
W
Value
—
#3 · restrict-points
Format
string
Access
W
Value
—
pause-type
#4 · pause-type
Format
uint8
Access
Value
0暂停
1假暂停(启动不需要重定位)
target-point
#5 · target-point
Format
string
Access
R / N / W
Value
—
map-id
#7 · map-id
Format
uint32
Access
Value
1 ~ 4294967295, step 1 none
map-type
#8 · map-type
Format
uint8
Access
Value
00
11
22
33
timestamp
#9 · timestamp
Format
uint32
Access
Value
0 ~ 4294967295, step 1 none

Actions

start-point-clean
#1 · start-point-clean
pause-point-clean
#2 · pause-point-clean
Input
#4pause-typeuint8
start-zone-clean
#3 · start-zone-clean
pause-zone-clean
#4 · pause-zone-clean
Input
#4pause-typeuint8
set-virtual-wall
#6 · set-virtual-wall
Input
#3string
Output
#7map-iduint32#8map-typeuint8#9timestampuint32
set-zone-point
#8 · set-zone-point
Input
#2zone-pointsstring
Output
#7map-iduint32#8map-typeuint8#9timestampuint32
start-point-clean-ii
#9 · start-point-clean-ii
Input
#5target-pointstring
Output
#7map-iduint32#8map-typeuint8#9timestampuint32
map
#10 · map
22 properties18 actions7 events

Properties

remember-state
#1 · remember-state
Format
uint8
Access
R / N / W
Value
0关
1开
cur-map-id
#2 · cur-map-id
Format
uint32
Access
R / N
Value
0 ~ 4294967295, step 1 none
map-num
#3 · map-num
Format
uint8
Access
R / N
Value
0 ~ 5, step 1 none
map-list
#4 · map-list
Format
string
Access
Value
—
#5 · cur-cleaning-path
Format
string
Access
R / N
Value
—
#6 · upload-id
Format
uint32
Access
Value
0 ~ 4294967295, step 1 none
#7 · upload-type
Format
uint8
Access
Value
0实时图
1指哪图
2划区图
3记忆图
map-name
#8 · map-name
Format
string
Access
Value
—
room-id
#9 · room-id
Format
uint8
Access
Value
0 ~ 255, step 1 none
room-name
#10 · room-name
Format
string
Access
Value
—
#11 · arrange-room-ids
Format
string
Access
Value
—
split-points
#12 · split-points
Format
string
Access
Value
—
lang
#13 · lang
Format
string
Access
Value
—
#14 · build-map
Format
uint8
Access
R / N
Value
0不新建图(不写)
1只建图不清扫
2建图+清扫(暂时无效)
start-cleaning-point
#15 · start-cleaning-point
Format
uint32
Access
Value
0 ~ 4294967295, step 1 none
end-cleaning-point
#16 · end-cleaning-point
Format
uint32
Access
Value
1 ~ 4294967295, step 1 none
#17 · room-id-name-list
Format
string
Access
Value
—
timestamp
#18 · timestamp
Format
uint32
Access
Value
0 ~ 4294967295, step 1 none
has-new-map
#19 · has-new-map
Format
uint8
Access
R / N
Value
0Without Map To Save
1Wait To Rename Map
test-for-upload-map
#20 · test-for-upload-map
Format
uint8
Access
Value
1RealMap
2MemoryMap
renew-map
#21 · renew-map
Format
uint8
Access
Value
0False
1True
mijia-room-list
#22 · mijia-room-list
Format
string
Access
Value
—

Actions

get-map-list
#1 · get-map-list
Output
#4map-liststring
upload-by-mapid
#2 · upload-by-mapid
Input
#6uint32
Output
#6uint32#7uint8#18timestampuint32
set-cur-map
#3 · set-cur-map
Input
#6uint32
del-map
#4 · del-map
Input
#6uint32
rename-map
#5 · rename-map
Input
#6uint32#8map-namestring
upload-by-maptype
#6 · upload-by-maptype
Input
#7uint8
Output
#6uint32#7uint8#18timestampuint32
rename-room
#7 · rename-room
Input
#6uint32#9room-iduint8#10room-namestring
Output
#6uint32#7uint8#18timestampuint32
arrange-room
#8 · arrange-room
Input
#6uint32#11string#13langstring
Output
#6uint32#7uint8#18timestampuint32
split-room
#9 · split-room
Input
#6uint32#9room-iduint8#12split-pointsstring#13langstring
Output
#6uint32#7uint8#18timestampuint32
reset-map
#10 · reset-map
build-new-map
#11 · build-new-map
Input
#14uint8
get-cur-path
#12 · get-cur-path
Input
#15start-cleaning-pointuint32#16end-cleaning-pointuint32
Output
#5string
get-map-room-list
#13 · get-map-room-list
Input
#2cur-map-iduint32
Output
#17string
upload-by-mapid-ii
#14 · upload-by-mapid-ii
Input
#6uint32
Output
#6uint32#7uint8#18timestampuint32#21renew-mapuint8
upload-by-maptype-ii
#15 · upload-by-maptype-ii
Input
#7uint8
Output
#6uint32#7uint8#18timestampuint32#21renew-mapuint8
reset-map-ii
#16 · reset-map-ii
Output
#18timestampuint32
build-map-ii
#17 · build-map-ii
Input
#14uint8
Output
#18timestampuint32
set-mijia-room-list
#18 · set-mijia-room-list
Input
#6uint32#22mijia-room-liststring

Events

map-change
#1 · map-change
Arguments
#2cur-map-iduint32
global-push
#2 · global-push
arrange-end
#3 · arrange-end
Arguments
#2cur-map-iduint32
upload-verify
#4 · upload-verify
Arguments
#6uint32#7uint8#18timestampuint32
cleaning-path
#5 · cleaning-path
Arguments
#5string
test-upload-map
#6 · test-upload-map
Arguments
#20test-for-upload-mapuint8#18timestampuint32
clear-path
#7 · clear-path
disturb
#12 · disturb
7 properties1 actions

Properties

dnd-enable
#1 · dnd-enable
Format
uint8
Access
R / N
Value
0关
1开
dnd-start-hour
#2 · dnd-start-hour
Format
uint8
Access
R / N
Value
0 ~ 23, step 1 hours
dnd-start-minute
#3 · dnd-start-minute
Format
uint8
Access
R / N
Value
0 ~ 59, step 1 minutes
dnd-end-hour
#4 · dnd-end-hour
Format
uint8
Access
R / N
Value
0 ~ 23, step 1 hours
dnd-end-minute
#5 · dnd-end-minute
Format
uint8
Access
R / N
Value
0 ~ 59, step 1 minutes
dnd-timezone
#6 · dnd-timezone
Format
int32
Access
Value
-99999 ~ 99999, step 1 none
multi-prop-dnd
#7 · multi-prop-dnd
Format
string
Access
R / N
Value
—

Actions

set-notdisturb
#1 · set-notdisturb
Input
#1dnd-enableuint8#2dnd-start-houruint8#3dnd-start-minuteuint8#4dnd-end-houruint8#5dnd-end-minuteuint8#6dnd-timezoneint32