语言
Service tree
扫地机#2 · vacuum属性 10动作 8
扫地机
#2 · vacuum
Properties
工作状态
#1 · status
- 格式
- uint8
- 读写
- R / N
- 值
- 1待机中2工作中3暂停4故障5正在充电6正在回充7电池已充满
故障
#2 · fault
- 格式
- uint8
- 读写
- R / N
- 值
- 0正常1左驱动轮异常2右驱动轮异常3碰撞缓冲板异常4边刷异常5悬崖传感器异常6主机轮子悬空7风机异常8电量过低,主机无法启动9回充失败10主机被困11左驱动轮异常12右驱动轮异常13边刷异常14电池温度异常15地面有斜坡
共用传参属性
#3 · common-params
- 格式
- string
- 读写
- 值
- —
清洁范围
#4 · sweep-type
- 格式
- uint8
- 读写
- R / W / N
- 值
- 1全屋清洁2重点清洁3沿边清洁
吸力设置
#5 · suction-level
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0安静1标准2强力
当前清扫面积(单位0.01平方米)
#6 · cleaning-area
- 格式
- uint32
- 读写
- R / N
- 值
- 0 ~ 4294967295,步长 1
当前清扫时长
#7 · cleaning-time
- 格式
- uint32
- 读写
- R / N
- 值
- 0 ~ 4294967295,步长 1 seconds
上次清扫时间
#9 · last-clean-time
- 格式
- string
- 读写
- N / R
- 值
- —
预约清扫
#11 · order-clean
- 格式
- string
- 读写
- R / W / N
- 值
- —
断点续扫开关
#12 · sweep-break-switch
- 格式
- bool
- 读写
- R / W / N
- 值
- —
Actions
开始扫地
#1 · start-sweep
停止清扫
#2 · stop-sweeping
暂停清扫
#3 · pause-sweeping
继续清扫
#4 · continue-sweep
新增预约清扫
#5 · add-order-clean
入参
#3共用传参属性string
删除预约清扫
#6 · delete-order-clean
入参
#3共用传参属性string
修改预约清扫
#7 · modify-order-clean
入参
#3共用传参属性string
停止并回充
#8 · stop-and-gocharge
电池#3 · battery属性 2事件 1
电池
#3 · battery
Properties
电池电量
#1 · battery-level
- 格式
- uint8
- 读写
- R / N
- 值
- 0 ~ 100,步长 1 percentage
电池充电状态
#2 · charging-state
- 格式
- uint8
- 读写
- R / N
- 值
- 1未充电2充电中3充电完成
Events
电量低
#1 · low-battery
设备确认#4 · identify动作 1
设备确认
#4 · identify
Actions
设备响应
#1 · identify
清洁地图#5 · vacuum-map
清洁地图
#5 · vacuum-map
滤芯#6 · filter属性 2动作 1
滤芯
#6 · filter
Properties
滤芯剩余寿命
#1 · filter-life-level
- 格式
- uint8
- 读写
- R / N
- 值
- 0 ~ 100,步长 1 percentage
滤芯剩余时间
#2 · filter-left-time
- 格式
- uint16
- 读写
- R / N
- 值
- 0 ~ 18000,步长 1 minutes
Actions
重置滤芯
#1 · reset-filter-life
边刷#7 · brush-cleaner属性 2动作 1
边刷
#7 · brush-cleaner
Properties
清扫刷剩余寿命
#1 · brush-life-level
- 格式
- uint8
- 读写
- R / N
- 值
- 0 ~ 100,步长 1 percentage
清扫刷剩余时间
#2 · brush-left-time
- 格式
- uint16
- 读写
- R / N
- 值
- 0 ~ 18000,步长 1 minutes
Actions
重置清扫刷
#1 · reset-brush-life
勿扰#10 · no-disturb属性 2
勿扰
#10 · no-disturb
Properties
勿扰
#1 · no-disturb
- 格式
- bool
- 读写
- R / W / N
- 值
- —
启用时间段
#2 · enable-time-period
- 格式
- string
- 读写
- R / W / N
- 值
- —
清扫记录#9 · clean-record属性 4
清扫记录
#9 · clean-record
Properties
总清扫面积
#1 · total-clean-area
- 格式
- uint32
- 读写
- R / N
- 值
- 0 ~ 4294967295,步长 1
总清扫时间
#2 · total-clean-time
- 格式
- uint32
- 读写
- R / N
- 值
- 0 ~ 4294967295,步长 1 minutes
总清扫次数
#3 · total-clean-count
- 格式
- uint16
- 读写
- R / N
- 值
- 0 ~ 65535,步长 1
清扫记录
#5 · clean-record
- 格式
- string
- 读写
- R / N
- 值
- —
回充#11 · go-charging动作 2
回充
#11 · go-charging
Actions
开始回充
#1 · start-charging
停止回充
#2 · stop-charging
通知#12 · notification属性 1
通知
#12 · notification
Properties
通知
#1 · notification
- 格式
- uint8
- 读写
- R / N
- 值
- 0正常1消息12消息23消息34消息45消息56消息67消息78消息89消息910消息1011消息1112消息1213消息1314消息14
遥控#13 · remote-control属性 1
遥控
#13 · remote-control
Properties
方向键
#1 · direction-key
- 格式
- uint8
- 读写
- W
- 值
- 0左1右2前3后4停止
灯光#14 · lighting属性 1
灯光
#14 · lighting
Properties
灯光
#1 · lighting
- 格式
- bool
- 读写
- R / W / N
- 值
- —
时区信息#15 · time-zone-info属性 1
时区信息
#15 · time-zone-info
Properties
当前设备时区
#1 · time-zone
- 格式
- int32
- 读写
- R / W / N
- 值
- -20 ~ 20,步长 1
