Devices view¶
Devices appear in two places: a summary card on the project page, and a full Devices page reached from that card or from the breadcrumb trail. Each device has its own detail page.
The devices page¶
The full list shows every device, 50 to a page, and can be filtered by:
- name or device id (search)
- active or inactive
- release channel
- device group
- how long since it was last seen (1, 7 or 30 days)
The card on the project page¶
The card shows the five most recently seen devices, with the active count in
its heading and a Showing 5 of 213 ยท View all footer. It lists per device:
- its name, or the
device_idit reports when it has no name, linking to its detail page - its
current_build_number - whether it is
activeorinactive
To act on a device, open it. There are no bulk actions: changing many devices at once is an API job.
Add device pre-provisions one manually from a name and a framework and
issues its per-device token, which is what a factory flashing rig wants. The
board reports its device_id on its first check-in. Most fleets never use it,
because a device registers itself the first time it calls /check/.
Device detail¶
Opening a device shows the compatibility profile it reports (framework, chip family, board id, hardware revision, partition profile, NVS schema version, security mode), what it is running, and when it was last seen.
The controls are:
| Control | Effect |
|---|---|
| Save membership | Move the device to a release channel, and set its device groups. |
| Deactivate | Stop offering it updates. It stops counting against your plan's device cap. |
| Revoke | Revoke its per-device token. |
When the latest check-in with a device's token that sent a device_id of 64
characters or fewer sent one other than the saved one, or one another device
held, the device page shows the saved ID, the latest reported ID and the time
of the latest check-in, and the device lists mark the device with
ID mismatch. A different ID happens when another board has this
token, or when this board's firmware reports a different ID, for example after
an update. If another board has this token, create a new device for it and
flash that device's token to it. Then, if this board is still in use, rotate
the token and flash the new one to this board. If this board is gone,
deactivate this device. If this board's firmware now reports a different ID,
the warning stays until it reports the saved ID again. An ID another device
held happens when the board with this token is already registered as that
device, or when more than one board reports that ID; if this board is that
device, rotate the token on that device's page, flash the new token to this
board, then deactivate this device. The warning clears once a check-in reports
the saved ID or, on a device with none saved, once a reported ID is saved.
Deactivating does not delete the device or its history, and it can be reactivated later. Reactivating takes a plan slot, so it is refused when you are already at your device cap. Both actions are recorded in the project's audit log.
Querying a fleet programmatically
GET /api/v1/projects/{id}/devices/ returns every device with its full
compatibility profile and takes an active query parameter. That is the
fastest way to work out why a device is not being offered a build:
compare its profile against the artifact's manifest, which you can read on
the artifact's page.