Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

iot-protocols物联网协议

Agent Skill

iot-protocols 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

470

周安装

19

GitHub Stars

4

下载量

147
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:iot-protocols(物联网协议)
来源仓库:https://github.com/alphaonedev/openclaw-graph
仓库路径:skills/iot-protocols
安装命令:
npx skills add https://github.com/alphaonedev/openclaw-graph --skill iot-protocols
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill iot-protocols

简介

iot-protocols 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 支持物联网协议分析与实现细节查询,辅助通信机制设计。
  • 安装命令:npx skills add https://github.com/alphaonedev/openclaw-graph --skill iot-protocols。
  • 使用前需确认权限范围、维护状态及是否触发联网或文件读写。

SKILL.md

iot-protocols

Purpose

This skill provides tools for interacting with IoT protocols like Zigbee, Z-Wave, LoRaWAN, CoAP, Matter, and Thread, enabling device connectivity, data exchange, and network management in IoT applications.

When to Use

Use this skill when building IoT systems requiring low-power, mesh networking (e.g., Zigbee for smart homes), long-range communication (e.g., LoRaWAN for sensors in remote areas), or lightweight protocols (e.g., CoAP for constrained devices). Apply it in scenarios like smart home automation, industrial IoT monitoring, or interoperable ecosystems with Matter.

Key Capabilities

  • Establish connections to devices using specific protocols: e.g., Zigbee for mesh networks or Thread for IPv6-based low-power wireless.
  • Send/receive data payloads: e.g., query sensor data via CoAP or control Z-Wave devices.
  • Configure network settings: e.g., set up LoRaWAN gateways or Matter fabric bridges.
  • Handle protocol-specific features: e.g., Zigbee's binding for device pairing or LoRaWAN's adaptive data rate.
  • Interoperate across protocols: e.g., bridge Matter devices with Thread networks for seamless integration.

Usage Patterns

To accomplish tasks, always authenticate first by setting the environment variable export IOT_API_KEY=your_api_key. Start with the openclaw iot init command to initialize the session, then use subcommands for protocol-specific actions. For example, to connect to a device, specify the protocol and device ID; for data operations, use query flags. Always include error checking in scripts. Pattern: openclaw iot <subcommand> --protocol <protocol> --device-id <id>. Use JSON config files for complex setups, e.g., create a file named config.json with {"protocol": "zigbee", "networkKey": "hex_key"} and pass it via --config config.json.

Common Commands/API

Use the OpenClaw CLI for quick interactions or REST APIs for programmatic access. Authentication requires the $IOT_API_KEY header.

  • CLI Command: List protocols openclaw iot list --protocol zigbee This outputs available Zigbee devices; add --verbose for detailed network info.
  • CLI Command: Connect to a device openclaw iot connect --protocol lorawan --device-id 456 --region EU868 Use this to establish a LoRaWAN connection; specify region flag for frequency bands.
  • API Endpoint: Send data via CoAP POST /api/iot/send Body: {"protocol": "coap", "endpoint": "/sensors/temp", "payload": "{\"temp\": 25}"} Include header: Authorization: Bearer $IOT_API_KEY
  • API Endpoint: Query Z-Wave status GET /api/iot/status?protocol=z-wave&device-id=789 Response: JSON object like {"status": "online", "nodes": 5}; handle with a simple fetch in code: fetch('/api/iot/status', {headers: {'Authorization': process.env.IOT_API_KEY}}).then(response => response.json())
  • Config Format: For Matter integration, use a YAML file: matter-config.yaml: protocol: matter, fabricId: 12345, nodeId: 678 Load it with: openclaw iot load-config --file matter-config.yaml

Integration Notes

Integrate this skill with other OpenClaw tools by referencing the iot cluster in your workflow. For external systems, export $IOT_API_KEY and use it in API calls. To combine with a database skill, pipe output: e.g., openclaw iot get --protocol coap | openclaw db insert. For Thread integration, ensure IPv6 compatibility in your network stack. Example: In a Node.js app, import OpenClaw SDK and call: const openclaw = require('openclaw-sdk'); openclaw.iot.connect({protocol: 'thread', deviceId: '101'}); Always validate inputs; for Zigbee, check mesh topology before connecting.

Error Handling

Handle errors by checking CLI exit codes or API response status. Common errors include authentication failures (HTTP 401) or protocol mismatches (e.g., invalid Zigbee network key). Use try-catch in code: try {await openclaw.iot.connect({protocol: 'z-wave', deviceId: '202'});} catch (error) {console.error(error.message); // e.g., "Device not found"} For CLI, parse output: if openclaw iot connect returns non-zero, check stderr for messages like "Protocol not supported". Retry transient errors (e.g., LoRaWAN signal loss) with exponential backoff.

Concrete Usage Examples

  1. Set up a Zigbee mesh network: First, export your key: export IOT_API_KEY=abc123. Then, initialize: openclaw iot init --protocol zigbee. Connect devices: openclaw iot connect --protocol zigbee --device-id 303 --pan-id 0x1a62. Send a command to toggle a light: openclaw iot send --protocol zigbee --endpoint /lights/1 --payload '{"state": "on"}'. This establishes a mesh for home automation.
  2. Query data from a LoRaWAN sensor: Authenticate via env var, then: openclaw iot connect --protocol lorawan --device-id 404 --app-eui 70B3D57EF0000000. Retrieve data: openclaw iot get --protocol lorawan --payload-type temp. In code: openclaw.iot.get({protocol: 'lorawan', deviceId: '404'}).then(data => console.log(data)); This is useful for monitoring remote environmental sensors.

Graph Relationships

  • Related to: iot-cluster (for broader IoT management), networking-skills (for protocol-agnostic networking).
  • Depends on: security-skills (for encryption in protocols like Zigbee).
  • Connected via: iot tag, allowing cross-skill queries in OpenClaw's graph.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.8%
按下载量换算51

Claude

30.19%
按下载量换算44

Cursor

22.02%
按下载量换算32

Gemini CLI

9.46%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills