Signed OTA Updates for Device Fleets

    1

    Implement signed OTA firmware updates with A/B rollbacks and staged rollouts for ESP32 and Linux fleets.

    $29

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    Signed OTA Updates for Device Fleets

    Example session with this skill installed

    Design a staged rollout plan and update manifest for an ESP32 fleet moving from version 1.4.1 to 1.5.0, including health gates and signature verification steps.

    • Read your context and instructions
    • Compiled the signed ota updates

    I have designed the OTA rollout plan for your ESP32 fleet. This configuration uses Secure Boot v2 and A/B partition logic to ensure that any failure during the transition from 1.4.1 to 1.5.0 triggers an automatic rollback to the inactive slot.

    ESP32 Staged Rollout Configuration

    PhaseFleet %DurationHealth Gate Criteria
    Canary1 Device24 HoursNo ESP_RST_PANIC, Uptime > 12h
    Early Adopters5%48 HoursFailure rate < 0.5%, Boot count = 1
    General Release25%72 HoursError counter < threshold, Cloud check-in
    Full Deployment100%N/AAutomated final validation

    Deployment Manifest (ota_manifest.json)

    {
      "version": "1.5.0",
      "min_version": "1.4.0",
      "url": "https://ota.example.com/bins/esp32_v1.5.0.bin",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "signature": "MEUCIQDW8sB7x...[truncated_base64_sig]",
      "rollout_percent": 5,
      "anti_rollback_counter": 2
    }
    

    Implementation Steps

    1. Enable Rollback: Ensure CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y is set in your ESP-IDF project configuration.

    Health Check: Call esp_ota_mark_app_valid_cancel_rollback() in your main task only after verifying Wi-Fi stability and sensor connectivity.
    3.

    Signature Verification: The bootloader will automatically check the signature field against the public key stored in the hardware secure element or flash.

    Next steps

    • Flash a single device with a corrupted signature to verify the bootloader rejects the image.
    • Simulate a crash before the health check call to confirm the ESP32 rolls back to the 1.4.1 partition.
    • Increase rollout_percent to 25% once the Canary device reports 24 hours of stable uptime.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    A/B slots, staged rollouts, auto-halt and recovery.

    Ship over-the-air firmware updates to a fleet of devices (ESP32, Raspberry Pi/Linux boards, robots, drones' companion computers) safely - signed images, A/B partitions with automatic rollback, staged rollout by percentage, health reporting, and a kill switch. Use when the user wants remote updates for connected devices, a rollout plan, or to recover from a bad firmware that bricked devices.

    Includes an EXPERT.md reference (exact parameters, thresholds, failure diagnosis).

    Acceptable use: civil and commercial applications only. Any military, paramilitary or weapon-related use is prohibited, as stated in the skill itself.

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scanned

    Verified clean today

    • Passed all security checks, Safe to install

    Listedtoday

    What's inside

    Frequently Asked Questions