返回顶部
r

reefbeatreefbeat控制

Control and monitor Red Sea ReefBeat aquarium equipment directly over the local HTTP API — no cloud required. Supports ALL actions on ALL devices — ReefLED G1/G2 (lighting/kelvin/intensity/schedules/acclimation/moonphase), ReefDose (dosing/calibration/priming/supplements), ReefMat (filter roll/advance/new-roll), ReefRun (return pump + skimmer control/overskimming), ReefATO+ (auto top-off/resume/volume), ReefWave (wave modes/preview). Use for ANY reef tank / aquarium request.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.3
安全检测
已通过
222
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

reefbeat

ReefBeat 技能

用于Red Sea ReefBeat设备的直接HTTP控制。完整API参考见references/api.md。

快速开始

bash
python3 scripts/reefbeat.py discover /24 # 查找所有设备
python3 scripts/reefbeat.py info # 设备信息 + 类型
python3 scripts/reefbeat.py status # /dashboard
python3 scripts/reefbeat.py get /endpoint
python3 scripts/reefbeat.py post /endpoint {key:value}
python3 scripts/reefbeat.py put /endpoint {key:value}

设备发现

运行发现功能可自动查找网络上的所有设备:
bash
python3 scripts/reefbeat.py discover /24



按请求分类的常见操作

ReefLED — 照明

bash

检查当前灯光状态


python3 scripts/reefbeat.py get /manual

设置白色/蓝色(G1 — RSLED90)

python3 scripts/reefbeat.py post /manual {white: 60, blue: 80}

定时手动模式(30分钟后恢复计划)

python3 scripts/reefbeat.py post /manual {white: 60, blue: 80, duration: 30}

切换月相模式

python3 scripts/reefbeat.py IP> post /moonphase {enabled: true, moonday: 14}

驯化模式

python3 scripts/reefbeat.py IP> post /acclimation {enabled: true, duration: 50, startintensity_factor: 30}

查看周一(第1天)的自动计划

python3 scripts/reefbeat.py get /auto/1

关闭LED / 恢复计划

python3 scripts/reefbeat.py delete /off

ReefRun — 水泵/蛋白质分离器

bash

检查水泵状态


python3 scripts/reefbeat.py status
python3 scripts/reefbeat.py get /pump/settings

开启/关闭水泵(由schedule_enabled控制)

python3 scripts/reefbeat.py put /pump/settings \ {pump2: {id:2,name:skimmer,type:skimmer,model:rsk-300,sensorcontrolled:true,schedule_enabled:false,schedule:[{st:0,ti:0,pd:0}]}}

将回流泵强度改为70%

python3 scripts/reefbeat.py put /pump/settings \ {pump1: {id:1,name:Return pump,type:return,model:return-6,sensorcontrolled:false,schedule_enabled:true,schedule:[{st:0,ti:70,pd:0}]}}

切换过量撇渣保护

python3 scripts/reefbeat.py put /pump/settings \ {overskimming: {enabled: true, threshold: 10}}

ReefATO+ — 自动补水

bash

检查ATO状态(液位、温度、补水次数)


python3 scripts/reefbeat.py status
python3 scripts/reefbeat.py status

故障/水泵超时后恢复

python3 scripts/reefbeat.py post /resume

启用/禁用自动补水

python3 scripts/reefbeat.py IP> put /configuration {autofill: true}

手动补水/停止

python3 scripts/reefbeat.py post /manual-pump python3 scripts/reefbeat.py post /stop

设置储水罐容量(毫升)

python3 scripts/reefbeat.py post /update-volume {volume: 10000}

ReefMat — 过滤卷

bash

检查滤卷状态


python3 scripts/reefbeat.py status # 水族箱1滤卷
python3 scripts/reefbeat.py status # 水族箱2滤卷

手动推进滤卷

python3 scripts/reefbeat.py post /advance

注册新满卷(ReefMat250 — 最大直径11.1cm)

python3 scripts/reefbeat.py post /new-roll \ {externaldiameter: 11.1, name: New Roll, thickness: 0.3, ispartial: false}

注册已使用滤卷

python3 scripts/reefbeat.py post /new-roll \ {externaldiameter: 8.5, name: Started Roll, thickness: 0.3, ispartial: true}

切换自动推进

python3 scripts/reefbeat.py IP> put /configuration {autoadvance: true}

ReefWave — 造浪泵

bash

检查造浪状态


python3 scripts/reefbeat.py status

启动预览模式(交替模式,5分钟正向/5分钟反向,80%强度,总计5分钟)

python3 scripts/reefbeat.py post /preview \ {type:st,frt:5,rrt:5,fti:80,rti:80,duration:300000,sn:5,pd:10}

停止/保存预览

python3 scripts/reefbeat.py delete /preview

快捷操作(所有设备)

bash

启动喂食模式


python3 scripts/reefbeat.py post /maintenance # 或 /emergency

结束维护模式

python3 scripts/reefbeat.py delete /maintenance

网络行为

  • - 自动发现(discover命令)会打开一个UDP套接字连接到8.8.8.8(不发送数据——这是检测本地网络接口的标准技术),然后通过HTTP /device-info和/description.xml主动探测子网内的所有主机。在接口检测步骤之后,此操作仅在本地进行。
  • 此技能不会进行云认证或外部API调用。
  • 所有设备控制均为纯本地HTTP(端口80,无需认证)。

注意事项

  • - G1 LED(RSLED50/90/160):白色+蓝色通道(0–100%)
  • G2 LED(RSLED60/115/170):色温(10000–20000)+ 强度(0–100%)
  • ReefDose配置请求可能需要7–9秒——属正常现象
  • ReefWave本地更改会与应用不同步——属预期行为
  • ATO pump_timeout / malfunction → POST /resume 清除
  • 写入前务必先读取/pump/settings,以保留未更改的水泵字段

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 reefbeat-1776104722 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 reefbeat-1776104722 技能

通过命令行安装

skillhub install reefbeat-1776104722

下载

⬇ 下载 reefbeat v1.0.3(免费)

文件大小: 8.84 KB | 发布时间: 2026-4-15 14:08

v1.0.3 最新 2026-4-15 14:08
Fix scan findings: remove undocumented cloud credential references (code never used them), clarify description to not claim cloud API support, document UDP/8.8.8.8 interface-detection behaviour in discovery.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部