360 Secure SkillHub
360 安全技能中心

OpenSprinkler

面向 OpenSprinkler 本地控制器的 Skill,经其局域网 HTTP API 提供灌溉系统操作能力:查看运行状态与日志、按 1-based 站点/程序 ID 手动运行、切换雨延迟、暂停队列、读取系统选项(天气调整、固件版本、日出日落)等;手动开水前需向用户确认时长。

jnord3
jnord3
热度 11.03
最近更新 2026-08-02 06:56:48
分类:自动化依赖:第三方 API / 代码执行应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add opensprinkler
Metadata
name
opensprinkler
description
Monitor and control an OpenSprinkler irrigation controller. Allows checking status, running manual stations/programs, toggling rain delays, viewing logs, pausing the queue, and managing overall system operation.
env
{"OPENSPRINKLER_IP_ADDRESS":null,"OPENSPRINKLER_PASSWORD":null}

OpenSprinkler Local Controller

This skill grants access to an OpenSprinkler irrigation controller via its local HTTP API.

Guidelines for the AI

  • Station IDs & Program IDs: You will exclusively use 1-based Station IDs (1-72) and Program IDs when interacting with the user and the tools.
  • Special Program IDs in Logs: When reading logs, note that Program ID 255 indicates a manual station run, and Program ID 254 indicates a manual run-once sequence.
  • Naming: Try to respond using human-readable Station Names and Program Names when they are available or provided by the user. Fall back to numerical IDs if names are missing or if it makes the response clearer.
  • Duration: When turning on a station manually, always ask the user for a duration if they do not provide one. Do not guess water times.
  • System Diagnostics & Weather: * If the user asks about the physical "Rain Sensor" or other hardware sensors, use get_status to check rain_sensor_active.
    • If the user asks about the "Watering Level" (weather adjustment percentage), whether weather adjustments are currently active, firmware versions, or sunrise/sunset times, you must use the get_options tool.