Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reCamera Web API Skill

English | 中文

This project is a Skill for reCamera V2 (RV1126B) devices. It helps agents correctly use the device's HTTP/WebSocket APIs and the related SenseCraft AI cloud APIs during development, integration, and troubleshooting.

Its focus is not just listing endpoints, but packaging real executable workflows together, such as logging in to obtain a token, using the read-before-write pattern for configuration APIs, discovering devices on a local network, accessing recording storage via relay, and handling model inference and cloud conversion flows.

Core Capabilities

  • Authentication flow: call /system/key first, then log in and capture the token from Set-Cookie
  • Authorized request requirements: all subsequent requests must reuse Cookie: token=<jwt>
  • Configuration update pattern: for APIs that support GET/POST or GET/PUT, follow the "read before write" approach
  • Device discovery workflow: identify whether a device on the local network is a reCamera through /cgi-bin/entry.cgi/system/key
  • Image tuning workflow: enter scene edit mode, modify parameters, and send the save command
  • Storage relay workflow: create a relay, list directories, download files, and handle timeouts
  • AI capabilities: model upload, inference configuration, notification output, and SenseCraft cloud model conversion

File Overview

  • SKILL.md: the main Skill entry file, defining trigger conditions, workflows, and key constraints
  • API_REFERENCE.md: a more complete API reference, organized by module
  • scripts/discover_recamera.py: a LAN scanning script used to discover reCamera devices within the subnet

Quick Start

  • You can install the Skill already published to clawhub using the following method:
# Install the clawhub CLI, skip if already installed
npm i -g clawhub
# Or
pnpm add -g clawhub

# Install the Skill via CLI
clawhub install recamera

# Update the Skill
clawhub install recamera

References

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages