MIOT HomeMIOT Home
Xiaomi Robot Vacuum X20
#xiaomi.vacuum.c101eu

Xiaomi Robot Vacuum X20

urn:miot-spec-v2:device:vacuum:0000A006:xiaomi-c101eu:2
Version v2 v1
Language
Service tree
Robot Cleaner
#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
9In The Wash
10In The Dry
11In The Dust
12Air Dry Paused
Device Fault
#2 · fault
Format
uint32
Access
R / N
Value
0 ~ 3000, step 1
Mode
#4 · mode
Format
uint8
Access
R / W / N
Value
0Sweep
1Sweep And Mop
2Mop
3Sweep Then Mop
Sweep Type
#8 · sweep-type
Format
uint8
Access
R / W / N
Value
0Global
1Global
2Edge
3Point
4Area
5Remote
6Explore
7Room
8Floor
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
#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 actions1 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
Alarm
#4 · alarm
2 properties

Properties

Alarm
#1 · alarm
Format
bool
Access
R / W / N
Value
—
Volume
#2 · volume
Format
uint8
Access
R / W / N
Value
0 ~ 10, step 1 percentage
Filter
#15 · filter
2 properties1 actions

Properties

Filter Life Level
#1 · filter-life-level
Format
uint8
Access
R / N
Value
0 ~ 100, step 1 percentage
Filter Left Time
#2 · filter-left-time
Format
uint16
Access
R / N
Value
0 ~ 1000, step 1 days

Actions

Reset Filter Life
#1 · reset-filter-life
Brush Cleaner
#16 · brush-cleaner
2 properties1 actions

Properties

Brush Left Time
#1 · brush-left-time
Format
uint16
Access
R / N
Value
0 ~ 1000, step 1 days
Brush Life Level
#2 · brush-life-level
Format
uint8
Access
R / N
Value
0 ~ 100, step 1 percentage

Actions

Reset Brush Life
#1 · reset-brush-life
Brush Cleaner
#17 · brush-cleaner
2 properties1 actions

Properties

Brush Left Time
#1 · brush-left-time
Format
uint16
Access
R / N
Value
0 ~ 1000, step 1 days
Brush Life Level
#2 · brush-life-level
Format
uint8
Access
R / N
Value
0 ~ 100, step 1 percentage

Actions

Reset Brush Life
#1 · reset-brush-life
Mop
#18 · mop
2 properties1 actions

Properties

Mop Life Level
#1 · mop-life-level
Format
uint8
Access
R / N
Value
0 ~ 100, step 1 percentage
Mop Left Time
#2 · mop-left-time
Format
uint16
Access
N / R
Value
0 ~ 9999, step 1 days

Actions

Reset Mop Life
#1 · reset-mop-life
sweep
#7 · sweep
58 properties12 actions12 events

Properties

