跳到正文
TakoAPI
返回技能列表

ipcam

由 ltpop 提供

Smart Home & IoT
509下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

ONVIF PTZ control + RTSP capture + camera discovery.

描述

该技能的功能

Controls IP cameras over RTSP and ONVIF protocols. Supports snapshots, video recording, PTZ movement, preset positions, and network camera discovery. Works with cameras from TP-Link, Hikvision, Dahua, Reolink, Amcrest, and Axis.

Combines RTSP capture and ONVIF PTZ control in one skill, avoiding the need to juggle separate tools or write custom ONVIF XML by hand.

何时使用

  • Capture a snapshot from a front-door camera on demand
  • Record a 15-second clip when motion is detected
  • Pan a PTZ camera to a saved preset position
  • Scan the local network to find and configure new cameras
  • Pull the RTSP stream URL for use in another application

示例工作流

输入

User asks: check the backyard camera and move it to the gate preset

智能体
  1. 1

    Run camera.sh info to verify the backyard camera is reachable

  2. 2

    Run ptz.py preset list to retrieve saved presets

  3. 3

    Identify the gate preset number from the list

  4. 4

    Run ptz.py preset goto <n> to move the camera to that position

  5. 5

    Run camera.sh snapshot to capture a frame confirming the new view

输出

Camera is positioned at the gate preset and a snapshot is saved to disk

前置要求

  • Camera credentials (username and password) for each IP camera
  • ONVIF enabled in the camera's web UI

安装

clawhub install ltpop/ipcam

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接