ipcam
بواسطة ltpop
Smart Home & IoTموجز
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
Run camera.sh info to verify the backyard camera is reachable
- 2
Run ptz.py preset list to retrieve saved presets
- 3
Identify the gate preset number from the list
- 4
Run ptz.py preset goto <n> to move the camera to that position
- 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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.