Sensorclouds
Step-by-Step Guides

OTA Firmware Workflow

Ship new firmware to your fleet safely: prepare, upload, test, roll out, and recover

ADMIN ENGINEER

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 .zip build 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:

SettingValue
Rollout StrategyBatched
Batch Size5–10% of the fleet (at least 5)
Batch Interval15–30 minutes
Only target devices that are currently onlineOn
TimeoutLong enough to download on your slowest connection
Max Retries1–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

StatusTypical causeWhat to do
SKIPPEDOffline when its batch startedRetry once it's back online
FAILED while downloadingWeak connection, or a timeoutFix connectivity, or raise the timeout, then Retry Failed
FAILED with checksum mismatchCorrupted downloadRetry Failed
FAILED while installingFirmware doesn't suit the deviceCheck 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.

Next Steps

On this page