协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
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.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Whole-house camera network supporting multiple camera types.
| Type | Reliability | Setup | Best For |
|---|---|---|---|
| 🖥️ USB Webcam | ⭐⭐⭐⭐⭐ Instant | Plug & play | Desk, office |
| 📹 Wyze PTZ/v3 | ⭐⭐⭐⭐⭐ Reliable | RTSP stream | Rooms, garage, shed |
| 📡 ESP32-CAM | ⭐⭐⭐ Experimental | ESP-NOW wireless | DIY, battery-powered |
# 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
Most reliable - works instantly.
cd ~/clawd/skills/office-cam
./scripts/capture.sh /tmp/office.jpg
# 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
# Start AI-powered continuous monitoring
./scripts/overwatch start
# Check status
./scripts/overwatch status
# Stop monitoring
./scripts/overwatch stop
What Overwatch does:
~/.clawdbot/overwatch/Or say: "Start overwatch" or "Keep overwatch"
# Start smart monitoring (zero cost until trigger)
./scripts/smart-overwatch start
# I will check for triggers and analyze when found
How it works:
~/.clawdbot/overwatch/triggers/What you can say:
Cost: Zero until motion detected, then only when I analyze the image
Quick capture and send - the simplest way to check your camera
Just say:
What happens:
No stream needed - just instant photos when you want them.
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:
Telegram Commands (reply to motion alert):
analyze - I'll check the image and tell you what I seestream - I'll send you the live stream linkcapture - I'll take a fresh photo right nowNetwork Access:
# Local
http://localhost:8080
# From another device on same network
http://$(hostname -I | awk '{print $1}'):8080
Morning Report (with Photo):
Requirements for motion detection:
brew install imagemagick # For image comparison
Enable RTSP in Wyze App:
Add to system:
~/clawd/skills/office-cam/scripts/wyze-dashboard add
# Enter camera name (e.g., "shed")
# Enter RTSP URL
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
No WiFi router needed! Direct wireless between ESP32s.
┌─────────────────┐ ESP-NOW ┌─────────────────┐
│ ESP32-CAM │ ═══════════════► │ ESP32 Base │◄── USB ──► Mac
│ (Camera Node) │ (100m range) │ (Receiver) │
└─────────────────┘ └─────────────────┘
Battery powered Plugged into computer
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
Range: 100+ meters (no WiFi needed!)
| Script | Purpose |
|---|---|
capture.sh | USB webcam |
wyze-capture | Quick Wyze capture |
wyze-dashboard | Multi-cam management |
firmware/espnow-base/ | ESP32 receiver |
firmware/espnow-cam-auto/ | ESP32-CAM transmitter |
Wyze "Connection refused":
ESP32-CAM not connecting:
USB webcam not working:
brew install imagesnap