語言
Service tree
Robot Cleaner#2 · vacuum屬性 11動作 8事件 1
Robot Cleaner
#2 · vacuum
Properties
工作狀態
#1 · status
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0睡眠1待機2暫停3回充中4充電中5清掃中6掃拖中7拖地中
Device Fault
#2 · fault
- 格式
- uint32
- 讀寫
- R / N
- 值
- 0No Faults1Low 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 Failed25No Mop Clean26Low Battery Cant Clean18Water Box Gone27Dust Bag Lost29Dust Bag Full35353636
Sweep Type
#4 · sweep-type
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0Total2Wall3Zone4Point5Control
Wide Dynamic Range Mode
#11 · wdr-mode
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 00112233
Door State
#12 · door-state
- 格式
- uint8
- 讀寫
- R / N
- 值
- 00112233
Contact State
#13 · contact-state
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0011
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
Mute
#17 · mute
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
Mode
#19 · mode
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0Silent1Basic2Medium3Strong
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
Eject Complete
#2 · eject-complete
觸發參數
#2Device Faultuint32
Battery#3 · battery屬性 1
Battery
#3 · battery
Properties
Battery Level
#1 · battery-level
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0 ~ 100,步長 1 percentage
viomi-vacuum#4 · viomi-vacuum屬性 40動作 7事件 6
viomi-vacuum
#4 · viomi-vacuum
Properties
repeat-state
#1 · repeat-state
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0Close1Open
remember-state
#3 · remember-state
- 格式
- uint8
- 讀寫
- W / R / N
- 值
- 0Close1Open
mop-route
#6 · mop-route
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0S Path1Y Path
side-brush-life
#8 · side-brush-life
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0 ~ 100,步長 1 percentage
side-brush-hours
#9 · side-brush-hours
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0 ~ 180,步長 1 hours
main-brush-life
#10 · main-brush-life
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0 ~ 100,步長 1 percentage
main-brush-hours
#11 · main-brush-hours
- 格式
- uint16
- 讀寫
- R / N
- 值
- 0 ~ 360,步長 1 hours
hypa-life
#12 · hypa-life
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0 ~ 100,步長 1 percentage
hypa-hours
#13 · hypa-hours
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0 ~ 180,步長 1 hours
mop-life
#14 · mop-life
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0 ~ 100,步長 1 percentage
mop-hours
#15 · mop-hours
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0 ~ 180,步長 1 hours
direction
#16 · direction
- 格式
- uint8
- 讀寫
- W
- 值
- 1Forward2Left3Right4Backwards5Stop
suction-grade
#17 · suction-grade
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0Silent1Standard2Mediums3Strong
water-grade
#18 · water-grade
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0One Grade1Two Grade2Three Grade
map-num
#23 · map-num
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0 ~ 5,步長 1
time-zone
#24 · time-zone
- 格式
- int32
- 讀寫
- R / N / W
- 值
- -99999 ~ 99999,步長 1
clean-start-time
#25 · clean-start-time
- 格式
- int64
- 讀寫
- R / N
- 值
- 0 ~ 9999999999,步長 1 seconds
clean-use-time
#26 · clean-use-time
- 格式
- uint32
- 讀寫
- R / N
- 值
- 0 ~ 99999,步長 1 seconds
clean-area
#27 · clean-area
- 格式
- uint32
- 讀寫
- R / N
- 值
- 0 ~ 99999,步長 1
clean-map-url
#28 · clean-map-url
- 格式
- string
- 讀寫
- R / N
- 值
- —
clean-mode
#29 · clean-mode
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0Whole Area1Along Side2Area Clean3Point Clean
clean-way
#30 · clean-way
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0Only Sweep1Sweep And Mop2Only Mop
cur-lang
#31 · cur-lang
- 格式
- string
- 讀寫
- R / N / W
- 值
- —
cur-map-id
#32 · cur-map-id
- 格式
- uint32
- 讀寫
- R / N
- 值
- 0 ~ 2147483647,步長 1
cur-map-url
#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
- 值
- 0Side Brush1Main Brush2Dust Box3Mop Cloth
clean-room-mode
#36 · clean-room-mode
- 格式
- uint8
- 讀寫
- W
- 值
- 0Whole Clean1Along Side
clean-room-oper
#37 · clean-room-oper
- 格式
- uint8
- 讀寫
- W
- 值
- 0Stop1Start2Pause
clean-room-ids
#38 · clean-room-ids
- 格式
- string
- 讀寫
- W
- 值
- —
has-map
#39 · has-map
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0No Store Map1Have Store Map
has-newmap
#40 · has-newmap
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0None1New2Cover
dust-collection
#41 · dust-collection
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0Close1Open
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
- 值
- 0RoomClean1AllClean2PartClean
carpet-press
#45 · carpet-press
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0Off1On
fast-mapping-button
#46 · fast-mapping-button
- 格式
- bool
- 讀寫
- R / N / W
- 值
- —
fast-mapping-status
#47 · fast-mapping-status
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0Close1Building2Main Page Done3Setting Page Done
mute-num
#48 · mute-num
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 1 ~ 10,步長 1
Actions
reset-map
#7 · reset-map
set-calibration
#10 · set-calibration
reset-consumable
#11 · reset-consumable
入參
#35consumable-indexuint8
set-room-clean
#13 · set-room-clean
入參
#36clean-room-modeuint8#37clean-room-operuint8#38clean-room-idsstring
set-custom-clean
#14 · set-custom-clean
plugin-active
#16 · plugin-active
fast-mapping-action
#17 · fast-mapping-action
Events
mop-remind
#1 · mop-remind
wait-remind
#2 · wait-remind
low-remind
#3 · low-remind
clean-end
#4 · clean-end
觸發參數
#25clean-start-timeint64#26clean-use-timeuint32#27clean-areauint32#28clean-map-urlstring#29clean-modeuint8#30clean-wayuint8
upload-clean-record
#5 · upload-clean-record
fast-mapping-done
#6 · fast-mapping-done
order#5 · order屬性 21動作 2
order
#5 · order
Properties
order-id
#1 · order-id
- 格式
- uint8
- 讀寫
- W
- 值
- 0 ~ 100,步長 1
enable
#2 · enable
- 格式
- uint8
- 讀寫
- W
- 值
- 0Close1Open
day
#3 · day
- 格式
- uint16
- 讀寫
- W
- 值
- 0 ~ 256,步長 1
hour
#4 · hour
- 格式
- uint8
- 讀寫
- W
- 值
- 0 ~ 23,步長 1
minute
#5 · minute
- 格式
- uint8
- 讀寫
- W
- 值
- 0 ~ 59,步長 1
repeat
#6 · repeat
- 格式
- uint8
- 讀寫
- W
- 值
- 0False1True
clean-way
#8 · clean-way
- 格式
- uint8
- 讀寫
- W
- 值
- 0Only Clean1Clean And Mop2Only Mop
suction
#9 · suction
- 格式
- uint8
- 讀寫
- W
- 值
- 0Silent1Stanard2Middle3Large
water
#10 · water
- 格式
- uint8
- 讀寫
- W
- 值
- 0Little1Stanard2Large
twice-clean
#11 · twice-clean
- 格式
- uint8
- 讀寫
- W
- 值
- 0Once1Twice
mapid
#12 · mapid
- 格式
- uint32
- 讀寫
- W
- 值
- 0 ~ 99999999,步長 1
room-count
#13 · room-count
- 格式
- uint8
- 讀寫
- W
- 值
- 0 ~ 64,步長 1
room-data
#14 · room-data
- 格式
- string
- 讀寫
- W
- 值
- —
dnd-enable
#15 · dnd-enable
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0False1True
dnd-start-hour
#16 · dnd-start-hour
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0 ~ 23,步長 1 hours
dnd-start-minute
#17 · dnd-start-minute
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0 ~ 59,步長 1 minutes
dnd-end-hour
#18 · dnd-end-hour
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0 ~ 23,步長 1 hours
dnd-end-minute
#19 · dnd-end-minute
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0 ~ 59,步長 1 minutes
dnd-timezone
#20 · dnd-timezone
- 格式
- int32
- 讀寫
- R / N / W
- 值
- -99999 ~ 99999,步長 1
timestamp
#21 · timestamp
- 格式
- int64
- 讀寫
- R / N / W
- 值
- -999999 ~ 999999,步長 1
orderdata
#22 · orderdata
- 格式
- string
- 讀寫
- R / N
- 值
- —
Actions
del
#2 · del
入參
#1order-iduint8
get
#3 · get
出參
#22orderdatastring
point-zone#6 · point-zone屬性 4動作 4
point-zone
#6 · point-zone
Properties
target-point
#1 · target-point
- 格式
- string
- 讀寫
- R / N / W
- 值
- —
zone-points
#2 · zone-points
- 格式
- string
- 讀寫
- W
- 值
- —
restrict-points
#3 · restrict-points
- 格式
- string
- 讀寫
- W
- 值
- —
multiple-zone-points
#4 · multiple-zone-points
- 格式
- string
- 讀寫
- W
- 值
- —
Actions
start-point-clean
#1 · start-point-clean
pause-point-clean
#2 · pause-point-clean
start-zone-clean
#5 · start-zone-clean
pause-zone-clean
#6 · pause-zone-clean
map#7 · map屬性 15動作 12
map
#7 · map
Properties
map-type
#1 · map-type
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0Upload To Url01Upload To Url12Upload To Url2
map-id
#2 · map-id
- 格式
- int64
- 讀寫
- R / N / W
- 值
- 0 ~ 9999999999,步長 1
#4 · map-name
- 格式
- string
- 讀寫
- R / N / W
- 值
- —
#5 · lang
- 格式
- string
- 讀寫
- W
- 值
- —
#6 · arrange-room-ids
- 格式
- string
- 讀寫
- W
- 值
- —
#7 · target-room-id
- 格式
- uint8
- 讀寫
- W
- 值
- 0 ~ 128,步長 1
#8 · split-points
- 格式
- string
- 讀寫
- W
- 值
- —
#9 · room-name
- 格式
- string
- 讀寫
- W
- 值
- —
#10 · cur-cleaning-path
- 格式
- string
- 讀寫
- R / N
- 值
- —
#11 · map-list
- 格式
- string
- 讀寫
- R / N
- 值
- —
#12 · last-point-index
- 格式
- int32
- 讀寫
- 值
- 0 ~ 2147483647,步長 1
#13 · oper-result
- 格式
- string
- 讀寫
- R / N
- 值
- —
#14 · auto-area-id
- 格式
- int64
- 讀寫
- R / N
- 值
- 0 ~ 9999999999,步長 1
#15 · map-download-url
- 格式
- string
- 讀寫
- 值
- —
#16 · new-map-oper
- 格式
- uint8
- 讀寫
- 值
- 0 ~ 2,步長 1
Actions
upload-by-maptype
#1 · upload-by-maptype
upload-by-mapid
#2 · upload-by-mapid
set-cur-map
#3 · set-cur-map
入參
#2map-idint64#15string
del-map
#5 · del-map
入參
#2map-idint64
rename-map
#7 · rename-map
入參
#2map-idint64#4string
arrange-room
#8 · arrange-room
入參
#2map-idint64#5string#6string#14int64
出參
#13string
split-room
#9 · split-room
入參
#2map-idint64#5string#7uint8#8string#14int64
rename-room
#10 · rename-room
入參
#2map-idint64#7uint8#9string#14int64
get-map-list
#11 · get-map-list
出參
#11string
get-cleaning-path
#12 · get-cleaning-path
入參
#12int32
出參
#10string
set-new-map
#13 · set-new-map
deal-new-map
#14 · deal-new-map
入參
#16uint8
voice#8 · voice屬性 6動作 3
voice
#8 · voice
Properties
target-voice
#3 · target-voice
- 格式
- string
- 讀寫
- R / N / W
- 值
- —
cur-voice
#4 · cur-voice
- 格式
- string
- 讀寫
- R / N
- 值
- —
download-status
#5 · download-status
- 格式
- uint8
- 讀寫
- R / N
- 值
- 00112212121313141415151616171718181919202021212222
download-progress
#6 · download-progress
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0 ~ 100,步長 1
voice-url
#7 · voice-url
- 格式
- string
- 讀寫
- W
- 值
- —
voice-mdfive
#8 · voice-mdfive
- 格式
- string
- 讀寫
- W
- 值
- —
Actions
find-device
#2 · find-device
download-voice
#3 · download-voice
入參
#3target-voicestring#7voice-urlstring#8voice-mdfivestring
get-downloadstatus
#4 · get-downloadstatus
出參
#6download-progressuint8#3target-voicestring#4cur-voicestring#5download-statusuint8
