obniz Devices and Firmware

Account owners can inspect physical devices and update firmware in obniz device management. This screen covers obniz devices linked to Machines in Now. Use the Machine list to find sensor data.

Updates require the Account's obniz Cloud connection to be configured. If no firmware versions can be loaded, ask your deployment contact to check that connection.

Select devices

  1. Open /admin/devices and search by obniz ID or Machine name.
  2. Check the hardware, current firmware, and update status.
  3. Open the bulk update dialog and select the hardware type and target firmware.
  4. Select up to 100 devices of the same hardware type.
  5. Confirm the IDs, names, current and target versions, and device count before starting.

Supported hardware identifiers are iekilo1, iemicro1, blewifi_gw2, blelte_gw2, ak030, and encored. Devices with unknown or mismatched hardware, the target firmware already installed, or an update in progress cannot be selected. Changing the hardware type clears the selection.

Check each device after acceptance

Keep devices powered and connected during updates. The list distinguishes queued, updating, finished, failed, and offline states. It refreshes status every 15 seconds while there are update targets. After completion, reload device information and verify the installed firmware.

An accepted request means the update was registered; it does not establish successful installation. Check previous results in update history. A failure during a batch also marks the remaining devices as failed because processing was stopped. Read the error reason to distinguish devices that were attempted from devices that were skipped after the failure.

Situation Check next
Device missing from the list Selected Account, search filters, and Machine linkage
Offline device was not updated Restore power/connectivity, then check history and current status
No progress after acceptance Check history and give the deployment contact the obniz ID and acceptance time
Connection failed and the result is unknown Reload the existing update before sending the same request again

Update through the API

POST /api/1/firmware/update accepts the following JSON. User sessions require an owner; API keys require Write permission for firmware_updates. See API authentication for the authentication method.

{
  "deviceIds": ["1234-5678"],
  "firmwareVersion": "<selected target version>",
  "skipOffline": true
}

skipOffline defaults to true, skipping offline devices and continuing. With false, an offline failure stops subsequent updates. Treat HTTP 202 and the returned jobId, queued, and total as acceptance information, not successful-update counts. Use GET /api/1/firmware/latest-update for status and GET /api/1/firmware/history for history.