Sensorclouds
OTA Updates

Creating OTA Campaigns

Choose firmware, target devices, and a rollout strategy

ADMIN ENGINEER

Before you begin

Steps

Open OTA Campaigns and click Create Campaign.

Fill in the form:

Basics

SettingDescription
NameFor example "Firmware v2.1.0 Rollout". Up to 100 characters
DescriptionOptional. Why you're running it
FirmwareA PUBLISHED version

Device Targeting

SettingDescription
ApplicationLimit the campaign to one application, or leave it on All
Specific Devices (Optional)Tick individual devices (or Select All). Leave all unticked to target every device that matches the application above

Rollout Strategy

SettingDescriptionRange
All at Once or BatchedUpdate every target together, or a few at a time-
Batch SizeDevices per batch (Batched)1–1000
Batch Interval (min)Minutes between batches (Batched)1–1440

Advanced Options

SettingDescriptionRange
Timeout (minutes)How long to wait for a device before marking it failed5–1440
Max RetriesRetry attempts per failed device0–10
Only target devices that are currently onlineOffline devices are skipped (marked SKIPPED). On by defaultOn/Off

Click Create Campaign. The campaign is saved as CREATED. Nothing is sent yet.

Open the campaign, check the targets, and click Start.

The Create Campaign form

With Application on All and no devices ticked, the campaign targets every device in the workspace (or every device in your applications, for Engineers). Sensorclouds doesn't check that the firmware suits each device's hardware. Always narrow the targets to the devices the build is for.

Choosing a strategy

FleetStrategyExample settings
First rollout of new firmwareBatchedBatch 5, interval 30 min
Proven firmware, large fleetBatchedBatch 50, interval 10 min
A few devices on a benchAll at Once-

The platform auto-pauses a campaign when more than 30% of devices fail. Investigate, then click Start to continue.

Campaign statuses

StatusMeaning
CREATEDConfigured, not started
IN_PROGRESSUpdating devices
PAUSEDStopped for now. Click Start to continue
COMPLETEDEvery target has finished, and at least one device updated successfully
FAILEDEvery target has finished, and no device updated successfully. Use Retry Failed to try again
CANCELLEDStopped for good

Campaign actions

The buttons appear on the campaign's detail page when they apply:

ActionShown whenEffect
StartCREATED or PAUSEDBegin the rollout, or continue a paused one
PauseIN_PROGRESSHold the rollout. Updates already running on devices continue
CancelCREATED, IN_PROGRESS, or PAUSEDAsks you to confirm, then stops all pending updates. Devices not yet updated stay on their current firmware
Retry FailedAny device has failedSend the update again to the failed devices only

Troubleshooting

Message or symptomCauseFix
Firmware not found or not publishedThe firmware is DRAFT or DEPRECATEDPublish it on the Firmware page
No devices match the target filterNo devices fit the application, device, and online settingsCheck the targets, or turn off Only target devices that are currently online
N device(s) already have active OTA updatesSome targets are already in another running campaignWait for that campaign to finish, or cancel it
No failed devices to retryNothing has failedNothing to do
The campaign paused by itselfMore than 30% of target devices failedOpen the campaign, read the device errors, fix the cause, then click Start to continue
Many devices are SKIPPEDThey were offline when their batch startedBring them online and run a new campaign for them
Devices stay in NOTIFIED until they time outThe firmware doesn't implement the OTA protocolSee Device OTA Protocol

Next Steps

On this page