#1 · repeat-state
Format
uint8
Access
R / N / W
Value
0Close
1Open
#3 · door-state
Format
uint8
Access
R / N
Value
0None
1DustBox
2WaterBox
3TwoInOne
#4 · cloth-state
Format
uint8
Access
R / N
Value
0None
1Exist
#5 · suction-state
Format
uint8
Access
R / N / W
Value
0Silent
1Standard
2Medium
3Turbo
#6 · water-state
Format
uint8
Access
R / N / W
Value
0Low
1Mid
2Hig
#7 · mop-route
Format
uint8
Access
R / N / W
Value
0S
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
1Forward
2Left
3Right
4Back
5Stop
10Exit
#17 · consumable-index
Format
uint8
Access
Value
1Main
2Side
3Hypa
4Cloth
#20 · time-zone
Format
int32
Access
R / N / W
Value
-99999 ~ 99999, step 1
#21 · cur-lang
Format
string
Access
R / N / W
Value
—
#22 · cleaning-time
Format
uint32
Access
R / N
Value
0 ~ 360, step 1
#23 · cleaning-area
Format
uint32
Access
R / N
Value
0 ~ 1200, step 1
#24 · clean-room-ids
Format
string
Access
Value
—
#25 · clean-room-mode
Format
uint8
Access
Value
0Global
1Edge
#26 · clean-room-oper
Format
uint8
Access
Value
0Stop
1Start
2Pause
3Fake Pause
#27 · record-start-time
Format
uint32
Access
Value
0 ~ 4294967295, step 1
#28 · record-use-time
Format
uint32
Access
Value
0 ~ 99999, step 1
#29 · record-clean-area
Format
uint32
Access
Value
0 ~ 99999, step 1
#30 · record-map-url
Format
string
Access
Value
—
record-clean-mode
#31 · record-clean-mode
Format
uint8
Access
Value
0Auto
1Mopping
2Edge
3Area
4Point
5Explore
6Room
7Material
8HouseCleaning
9ZonedCleaning
#32 · record-clean-way
Format
uint8
Access
Value
0Sweep
1Sweep Mop
2Mop
#33 · clean-current-map
Format
uint32
Access
Value
0 ~ 4294967295, step 1
#34 · clean-preference
Format
string
Access
Value
—
#35 · dirt-recognize
Format
uint8
Access
R / N / W
Value
0Close
1Open
#36 · pet-recognize
Format
uint8
Access
R / N / W
Value
0Close
1Open
#37 · record-task-status
Format
uint32
Access
Value
1Finish
2App Stop
3Button Stop
4Abnormal
5XXX
#38 · clean-prefer-type
Format
uint8
Access
Value
0Auto
1Room
2Material
#39 · clean-prefer-on
Format
uint8
Access
Value
0Close
1Open
#40 · clean-preference-ii
Format
string
Access
Value
—
#41 · clean-prefer-on-ii
Format
uint8
Access
Value
0Close
1Open
#42 · ai-recognize
Format
uint8
Access
R / N / W
Value
0Close
1Open
go-charging
#43 · go-charging
Format
uint8
Access
Value
0Stop
1Start
2None
3No Use
4Finish And Recharge
5Backwash Mop
#44 · carpet-booster
Format
uint8
Access
R / N / W
Value
0Close
1Open
#45 · multi-prop-vacuum
Format
string
Access
R / N
Value
—
#46 · sd
Format
bool
Access
Value
—
#47 · carpet-avoid
Format
uint8
Access
W
Value
0Close
1Open
#48 · tank-shake
Format
uint8
Access
R / N / W
Value
0Close
1Open
#49 · electrolysis
Format
uint8
Access
R / N / W
Value
0Close
1Open
#50 · shake-shift
Format
uint8
Access
R / N / W
Value
1Low
2Mid
3High
#52 · carpet-show
Format
uint8
Access
W
Value
0Close
1Open
station-act
#53 · station-act
Format
uint8
Access
Value
0Null
1Mop Clean
2Mop Air Dry
3Dust Collection
4Wash Mop
5Air Dry Mop
#54 · air-dry
Format
uint8
Access
R / N / W
Value
0Pause
1Start
#55 · map-encrypt
Format
uint8
Access
R / N
Value
0Close
1Open
#57 · sweep-avoid
Format
uint8
Access
W
Value
0Close
1Open
#58 · mop-avoid
Format
uint8
Access
W
Value
0Close
1Open
#59 · child-lock
Format
uint8
Access
R / N / W
Value
0Close
1Open
back-wash
#60 · back-wash
Format
uint8
Access
R / N / W
Value
0Close
1Open
left-time
#61 · left-time
Format
uint32
Access
Value
0 ~ 4294967295, step 1
#62 · back-wash-area
Format
uint8
Access
W
Value
5Five
10Ten
#63 · dry-time
Format
uint8
Access
W
Value
4 ~ 12, step 1 hours

Actions

reset-consumable
#1 · reset-consumable
Input
#17uint8
set-calibration
#2 · set-calibration
set-room-clean
#3 · set-room-clean
Input
#24string#25uint8#26uint8
set-preference-clean
#4 · set-preference-clean
Input
#34string#33uint32
get-preference-clean
#5 · get-preference-clean
Input
#33uint32
Output
#34string#39uint8#40string#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#33uint32#38uint8
set-preference-ii
#9 · set-preference-ii
Input
#34string#33uint32
get-preference-ii
#10 · get-preference-ii
Input
#33uint32
Output
#34string#39uint8#40string#41uint8
station-action
#11 · station-action
Input
#53station-actuint8
mop-clean-left-time
#12 · mop-clean-left-time
Output
#61left-timeuint32

Events

