语言
Service tree
宠物喂食机#2 · pet-feeder属性 9动作 2事件 1
宠物喂食机
#2 · pet-feeder
Properties
故障
#1 · fault
- 格式
- uint8
- 读写
- R / N
- 值
- 0无故障1卡粮
喂食模式
#4 · mode
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0正常1慢速
出粮量
#5 · feeding-measure
- 格式
- uint8
- 读写
- 值
- 1 ~ 60,步长 1
宠物粮剩余量
#6 · pet-food-left-level
- 格式
- uint8
- 读写
- R / N
- 值
- 1正常2缺粮
出粮类型
#8 · feeding-type
- 格式
- uint8
- 读写
- 值
- 0按键1计划2远程
计划编号
#9 · current-time
- 格式
- uint32
- 读写
- 值
- 0 ~ 4294967295,步长 1
供电状态
#3 · status
- 格式
- uint8
- 读写
- R / N
- 值
- 0电源1电池
计划时间
#10 · feeding-type
- 格式
- uint16
- 读写
- 值
- 0 ~ 65535,步长 1
出粮错误码
#11 · feeding-type
- 格式
- uint8
- 读写
- 值
- 0成功1失败2关闭3正在喂食4低电
Actions
喂食机出粮
#1 · pet-food-out
入参
#5出粮量uint8
出参
#5出粮量uint8
称重手动校准
#2 · weigh-manual-calibrate
Events
出粮完成
#1 · food-out-complete
触发参数
#8出粮类型uint8#5出粮量uint8#9计划编号uint32#10计划时间uint16#11出粮错误码uint8
指示灯#3 · indicator-light属性 1
指示灯
#3 · indicator-light
Properties
开关
#1 · on
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0关1开
物理控制锁(童锁)#5 · physical-controls-locked属性 1
物理控制锁(童锁)
#5 · physical-controls-locked
Properties
物理控制锁
#1 · physical-controls-locked
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0关1开
电池#7 · battery属性 1
电池
#7 · battery
Properties
电池电量
#1 · battery-level
- 格式
- uint8
- 读写
- R / N
- 值
- 0 ~ 100,步长 1
喂食计划#6 · plan属性 8
喂食计划
#6 · plan
Properties
添加/修改计划
#1 · add-update
- 格式
- string
- 读写
- W
- 值
- —
删除计划
#2 · delete
- 格式
- uint32
- 读写
- W
- 值
- 0 ~ 4294967295,步长 1
开始
#3 · start-plan
- 格式
- uint8
- 读写
- R / N
- 值
- 0NOT1START
读取设备内的计划
#4 · red
- 格式
- string
- 读写
- R / N
- 值
- —
跳过某个计划
#6 · skip-plan
- 格式
- uint32
- 读写
- W
- 值
- 0 ~ 4294967295,步长 1
取消跳过某个计划
#7 · cancel-skip-plan
- 格式
- uint32
- 读写
- W
- 值
- 0 ~ 4294967295,步长 1
关闭或开启所有计划
#8 · off-on-all
- 格式
- uint8
- 读写
- R / W / N
- 值
- 0Off1On
粮食充足
#9 · food-sufficiency
- 格式
- uint8
- 读写
- W
- 值
- 0Sufficient1Insufficient
