搜索

PythonReactSEOPDF
OpenClaw

realworldclaw

Give your AI agent physical world capabilities via RealWorldClaw — control ESP32 modules, read sensors (temperature, humidity, motion), actuate relays/servos/LEDs, and create automation rules. Use when: (1) controlling IoT/ESP32 hardware, (2) reading sensor data, (3) automating physical actions based on conditions, (4) managing RWC-compatible devices, (5) 3D printing related device control. NOT for: pure software tasks, cloud-only APIs unrelated to physical devices.

brianzhibo-design0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install brianzhibo-design/realworldclaw

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

RealWorldClaw — Physical World for AI Agents

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

Setup

  1. Install dependencies:
pip install httpx paho-mqtt
  1. Configure device connection in config.json (skill directory):
{
  "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

Command Description
status Show all device status
devices List configured devices
sense --device NAME Read all sensors from device
act --device NAME --action ACTION Execute actuator command
rule add/list/remove Manage automation rules
api health/modules/register/login Platform API access
monitor --device NAME --interval 5 Continuous monitoring mode

Supported Hardware

  • ESP32 / ESP32-C3 / ESP32-S3 with RWC firmware
  • Sensors: DHT22 (temp/humidity), PIR (motion), LDR (light), soil m...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/brianzhibo-design/realworldclaw
Version
—
Commit
ba3df1b49b2d00570d37d32218f32ee369fa558b
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# RealWorldClaw — Physical World for AI Agents

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

## Setup

1. Install dependencies:
```bash
pip install httpx paho-mqtt
```

2. Configure device connection in `config.json` (skill directory):
```json
{
  "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
```bash
python3 scripts/rwc.py sense --device my-esp32
```
Returns temperature, humidity, and other connected sensor values.

### Control actuator
```bash
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
```bash
python3 scripts/rwc.py rule add --name "cool-down" \
  --condition "temperature > 30" \
  --action "relay_on" \
  --device my-esp32
```

### List devices and status
```bash
python3 scripts/rwc.py status
python3 scripts/rwc.py devices
```

### Platform API (optional, for registered users)
```bash
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

| Command | Description |
|---------|-------------|
| `status` | Show all device status |
| `devices` | List configured devices |
| `sense --device NAME` | Read all sensors from device |
| `act --device NAME --action ACTION` | Execute actuator command |
| `rule add/list/remove` | Manage automation rules |
| `api health/modules/register/login` | Platform API access |
| `monitor --device NAME --interval 5` | Continuous monitoring mode |

## Supported Hardware

- ESP32 / ESP32-C3 / ESP32-S3 with RWC firmware
- Sensors: DHT22 (temp/humidity), PIR (motion), LDR (light), soil m...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.