clean-end
#1 · clean-end
Arguments
#27uint32#28uint32#29uint32#30string#31record-clean-modeuint8#32uint8#33uint32#34string#37uint32
clean-end-lite
#2 · clean-end-lite
build-end-lite
#3 · build-end-lite
position-fail
#4 · position-fail
return-fail
#5 · return-fail
break-return-fail
#6 · break-return-fail
dirty-tank-full
#7 · dirty-tank-full
water-tray-full
#8 · water-tray-full
clean-start
#9 · clean-start
clean-end-ii
#10 · clean-end-ii
Arguments
#27uint32#28uint32#29uint32#30string#31record-clean-modeuint8#32uint8#33uint32#34string#37uint32#55uint8
standby-shutdown
#11 · standby-shutdown
jump-difficut-faile
#12 · jump-difficut-faile
order
#8 · order
19 properties5 actions2 events

Properties

order-id
#1 · order-id
Format
int64
Access
W
Value
0 ~ 7258089600000, step 1
#2 · enable
Format
uint8
Access
W
Value
0Disable
1Enable
#3 · day
Format
uint8
Access
W
Value
0 ~ 255, step 1
#4 · hour
Format
uint8
Access
W
Value
0 ~ 23, step 1
#5 · minute
Format
uint8
Access
W
Value
0 ~ 59, step 1
#6 · repeat
Format
uint8
Access
W
Value
0Disable
1Enable
#7 · clean-way
Format
uint8
Access
W
Value
0Sweep
1Sweep Mop
2Mop
#8 · suction
Format
uint8
Access
W
Value
0Silent
1Normal
2Medium
3Turbo
#9 · water
Format
uint8
Access
W
Value
0Low
1Mid
2High
#10 · twice-clean
Format
uint8
Access
W
Value
0Disable
1Enable
#11 · mapid
Format
uint32
Access
W
Value
0 ~ 4294967295, step 1
#12 · room-count
Format
uint8
Access
W
Value
0 ~ 64, step 1
#13 · room-data
Format
string
Access
W
Value
—
time-zone
#14 · time-zone
Format
int32
Access
W
Value
-99999 ~ 99999, step 1
#15 · orderdata
Format
string
Access
Value
—
#16 · room-preference
Format
string
Access
Value
—
#17 · prefer-type
Format
uint8
Access
Value
0Empty
1Room
2Material
#18 · all-enable-count
Format
string
Access
R / N
Value
—
#19 · is-global
Format
uint8
Access
Value
0Area
1Global

Actions

add
#1 · add
Input
#1order-idint64#2uint8#3uint8#4uint8#5uint8#6uint8#11uint32#14time-zoneint32#12uint8#16string
del
#2 · del
Input
#1order-idint64
get
#3 · get
Output
#15string
add-ii
#4 · add-ii
Input
#1order-idint64#2uint8#3uint8#4uint8#5uint8#6uint8#11uint32#12uint8#14time-zoneint32#16string#17uint8#19uint8
get-map-order-count
#5 · get-map-order-count
Input
#11uint32
Output
#18string

Events

start-order
#1 · start-order
low-power-start
#2 · low-power-start
point-zone
#9 · point-zone
8 properties8 actions

Properties

#2 · zone-points
Format
string
Access
W
Value
—
#3 · restrict-points
Format
string
Access
W
Value
—
#4 · pause-type
Format
uint8
Access
Value
0Pause
1Fake Pause
#5 · target-point
Format
string
Access
R / N / W
Value
—
#6 · beauty-point
Format
string
Access
Value
—
#7 · map-id
Format
uint32
Access
Value
0 ~ 4294967295, step 1
#8 · map-type
Format
uint8
Access
Value
00
11
22
33
#9 · timestamp
Format
uint32
Access
Value
0 ~ 4294967295, step 1

Actions

start-point-clean
#1 · start-point-clean
pause-point-clean
#2 · pause-point-clean
Input
#4uint8
start-zone-clean
#3 · start-zone-clean
pause-zone-clean
#4 · pause-zone-clean
Input
#4uint8
set-beauty-wall
#5 · set-beauty-wall
Input
#6string
Output
#7uint32#8uint8#9uint32
set-virtual-wall
#6 · set-virtual-wall
Input
#3string
Output
#7uint32#8uint8#9uint32
set-zone-point
#8 · set-zone-point
Input
#2string
Output
#7uint32#8uint8#9uint32
start-point-clean-ii
#9 · start-point-clean-ii
Input
#5string
Output
#7uint32#8uint8#9uint32
map
#10 · map
24 properties19 actions7 events

