OTA Updates
OTA Updates
Update device firmware over the air, safely and in batches
ADMIN
ENGINEER
Over-the-air (OTA) updates deliver new firmware to devices in the field, without anyone visiting them. Sensorclouds manages the whole rollout: who gets the update, in what order, how far each device has got, and what to do when one fails.
How it works
Upload ─▶ Publish ─▶ Create campaign ─▶ Start ─▶ Devices download & install ─▶ Monitor
(DRAFT) (PUBLISHED) (choose devices, (batches (progress reported (retry
strategy) sent) over MQTT) failures)| Part | What it is |
|---|---|
| Firmware | The file and its version. See Firmware Management |
| Campaign | A rollout of one firmware to a set of devices. See Creating Campaigns |
| Device update | One device's progress within a campaign. See Monitoring Updates |
What your firmware must do
Sensorclouds tells the device what to download and where. Your firmware does the download, the install, and the progress reports. See Device OTA Protocol.
Safety features
- Batched rollout: update a few devices at a time
- Auto-pause: a campaign pauses itself if more than 30% of devices fail
- Require online: skip devices that are offline instead of failing them
- Timeouts and retries: unresponsive devices are marked failed and can be retried
- Checksums: every file has a SHA-256 checksum the device can verify