- Home
- Skills
- Workflow Automation
- Signed OTA Updates for Device Fleets
Signed OTA Updates for Device Fleets
Implement signed OTA firmware updates with A/B rollbacks and staged rollouts for ESP32 and Linux fleets.
$29
Works with the AI Agents you already use
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
| Phase | Fleet % | Duration | Health Gate Criteria |
|---|---|---|---|
| Canary | 1 Device | 24 Hours | No ESP_RST_PANIC, Uptime > 12h |
| Early Adopters | 5% | 48 Hours | Failure rate < 0.5%, Boot count = 1 |
| General Release | 25% | 72 Hours | Error counter < threshold, Cloud check-in |
| Full Deployment | 100% | N/A | Automated 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
- Enable Rollback: Ensure
CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=yis 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_percentto 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