์ธํ„ฐํŽ˜์ด์Šค๋Š” ํ˜„์ง€ํ™”๋˜์–ด ์žˆ์œผ๋ฉฐ, Skill ์†Œ๊ฐœ์™€ ์„ค๋ช… ๋ฌธ์„œ๋Š” ์„ ํƒํ•œ ์–ธ์–ด๋กœ AI๊ฐ€ ์ž๋™ ๋ฒˆ์—ญํ•ฉ๋‹ˆ๋‹ค. ์ฝ”๋“œยท๋ช…๋ น์–ดยท๊ฒฝ๋กœยท์ „๋ฌธ ์šฉ์–ด๋Š” ์›๋ฌธ์„ ์œ ์ง€ํ•˜๋ฉฐ ์›์ž‘์ž ๋ฌธ์„œ๊ฐ€ ์šฐ์„ ํ•ฉ๋‹ˆ๋‹ค.
Skills ๋‘˜๋Ÿฌ๋ณด๊ธฐ
๊ฐœ๋ฐœ ๋ฐ ์—”์ง€๋‹ˆ์–ด๋ง ยท SKILL.md

office-cam

office-cam

Multi-camera system for office/home monitoring. Supports USB webcams (Logitech), WiFi Wyze cameras (RTSP), and ESP32 cameras. Use to check rooms, capture photos on demand, or monitor multiple spaces.

Independent GitHub snapshot ยท Automated classification ยท Original documentation governs

Skill ๋ฌธ์„œ

GitHub

name: office-cam description: Multi-camera system for office/home monitoring. Supports USB webcams (Logitech), WiFi Wyze cameras (RTSP), and ESP32 cameras. Use to check rooms, capture photos on demand, or monitor multiple spaces. metadata: clawdbot: emoji: ๐ŸŽฅ

Office Cam - Multi-Camera System

Whole-house camera network supporting multiple camera types.

Supported Cameras

TypeReliabilitySetupBest For
๐Ÿ–ฅ๏ธ USB Webcamโญโญโญโญโญ InstantPlug & playDesk, office
๐Ÿ“น Wyze PTZ/v3โญโญโญโญโญ ReliableRTSP streamRooms, garage, shed
๐Ÿ“ก ESP32-CAMโญโญโญ ExperimentalESP-NOW wirelessDIY, battery-powered

Quick Start

# USB Webcam (instant)
~/clawd/skills/office-cam/scripts/capture.sh

# Wyze PTZ (one-time setup required)
~/clawd/skills/office-cam/scripts/wyze-dashboard add
~/clawd/skills/office-cam/scripts/wyze-dashboard capture shed

# ESP32-CAM (ESP-NOW wireless)
# Flash firmware, auto-discovers base station, sends photos wirelessly

๐Ÿ–ฅ๏ธ USB Webcam (Logitech)

Most reliable - works instantly.

Basic Capture

cd ~/clawd/skills/office-cam
./scripts/capture.sh /tmp/office.jpg

Motion Detection โญ NEW

# Start motion detection (runs continuously)
./scripts/motion-detect.sh

# Captures saved to ~/.clawdbot/motion-captures/
# Automatically triggers when motion detected
# 5-second cooldown between captures

๐Ÿ”ฅ OVERWATCH Mode (AI Monitoring) โญโญโญ

# Start AI-powered continuous monitoring
./scripts/overwatch start

# Check status
./scripts/overwatch status

# Stop monitoring
./scripts/overwatch stop

What Overwatch does:

  • ๐Ÿ‘€ Monitors webcam 24/7 in background
  • ๐Ÿšจ Detects motion and saves alert
  • ๐Ÿ”” Can trigger notifications (integrate with OpenClaw)
  • ๐Ÿ’พ Saves motion captures to ~/.clawdbot/overwatch/

Or say: "Start overwatch" or "Keep overwatch"

๐Ÿค– SMART OVERWATCH (AI-Escalated) โญโญโญโญโญ

# Start smart monitoring (zero cost until trigger)
./scripts/smart-overwatch start

# I will check for triggers and analyze when found

How it works:

  1. ๐Ÿ‘€ Local motion detection (file size comparison, zero API cost, runs always)
  2. ๐Ÿšจ Motion detected โ†’ creates trigger file in ~/.clawdbot/overwatch/triggers/
  3. ๐Ÿค– I detect the trigger โ†’ analyze image with vision model (only when motion happens)
  4. ๐Ÿ‘ค Person found? โ†’ Send alert & optionally continue watching
  5. ๐Ÿ“Š No person? โ†’ Delete trigger, back to local monitoring

What you can say:

  • "Start smart overwatch"
  • "Keep watch and tell me if you see anyone"
  • "Monitor for people only"
  • "Check overwatch triggers" (to manually check for pending analysis)

