All skills
github avatar

/arduino-azure-iot-edge-integration

@4214189 official
by githubgithub/awesome-copilot40k stars
5,040

Design and implement Arduino integration with Azure IoT Hub and IoT Edge, including secure provisioning, resilient telemetry, command handling, and production guardrails.

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/arduino-azure-iot-edge-integration

This session only. Nothing lands on disk.

referencesarduino-official-best-practices.md

≈585 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Arduino Official References and Best Practices

Use these official Arduino resources before finalizing firmware or hardware guidance.

Official References

Firmware Best Practices

  • Keep the loop() non-blocking; avoid long delay() usage in production logic.
  • Use millis()-based scheduling for periodic tasks.
  • Budget SRAM explicitly and avoid dynamic allocation in hot paths.
  • Validate sensor ranges and provide safe defaults for invalid readings.
  • Add startup self-checks and periodic health heartbeat messages.
  • Version the payload schema and firmware version in every telemetry stream.
  • Implement retry with exponential backoff and jitter for network operations.
  • Store credentials outside source code and rotate them according to policy.

Hardware and Power Best Practices

  • Document voltage levels, pin mapping, and current limits per peripheral.
  • Design for brownout and power fluctuation scenarios.
  • Use watchdog and safe recovery behavior where available.
  • Plan low-power modes for battery deployments and validate wake cycles.

Integration Best Practices for Azure IoT

  • Prefer secure transports (MQTT over TLS) and per-device identity.
  • Define idempotent upstream processing for duplicate message scenarios.
  • Include device health metrics (uptime, reset reason, RSSI where applicable).
  • Validate offline buffering bounds to avoid uncontrolled memory growth.

Source: SKILL.md on GitHub

No alerts11d3 checks · Risk SAFE
  • Gen Agent Trust Hub11d

    No security issues detected. The skill focuses on providing secure architectural guidance for connecting Arduino devices to Azure IoT services using official and trusted documentation.

  • Socket11d

    No alerts

  • Snyk11d

    Risk: LOW · No issues

Signed by skilld at 4214189. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
  • arduino
  • azure
  • iot-hub
  • iot-edge
  • mqtt
  • provisioning
  • telemetry
  • edge-gateway
  • firmware

README badge

README badge for github/awesome-copilot/arduino-azure-iot-edge-integration

Connects Arduino devices to Azure IoT Hub and IoT Edge with secure provisioning, MQTT telemetry, command handling, and offline buffering for field deployments. Targets edge-heavy scenarios with unstable connectivity, local gateways, and store-and-forward patterns.

Generated from the current SKILL.md.

Does this skill support direct Arduino-to-IoT Hub connections, or only through an edge gateway?
It supports both. Pattern A covers direct MQTT/TLS connections to IoT Hub when connectivity is stable. Pattern B uses a local gateway and IoT Edge runtime for constrained or intermittent networks.
What protocols does this skill use for Arduino communication?
MQTT over TLS for cloud communication. For local device-to-gateway, it covers serial, BLE, local MQTT, RS-485, and Modbus bridge options.
Does this skill handle offline scenarios and message buffering?
Yes. It requires planning for local queue/buffer strategy, backoff with jitter, duplicate suppression, and fallback to last-known-good configuration during cloud outages.
What security practices does this skill enforce?
Unique per-device identity (SAS or X.509), no hardcoded secrets in firmware, credential rotation strategy, and signed firmware with controlled updates. Production deployments with shared credentials are explicitly prohibited.
Does this skill require review of external documentation before implementation?
Yes. The skill mandates consulting Azure IoT Edge and official Arduino documentation before recommending topology or firmware details.

Generated from the current SKILL.md. These answers refresh after source changes.