Properties

#1 · remember-state
Format
uint8
Access
R / N / W
Value
0Close
1Open
#2 · cur-map-id
Format
uint32
Access
R / N
Value
0 ~ 4294967295, step 1
#3 · map-num
Format
uint8
Access
R / N
Value
0 ~ 5, step 1
#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
#7 · upload-type
Format
uint8
Access
Value
0Realtime
1Point
2Area
3Memory
#8 · map-name
Format
string
Access
Value
—
#9 · room-id
Format
uint8
Access
Value
0 ~ 255, step 1
#10 · room-name
Format
string
Access
Value
—
#11 · arrange-room-ids
Format
string
Access
Value
—
#12 · split-points
Format
string
Access
Value
—
#13 · lang
Format
string
Access
Value
—
#14 · build-map
Format
uint8
Access
R / N
Value
0None
1Build
3Clean
#15 · start-cleaning-point
Format
uint32
Access
Value
0 ~ 4294967295, step 1
#16 · end-cleaning-point
Format
uint32
Access
Value
0 ~ 4294967295, step 1
#17 · room-id-name-list
Format
string
Access
Value
—
#18 · timestamp
Format
uint32
Access
Value
0 ~ 4294967295, step 1
#19 · has-new-map
Format
uint8
Access
R / N
Value
0Without Map To Save
1Wait To Rename Map
#20 · test-for-upload-map
Format
uint8
Access
Value
0RealMap
1MemoryMap
#21 · renew-map
Format
uint8
Access
Value
0False
1True
#22 · mijia-room-list
Format
string
Access
Value
—
#23 · furniture-list
Format
string
Access
Value
—
#24 · map-uploads
Format
uint8
Access
W
Value
0Upload
1Do Not Upload

Actions

get-map-list
#1 · get-map-list
Output
#4string
upload-by-mapid
#2 · upload-by-mapid
Input
#6uint32
Output
#6uint32#7uint8#18uint32
set-cur-map
#3 · set-cur-map
Input
#6uint32
del-map
#4 · del-map
Input
#6uint32
rename-map
#5 · rename-map
Input
#6uint32#8string
upload-by-maptype
#6 · upload-by-maptype
Input
#7uint8
Output
#6uint32#7uint8#18uint32
rename-room
#7 · rename-room
Input
#6uint32#9uint8#10string
Output
#6uint32#7uint8#18uint32
arrange-name
#8 · arrange-name
Input
#6uint32#11string#13string
Output
#6uint32#7uint8#18uint32
split-room
#9 · split-room
Input
#6uint32#9uint8#12string#13string
Output
#6uint32#7uint8#18uint32
reset-map
#10 · reset-map
build-new-map
#11 · build-new-map
Input
#14uint8
get-cur-path
#12 · get-cur-path
Input
#15uint32#16uint32
Output
#5string
get-map-room-list
#13 · get-map-room-list
Input
#2uint32
Output
#17string
upload-by-mapid-ii
#14 · upload-by-mapid-ii
Input
#6uint32
Output
#6uint32#7uint8#18uint32#21uint8
upload-by-maptype-ii
#15 · upload-by-maptype-ii
Input
#7uint8
Output
#6uint32#7uint8#18uint32#21uint8
reset-map-ii
#16 · reset-map-ii
Output
#18uint32
build-map-ii
#17 · build-map-ii
Input
#14uint8
Output
#18uint32
set-mijia-room-list
#18 · set-mijia-room-list
Input
#6uint32#22string
set-furniture
#19 · set-furniture
Input
#23string

Events

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

Properties

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

Actions

set-notdisturb
#1 · set-notdisturb
Input
#1uint8#2uint8#3uint8#4uint8#5uint8#6int32
language
#14 · language
6 properties2 actions

Properties

#1 · target-voice
Format
string
Access
Value
—
#2 · cur-voice
Format
string
Access
Value
—
download-status
#3 · download-status
Format
uint8
Access
Value
0 ~ 22, step 1
#4 · download-progress
Format
uint8
Access
Value
0 ~ 100, step 1
#5 · voice-url
Format
string
Access
Value
—
#6 · voice-mdfive
Format
string
Access
Value
—

Actions

download-voice
#1 · download-voice
Input
#1string#5string#6string
get-download-status
#2 · get-download-status
Output
#1string#2string#3download-statusuint8#4uint8