← 返回
数据分析 中文

RealWorldClaw

Give your AI agent physical world capabilities via RealWorldClaw — control ESP32 modules, read sensors (temperature, humidity, motion), actuate relays/servos...
通过RealWorldClaw赋予AI实体世界交互能力:控制ESP32模块、读取传感器(温度、湿度、运动)、驱动继电器/舵机等。
brianzhibo-design
数据分析 clawhub v0.1.0 1 版本 99891.4 Key: 无需
★ 0
Stars
📥 920
下载
💾 15
安装
1
版本
#latest

概述

RealWorldClaw — Physical World for AI Agents

Give any AI agent the ability to sense and act in the physical world.

Setup

  1. Install dependencies:
  2. pip install httpx paho-mqtt
    
  1. Configure device connection in config.json (skill directory):
  2. {
      "api_url": "https://realworldclaw-api.fly.dev/api/v1",
      "devices": [
        {
          "name": "my-esp32",
          "ip": "192.168.x.x",
          "access_code": "xxxxxxxx",
          "serial": "xxxxxxxxxxxx",
          "type": "esp32"
        }
      ]
    }
    

Quick Start

Read sensor data

python3 scripts/rwc.py sense --device my-esp32

Returns temperature, humidity, and other connected sensor values.

Control actuator

python3 scripts/rwc.py act --device my-esp32 --action relay_on
python3 scripts/rwc.py act --device my-esp32 --action relay_off
python3 scripts/rwc.py act --device my-esp32 --action led --value '{"r":255,"g":0,"b":0}'

Create automation rule

python3 scripts/rwc.py rule add --name "cool-down" \
  --condition "temperature > 30" \
  --action "relay_on" \
  --device my-esp32

List devices and status

python3 scripts/rwc.py status
python3 scripts/rwc.py devices

Platform API (optional, for registered users)

python3 scripts/rwc.py api health
python3 scripts/rwc.py api modules
python3 scripts/rwc.py api register --username x --email x --password x

Commands Reference

CommandDescription
----------------------
statusShow all device status
devicesList configured devices
sense --device NAMERead all sensors from device
act --device NAME --action ACTIONExecute actuator command
rule add/list/removeManage automation rules
api health/modules/register/loginPlatform API access
monitor --device NAME --interval 5Continuous monitoring mode

Supported Hardware

  • ESP32 / ESP32-C3 / ESP32-S3 with RWC firmware
  • Sensors: DHT22 (temp/humidity), PIR (motion), LDR (light), soil moisture
  • Actuators: Relay, Servo, LED (RGB), Buzzer
  • Communication: WiFi + MQTT (local) or HTTP (cloud API)

RWC Protocol

Devices expose capabilities via manifest. Read references/protocol.md for full spec.

Architecture

AI Agent (OpenClaw)
    ↓ skill command
RWC Skill (this)
    ↓ MQTT (local) or HTTP (cloud)
ESP32 Module
    ↓ GPIO
Physical World (sensors/actuators)

Local MQTT is preferred for low latency. Cloud API for remote access.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-29 13:50 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 270 📥 57,035
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 199 📥 65,268
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 166 📥 60,271