← 返回 Skills 市场
ivangdavila

IoT

作者 Iván · GitHub ↗ · v1.0.0
linuxdarwinwin32 ✓ 安全检测通过
1532
总下载
3
收藏
9
当前安装
1
版本数
在 OpenClaw 中安装
/install iot
功能描述
Assist with IoT device setup, protocols, security hardening, and home automation integration.
使用说明 (SKILL.md)

Protocol Selection

  • MQTT for lightweight messaging — pub/sub, low bandwidth, ideal for sensors
  • CoAP for constrained devices — UDP-based, REST-like, very low power
  • HTTP/REST for capable devices — familiar but heavier, use when bandwidth allows
  • WebSocket for real-time bidirectional — dashboards, live updates
  • Zigbee/Z-Wave for mesh networks — no WiFi needed, battery-friendly

MQTT Essentials

  • Broker is the central hub — Mosquitto most common self-hosted
  • Topics are hierarchical — home/livingroom/temperature
  • QoS levels: 0 (fire-forget), 1 (at least once), 2 (exactly once)
  • Retain flag keeps last message — new subscribers get current state
  • Will message announces disconnection — device offline detection

Security (Critical)

  • Never expose MQTT broker to internet without auth — bots scan constantly
  • TLS mandatory for any external access — encrypt all traffic
  • Unique credentials per device — revoke one without affecting others
  • Firmware updates must be signed — prevent malicious updates
  • Segment IoT on separate VLAN — isolate from main network

Common Vulnerabilities

  • Default credentials left unchanged — first thing attackers try
  • Unencrypted protocols on network — credentials sniffable
  • No firmware update mechanism — stuck with known vulnerabilities
  • Cloud dependency without fallback — device useless when server down
  • Debug ports left enabled — UART, JTAG exposed

Home Assistant Integration

  • MQTT discovery auto-configures devices — follow HA format
  • ESPHome for custom ESP devices — YAML config, OTA updates
  • Zigbee2MQTT bridges Zigbee to MQTT — hundreds of devices supported
  • Tasmota for off-the-shelf flashing — many WiFi devices supported

ESP32/ESP8266 Development

  • Arduino framework most accessible — huge library ecosystem
  • ESP-IDF for production — FreeRTOS, more control, steeper curve
  • PlatformIO over Arduino IDE — better dependency management
  • Deep sleep for battery life — microamps when sleeping
  • OTA updates essential — don't require physical access

Power Management

  • Battery devices need deep sleep — wake on timer or interrupt
  • Calculate power budget — mAh capacity vs average consumption
  • Solar charging viable — small panel can sustain low-power sensors
  • Supercapacitors for burst power — supplement weak batteries
  • Monitor battery voltage — alert before device dies

Connectivity Patterns

  • WiFi: high bandwidth, high power — plugged devices
  • Zigbee/Z-Wave: mesh, low power — battery sensors
  • LoRa: long range, low bandwidth — outdoor, agricultural
  • BLE: short range, low power — wearables, beacons
  • Thread/Matter: new standard — Apple/Google/Amazon unified

Reliability

  • Watchdog timer prevents freezes — reset if loop stalls
  • Persistent storage for state — survive power cycles
  • Heartbeat/ping monitoring — detect silent failures
  • Graceful degradation — work offline when cloud unavailable
  • Redundant sensors for critical systems — don't trust single point

Data Considerations

  • Sample rate vs storage — don't over-collect
  • Local processing when possible — reduce bandwidth, latency
  • Time synchronization critical — NTP for timestamps
  • Aggregate before sending — reduce message count
  • Retain important data locally — survive connectivity loss

Debugging

  • Serial output for development — remove in production
  • MQTT debug topics — publish diagnostics
  • LED status indicators — quick visual feedback
  • Remote logging carefully — don't flood network
  • Simulate sensors for testing — don't wait for real conditions

Vendor Lock-in

  • Prefer local API devices — Tuya local, Shelly, Tasmota-compatible
  • Cloud-only devices risky — company shutdowns brick devices
  • Open protocols over proprietary — MQTT, Zigbee over custom
  • Check if flashable — many devices accept custom firmware
  • Matter promises interoperability — but still maturing
安全使用建议
Content is coherent and purely advisory, but note the skill's source and homepage are unknown — verify the author or cross-check recommendations against official documentation before acting. Practical operations mentioned (flashing firmware, changing network segmentation, exposing MQTT externally) carry real-world risk if done incorrectly: back up device configs, ensure you have physical access or recovery methods before flashing, keep firmware signing and backups in mind, and avoid exposing brokers to the internet. If you prefer extra caution, only invoke this skill on-demand (do not allow autonomous invocation) and consult vendor docs for device-specific procedures.
功能分析
Type: OpenClaw Skill Name: iot Version: 1.0.0 The skill bundle contains only metadata and a markdown file (`SKILL.md`). The `SKILL.md` provides comprehensive, purely informational content about IoT device setup, protocols, security hardening, and development. There are no executable scripts, no instructions for the AI agent that could be interpreted as prompt injection attempts, and no indications of malicious intent such as data exfiltration, unauthorized command execution, or persistence mechanisms. In fact, the 'Security (Critical)' section offers sound advice for securing IoT systems. The content is entirely aligned with its stated purpose of assisting with IoT topics.
能力评估
Purpose & Capability
Name and description match the SKILL.md content: protocol selection, device hardening, home automation integration, and development notes. The skill requests no binaries, environment variables, or config paths that would be unexpected for an IoT guidance skill.
Instruction Scope
SKILL.md is high-level, advisory content (protocols, security best practices, Home Assistant/ESP tool mentions). It does not instruct the agent to read system files, access environment variables, or transmit data to external endpoints. It mentions operations like flashing firmware and OTA updates, but only as guidance rather than automated commands or hidden actions.
Install Mechanism
No install spec and no code files are present, so the skill will not write files or download executables. This is the lowest-risk model for a skill that is purely documentation/advice.
Credentials
The skill declares no required environment variables, credentials, or config paths. That matches the advisory nature of the content; nothing disproportionate is requested.
Persistence & Privilege
always is false and the skill is user-invocable with normal autonomous invocation allowed. The skill does not request persistent presence or system-wide configuration changes.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install iot
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /iot 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug iot
版本 1.0.0
许可证
累计安装 9
当前安装数 9
历史版本数 1
常见问题

IoT 是什么?

Assist with IoT device setup, protocols, security hardening, and home automation integration. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1532 次。

如何安装 IoT?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install iot」即可一键安装,无需额外配置。

IoT 是免费的吗?

是的,IoT 完全免费(开源免费),可自由下载、安装和使用。

IoT 支持哪些平台?

IoT 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。

谁开发了 IoT?

由 Iván(@ivangdavila)开发并维护,当前版本 v1.0.0。

💬 留言讨论