# Send IoT to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "iot",
    "name": "IoT",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/ivangdavila/iot",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/iot",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/iot",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=iot",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "iot",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T09:14:15.137Z",
      "expiresAt": "2026-05-07T09:14:15.137Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=iot",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=iot",
        "contentDisposition": "attachment; filename=\"iot-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "iot"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/iot"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/iot",
    "downloadUrl": "https://openagent3.xyz/downloads/iot",
    "agentUrl": "https://openagent3.xyz/skills/iot/agent",
    "manifestUrl": "https://openagent3.xyz/skills/iot/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/iot/agent.md"
  }
}
```
## Documentation

### 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
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ivangdavila
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T09:14:15.137Z
- Expires at: 2026-05-07T09:14:15.137Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/iot)
- [Send to Agent page](https://openagent3.xyz/skills/iot/agent)
- [JSON manifest](https://openagent3.xyz/skills/iot/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/iot/agent.md)
- [Download page](https://openagent3.xyz/downloads/iot)