Cost: Zero until motion detected, then only when I analyze the image

๐Ÿ“ธ Instant Telegram Photo โญโญโญโญโญ

Quick capture and send - the simplest way to check your camera

Just say:

  • "Show me the office"
  • "What's on camera?"
  • "Send me a photo"

What happens:

  1. I instantly capture from your webcam
  2. Analyze for clear faces/activity
  3. Send best image directly to your Telegram

No stream needed - just instant photos when you want them.

๐Ÿ”ฅ OVERWATCH PRO (Full Control System) โญโญโญโญโญโญ

The complete solution - Telegram alerts, live stream, remote control

# Start the full system
./scripts/overwatch-pro start

# Setup Telegram (one-time)
./scripts/overwatch-pro setup

# Get live stream URLs
./scripts/overwatch-pro stream

# Take manual photo
./scripts/overwatch-pro capture

# Check status
./scripts/overwatch-pro status

# View live log
./scripts/overwatch-pro log

# Stop
./scripts/overwatch-pro stop

Features:

  • ๐Ÿšจ Instant Telegram alerts when motion detected
  • ๐ŸŒ Live MJPEG stream at http://localhost:8080
  • ๐Ÿ“ฑ Auto-refreshes every 2 seconds
  • ๐Ÿ“ธ Saves all captures to ~/.clawdbot/overwatch/
  • ๐Ÿค– Telegram bot replies - respond to alerts with commands
  • ๐ŸŒ… Morning report (8 AM daily via cron)

Telegram Commands (reply to motion alert):

  • analyze - I'll check the image and tell you what I see
  • stream - I'll send you the live stream link
  • capture - I'll take a fresh photo right now

Network Access:

# Local
http://localhost:8080

# From another device on same network
http://$(hostname -I | awk '{print $1}'):8080

Morning Report (with Photo):

  • Auto-generated at 8 AM (America/Denver timezone)
  • Sends a fresh morning photo of your office
  • Summarizes overnight motion events
  • Offers to analyze captures
  • Provides quick command reference

Requirements for motion detection:

brew install imagemagick  # For image comparison

๐Ÿ“น Wyze Cameras

One-Time Setup:

  1. Enable RTSP in Wyze App:

    • Open Wyze app โ†’ Camera Settings โ†’ Advanced Settings
    • Enable RTSP, set password
    • Copy the RTSP URL
  2. Add to system:

    ~/clawd/skills/office-cam/scripts/wyze-dashboard add
    # Enter camera name (e.g., "shed")
    # Enter RTSP URL
    
  3. Capture:

    # Single camera
    ~/clawd/skills/office-cam/scripts/wyze-dashboard capture shed
    
    # All cameras
    ~/clawd/skills/office-cam/scripts/wyze-dashboard capture-all
    
    # Quick one-liner (after setup)
    ~/clawd/skills/office-cam/scripts/wyze-capture shed
    

๐Ÿ“ก ESP32-CAM (ESP-NOW Wireless)

No WiFi router needed! Direct wireless between ESP32s.

Architecture:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”      ESP-NOW      โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  ESP32-CAM      โ”‚  โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ–บ โ”‚  ESP32 Base     โ”‚โ—„โ”€โ”€ USB โ”€โ”€โ–บ Mac
โ”‚  (Camera Node)  โ”‚   (100m range)    โ”‚  (Receiver)     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
        Battery powered                  Plugged into computer

Flashing:

Base Station (plain ESP32, plugged into Mac):

cd ~/clawd/skills/office-cam/firmware/espnow-base
pio run --target upload

Camera Node (ESP32-CAM with camera):

cd ~/clawd/skills/office-cam/firmware/espnow-cam-auto
pio run --target upload

How it works:

  1. Base station broadcasts "beacon" every 2 seconds
  2. Camera auto-discovers base station
  3. Camera captures and sends photo wirelessly
  4. Base receives and saves to SD/outputs to serial

Range: 100+ meters (no WiFi needed!)


Files

ScriptPurpose
capture.shUSB webcam
wyze-captureQuick Wyze capture
wyze-dashboardMulti-cam management
firmware/espnow-base/ESP32 receiver
firmware/espnow-cam-auto/ESP32-CAM transmitter

Troubleshooting

Wyze "Connection refused":

  • Verify RTSP enabled in Wyze app
  • Check username/password
  • Ensure same WiFi network

ESP32-CAM not connecting:

  • Keep within 10 feet for testing
  • Check LED: blinking = searching, solid = capturing
  • Try resetting both boards

USB webcam not working:

  • brew install imagesnap
  • System Settings โ†’ Privacy โ†’ Camera
์ €์žฅํ•œ Skills