/install jettyd
jettyd IoT Skill
Interact with IoT devices via the jettyd platform. Read sensor data, send commands, manage rules, and list devices.
When to use
Use this skill when the user asks about:
- Device status, online/offline, last seen
- Sensor readings: temperature, humidity, distance, voltage, current
- Controlling actuators: relay, LED, PWM
- Pushing JettyScript rules (threshold alerts, automations)
- Webhook subscriptions for device events
- Anything involving their ESP32 or jettyd devices
Config
Reads API key from ~/.openclaw/openclaw.json:
{
"skills": {
"entries": {
"jettyd": {
"apiKey": "tk_xxxx",
"baseUrl": "https://api.jettyd.com/v1"
}
}
}
}
Or from env: JETTYD_API_KEY
CLI
All operations go through scripts/jettyd-cli.js.
node skills/jettyd/scripts/jettyd-cli.js \x3Ccommand> [args]
Commands
| Command | Description |
|---|---|
list |
List all devices with status |
device \x3Cid> |
Device detail + all sensor readings |
telemetry \x3Cid> [metric] [period] |
Historical readings (1h/6h/24h/7d) |
command \x3Cid> \x3Caction> [params] |
Send command to device |
push_config \x3Cid> \x3Cjson_or_file> |
Push JettyScript rules |
webhooks |
List webhook subscriptions |
create_webhook \x3Cname> \x3Curl> \x3Cevents...> |
Create webhook |
Example prompts
"What devices do I have?"
→ node .../jettyd-cli.js list
"What's the temperature on my greenhouse sensor?"
→ node .../jettyd-cli.js list to find device ID, then device \x3Cid>
"Turn on the relay on device abc123"
→ node .../jettyd-cli.js command abc123 relay.on
"Blink the LED 3 times"
→ node .../jettyd-cli.js command abc123 led.blink '{"count":3,"interval_ms":300}'
"Alert me if temperature goes above 30°C"
→ Compose JettyScript JSON and run push_config \x3Cid> \x3Cjson>
"Show me temperature history for the last 24 hours"
→ node .../jettyd-cli.js telemetry abc123 temperature 24h
push_rules — JettyScript rule format
Use push_config \x3Cid> \x3Cjson> to deploy rules to a device. Rules run on the jettyd cloud and fire webhooks / alerts when conditions are met.
Temperature alert example — alert when temperature exceeds 30 °C:
{
"rules": [
{
"id": "temp-high-alert",
"trigger": {
"type": "threshold",
"metric": "temperature",
"operator": ">",
"value": 30
},
"cooldown_seconds": 300,
"actions": [
{
"type": "alert",
"severity": "warning",
"message": "Temperature is {{temperature}}°C — above threshold of 30°C"
}
]
}
]
}
Push it:
node skills/jettyd/scripts/jettyd-cli.js push_config \x3Cdevice-id> '{"rules":[...]}'
# or from a file:
node skills/jettyd/scripts/jettyd-cli.js push_config \x3Cdevice-id> ./rules.json
Supported trigger operators: > \x3C >= \x3C= == !=
Supported action types: alert webhook command
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install jettyd - 安装完成后,直接呼叫该 Skill 的名称或使用
/jettyd触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Jettyd Skill 是什么?
Interact with IoT devices via the jettyd platform — read sensors, send commands, manage rules, and list devices. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 131 次。
如何安装 Jettyd Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install jettyd」即可一键安装,无需额外配置。
Jettyd Skill 是免费的吗?
是的,Jettyd Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Jettyd Skill 支持哪些平台?
Jettyd Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Jettyd Skill?
由 jettydiot(@jettydiot)开发并维护,当前版本 v1.1.2。