Previous
End-user device setup
Deploy modules (hardware drivers, control logic, or other custom code) to one machine or an entire fleet. You configure the module in a fragment, apply the fragment to your machines, and the machines download the module from the Viam registry automatically.
Each module in the fragment has a version field. On the fragment card for the module, find the Update version section:
For any version type other than pinning to a specific version, the module updates as soon as a matching version is available, which restarts the module. If the module cannot be safely interrupted, pin to a specific version and update manually.
To control when updates are applied, configure a maintenance window. See manage versions for details.
Through the Viam app:
Through provisioning:
Include the fragment ID in your viam-defaults.json file. New machines apply the fragment automatically on first boot. See provision devices.
Through the CLI:
viam machines part fragments add --part=<part-id> --fragment=<fragment-id>
To find your part ID, run viam machines part list --machine=<machine-id>. To find the fragment ID, copy it from the fragment’s page in the Viam app or run viam organizations list and check your fragments.
On the fleet dashboard at app.viam.com/fleet/machines, confirm your machines are online and showing the expected viam-server version.
Was this page helpful?
Glad to hear it! If you have any other feedback please let us know:
We're sorry about that. To help us improve, please tell us what we can do better:
Thank you!