OTA Firmware Workflow
Ship new firmware to your fleet safely: prepare, upload, test, roll out, and recover
This guide takes a new firmware version from your build machine to every device in the field, with a safe, staged rollout.
What you'll need
- Firmware that implements the Device OTA Protocol
- A
.bin,.elf, or.zipbuild of the new version (up to 50 MB) - One test device you can reach physically, in case something goes wrong
Step 1: Prepare the build
- Give it a clear semantic version, for example
2.1.0. - Name the file with the version, for example
node-fw-v2.1.0.bin, so the version fills in automatically. - Write short release notes: what changed and what to watch.
Step 2: Upload and publish
Open Firmware and click Upload Firmware.
Fill in Name, Version, Device Type, and Description, and choose the file.
Click Upload. The firmware is DRAFT, and its SHA-256 checksum is computed.
Click Publish when you're ready. Only PUBLISHED firmware can be used in campaigns.
Drafts left unpublished for 30 days are cleaned up automatically.
Step 3: Test on one device
Open OTA Campaigns and click Create Campaign.
Name it "v2.1.0 - bench test", choose the firmware and the application, and tick one test device.
Rollout Strategy All at Once. Under Advanced Options: Only target devices that are currently online on, Timeout (minutes) 30, Max Retries 0.
Click Create Campaign, open the campaign, and click Start.
Watch the device move through NOTIFIED → DOWNLOADING → INSTALLING → SUCCESS.
Check the device reconnects and reports the new Firmware Version.
Don't continue until this works.
Step 4: Roll out in batches
Create a new campaign for the rest of the fleet:
| Setting | Value |
|---|---|
| Rollout Strategy | Batched |
| Batch Size | 5–10% of the fleet (at least 5) |
| Batch Interval | 15–30 minutes |
| Only target devices that are currently online | On |
| Timeout | Long enough to download on your slowest connection |
| Max Retries | 1–2 |
Start it, then watch the segmented progress bar.
If more than 30% of devices fail, the campaign pauses itself. Investigate, then click Start to continue.
Step 5: Handle failures
| Status | Typical cause | What to do |
|---|---|---|
| SKIPPED | Offline when its batch started | Retry once it's back online |
| FAILED while downloading | Weak connection, or a timeout | Fix connectivity, or raise the timeout, then Retry Failed |
| FAILED with checksum mismatch | Corrupted download | Retry Failed |
| FAILED while installing | Firmware doesn't suit the device | Check the device type and version. Don't retry blindly |
Step 6: Finish
- Confirm the campaign is COMPLETED.
- Keep the previous firmware PUBLISHED until you're confident, so you can roll back.
- Deprecate versions you no longer want used.