Next
Integrate supported hardware
Get started by installing the open-source software that drives your hardware and connects your device to the cloud. The easiest way to do this is through the Viam app, so that your machines are automatically connected to configuration and remote operation tools.
viam-server
or viam-micro-server
on your device and connect it to the cloud.
viam-server
is the executable binary that runs on your device and manages hardware drivers, software, and data capture and sync.
viam-micro-server
is the lightweight version of viam-server
for microcontrollers.viam-server
can control your specific hardware.As soon as you configure each component and save the configuration, you can use the TEST panel of the component’s config card to, for example, view your camera’s stream or turn your motor.
A machine is a computer (often a single-board computer like a Raspberry Pi or Jetson) or microcontroller and all the hardware attached to it, as well as the software running on it. You can think of one machine as representing one device, or one robot.
When you create a new machine in the Viam app, Viam generates a unique set of credentials for that machine that connect the physical machine to its instance in the Viam app.
The machine setup steps displayed in the Viam app copy your machine’s credentials to your machine.
When you turn on your machine, viam-server
starts up and uses the provided credentials to fetch its configuration from the Viam app.
Once the machine has a configuration, it caches it locally and can use the config for up to 60 days.
Since the configuration is cached locally, your machine does not need to stay connected to the Viam app after it has obtained its configuration file.
If it is online, the machine checks for new configurations every 15 seconds and changes its config automatically when a new config is available. All communication happens securely over HTTPS using secret tokens that are in the machine’s config.
If your machine will never connect to the internet, you can also create a local configuration file on the machine itself.
viam-agent
versus manualviam-agent
is a service manager that automatically updates viam-server
and includes tools for provisioning your devices and configuring operating system updates.
When you set up a Linux device in the Viam app, you’ll see an option to install using viam-agent
, or to manually install only viam-server
.
Using viam-agent
is generally recommended when installing viam-server
on a single-board computer.
viam-agent
is not available for macOS, Windows Subsystem for Linux (WSL), or microcontrollers, so use manual install for those systems.
On Linux installs, by default viam-server
or viam-agent
and viam-server
will start automatically when your system boots.
On macOS installs, viam-server
does not start automatically on boot.
You can change this behavior if desired.
To learn how to run, update, or uninstall viam-agent
, see Manage viam-agent
.
For manual installs of only viam-server
, see Manage viam-server
.
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!