語言
Service tree
鱼缸#2 · fish-tank屬性 6動作 1
鱼缸
#2 · fish-tank
Properties
开关
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
水泵开关
#2 · water-pump
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
水泵挡位
#3 · pump-flux
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0一挡1二档
水泵状态
#4 · water-pump-status
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0未连接1关闭2开启3低水位4堵转5故障
出粮量
#5 · feeding-measure
- 格式
- uint8
- 讀寫
- 值
- 1 ~ 3,步長 1
鱼缸当前温度
#6 · temperature
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0 ~ 99,步長 1 celsius
Actions
喂食
#1 · pet-food-out
入參
#5出粮量uint8
灯#3 · light屬性 4動作 1
灯
#3 · light
Properties
开关
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
模式
#2 · mode
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0日光1流光3白光4彩灯25彩灯36彩灯47夜灯8彩灯59彩灯6
亮度
#3 · brightness
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 1 ~ 100,步長 1 percentage
流光速度挡位
#4 · flow-speed-level
- 格式
- uint8
- 讀寫
- R / W / N
- 值
- 0低速1中速2高速
Actions
切换灯光模式
#1 · toggle-light-mode
滤芯#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 ~ 65535,步長 1 hours
Actions
重置滤芯
#1 · reset-filter-life
提示音#7 · alarm屬性 1
提示音
#7 · alarm
Properties
提示音
#1 · alarm
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
指示灯#8 · indicator-light屬性 1
指示灯
#8 · indicator-light
Properties
开关
#1 · on
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
物理控制锁(童锁)#9 · physical-controls-locked屬性 1
物理控制锁(童锁)
#9 · physical-controls-locked
Properties
物理控制锁
#1 · physical-controls-locked
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
勿扰#10 · no-disturb屬性 2
勿扰
#10 · no-disturb
Properties
勿扰
#1 · no-disturb
- 格式
- bool
- 讀寫
- R / W / N
- 值
- —
启用时间段(格式为:'00:00:00-00:00:00')
#2 · enable-time-period
- 格式
- string
- 讀寫
- R / W / N
- 值
- —
灯光自定义内容#4 · light-custom屬性 7動作 1事件 1
灯光自定义内容
#4 · light-custom
Properties
灯光模式列表,格式[日光id,流光id,水草灯id,彩光色值-序号-名字-亮度,彩光色值-序号-名字-亮度,夜灯id]
#1 · light-mode-list
- 格式
- string
- 讀寫
- R / N / W
- 值
- —
灯光编辑开关
#2 · light-edit-on
- 格式
- bool
- 讀寫
- R / N / W
- 值
- —
当日灯照时间
#3 · light-water-use-time
- 格式
- uint16
- 讀寫
- R / N
- 值
- 0 ~ 1440,步長 1 minutes
预览灯光颜色(RGB)
#4 · light-edit-color
- 格式
- uint32
- 讀寫
- R / N / W
- 值
- 1 ~ 16777215,步長 1
预览灯光亮度
#5 · light-edit-bright
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 1 ~ 100,步長 1
翻盖熄灯开关
#6 · off-flipcover-switch
- 格式
- bool
- 讀寫
- R / N / W
- 值
- —
灯光特效
#7 · light-effects
- 格式
- uint8
- 讀寫
- 值
- 0Flow-love
Actions
触发灯光特效
#1 · triger-light-effects
入參
#7灯光特效uint8
Events
灯照时间过长提醒
#1 · light-overtime-warn
喂食自定义内容#5 · feeder屬性 9事件 1
喂食自定义内容
#5 · feeder
Properties
喂食器状态
#1 · feeder-status
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0Idle1Busy
今日喂食份数
#2 · today-feeded-num
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0 ~ 255,步長 1
喂食操作方式
#3 · feed-operation
- 格式
- uint8
- 讀寫
- 值
- 0Device1Net
喂食目标分数
#4 · feed-target-num
- 格式
- uint8
- 讀寫
- 值
- 1 ~ 100,步長 1
喂食成功份数
#5 · feed-success-num
- 格式
- uint8
- 讀寫
- 值
- 0 ~ 100,步長 1
喂食执行时间
#6 · feed-time
- 格式
- uint32
- 讀寫
- 值
- 1 ~ 4294967295,步長 1 seconds
错误码
#7 · code
- 格式
- uint8
- 讀寫
- 值
- 0Success1Timeout2Shutdown
喂食保护开关
#8 · feed-protect-switch
- 格式
- bool
- 讀寫
- R / N / W
- 值
- —
喂食保护状态
#9 · feed-protect-status
- 格式
- uint8
- 讀寫
- N / R
- 值
- 0Idle1Busy
Events
喂食结果
#1 · feed-result
觸發參數
#3喂食操作方式uint8#4喂食目标分数uint8#5喂食成功份数uint8#6喂食执行时间uint32#7错误码uint8#2今日喂食份数uint8
勿扰模式自定义内容#11 · no-disturb-custom屬性 8事件 1
勿扰模式自定义内容
#11 · no-disturb-custom
Properties
重复周期,0b01111111,表示每天重复,0b000000001,表示周一重复
#1 · repeat-cycle
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0 ~ 127,步長 1
灯光开关
#2 · light-status-on
- 格式
- bool
- 讀寫
- R / N / W
- 值
- —
灯光模式
#3 · light-status-mode
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0Day1Flow3Color14Color25Color36Color47Night8Color59Color6
灯光亮度
#4 · light-status-bright
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 1 ~ 100,步長 1 percentage
流光速度挡位
#5 · light-status-flow
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0Low1Middle2High
水泵开关
#6 · pump-status-on
- 格式
- bool
- 讀寫
- R / N / W
- 值
- —
水泵挡位
#7 · pump-status-flux
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0Level11Level2
勿扰模式是否生效
#8 · no-disturb-working
- 格式
- bool
- 讀寫
- R / N
- 值
- —
Events
手动关闭勿扰模式提醒
#1 · turn-off-warn
异常卡片#12 · exception-card屬性 2
异常卡片
#12 · exception-card
Properties
触发状态:按照bit,从低到高位。1: 灯照时间过长。2: 水泵故障、低水位、堵转。3: 水泵未连接。4: 今日喂食份数过多。5: 滤材过期。6: 水温提醒
#1 · trigger-status
- 格式
- uint32
- 讀寫
- R / N
- 值
- 0 ~ 4294967295,步長 1
今日不再提醒状态,同上
#2 · no-reminder-status
- 格式
- uint32
- 讀寫
- R / N / W
- 值
- 0 ~ 4294967295,步長 1
温度自定义内容#13 · temp-custom屬性 5事件 1
温度自定义内容
#13 · temp-custom
Properties
温度探头状态
#1 · temp-status
- 格式
- uint8
- 讀寫
- R / N
- 值
- 0Disconnected1Busy2Fault
温度提醒开关
#2 · temp-warn-switch
- 格式
- bool
- 讀寫
- R / N / W
- 值
- —
最低提醒温度
#3 · temp-warn-min
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0 ~ 40,步長 1 celsius
最高提醒温度
#4 · temp-warn-max
- 格式
- uint8
- 讀寫
- R / N / W
- 值
- 0 ~ 40,步長 1 celsius
温度提醒类型
#5 · temp-warn-type
- 格式
- uint8
- 讀寫
- 值
- 1Upper Limit2Lower Limit
Events
温度提醒
#1 · temp-warn
觸發參數
#5温度提醒类型uint8
