frigate
Access Frigate NVR cameras with session-based authentication. Get live snapshots, retrieve motion events, and fetch stream URLs. Includes CLI helper script for doorbell, driveway, front, east, mailbox, and garage cameras.
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- frigate
- description
- Access Frigate NVR cameras with session-based authentication. Get live snapshots, retrieve motion events, and fetch stream URLs. Includes CLI helper script for doorbell, driveway, front, east, mailbox, and garage cameras.
03 SKILL.md 正文
Frigate NVR Integration
Access Frigate NVR server at FRIGATE_URL with credentials from FRIGATE_USER and FRIGATE_PASS environment variables.
Authentication
Frigate uses session-based authentication (not HTTP Basic Auth):
import requests
session = requests.Session()
response = session.post(
f"{FRIGATE_URL}/api/login",
json={"user": FRIGATE_USER, "password": FRIGATE_PASS},
verify=False # For self-signed certificates
)
# session.cookies contains frigate_token for subsequent requests
Common Operations
Get Camera List
response = session.get(f"{FRIGATE_URL}/api/config", verify=False)
config = response.json()
cameras = list(config.get('cameras', {}).keys())
# Returns: ['driveway', 'front', 'east', 'mailbox', 'garage', 'doorbell']
Get Snapshot from Camera
snapshot = session.get(
f"{FRIGATE_URL}/api/{camera_name}/latest.jpg",
verify=False
)
# Save: with open(f"/tmp/{camera_name}.jpg", "wb") as f: f.write(snapshot.content)
Get Motion Events
events = session.get(
f"{FRIGATE_URL}/api/events?cameras={camera_name}&has_clip=1",
verify=False
).json()
# Returns list of motion detection events with timestamps
Get Camera Stream URL
config = session.get(f"{FRIGATE_URL}/api/config", verify=False).json()
stream_config = config.get('go2rtc', {}).get('streams', {}).get(camera_name)
# Returns RTSP/WebRTC stream URLs
Environment Variables
Required:
FRIGATE_URL- Frigate server URL (e.g.,https://server.local:8971/)FRIGATE_USER- Username for authenticationFRIGATE_PASS- Password for authentication
Optional:
- None required beyond the above
Example: Send Doorbell Snapshot to Telegram
import requests
session = requests.Session()
session.post(f"{FRIGATE_URL}/api/login",
json={"user": FRIGATE_USER, "password": FRIGATE_PASS}, verify=False)
# Get doorbell snapshot
snapshot = session.get(f"{FRIGATE_URL}/api/doorbell/latest.jpg", verify=False)
# Send to Telegram
from clawdbot import message
message(action="send", channel="telegram", target="3215551212",
message="Doorbell snapshot", path="/tmp/doorbell_snapshot.jpg")
Notes
- Always use
verify=Falsefor self-signed certificates on home networks - Session tokens expire after 24 hours (configurable via
session_length) - The
/api/camerasendpoint doesn't exist; use/api/configfor camera info - Frigate version 0.16+ uses this authentication model
Bundled Resources
- Scripts: See scripts/frigate.py for CLI utility with commands:
list,snapshot,events,stream - API Reference: See references/api.md for complete API documentation
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.