DRAFT — Preliminary version, do not share. · Version préliminaire, ne pas partager.

Operate

These guides show you how to act on devices that are already deployed: update their firmware, send them actions, exchange files with them, and open a terminal or a tunnel to them, all without a site visit.

For a product-level overview, see Operate remotely.

Before you begin

Choose the right tool

You want to… Use Guide
Install a new firmware on one device or a whole fleet Firmware update command, single or batch Firmware updates (OTA)
Send your own instructions with timeouts, retries and priority Actions, optionally with capabilities and encoders Actions and custom encoders
Push a file to a device, or pull a log file from it File transfers File transfers
Open a shell, or reach a service running on the device Remote terminal, port forwarding Remote terminal and port forwarding

How the pieces fit

All of these show up live in the Hub, on the device page and in the batch and action views.

A typical first session

  1. Check that the device is online, then open a terminal on it from the Hub to look around. See Remote terminal and port forwarding.

  2. Pull its log file to your machine:

    fun devices transfer device-to-cloud -p <project-id> -r <registry-id> -s <serial-number> \
      --remote-path /var/log/myapp.log -n myapp.log
    
  3. Push a corrected configuration file back:

    fun devices transfer cloud-to-device -p <project-id> -r <registry-id> -s <serial-number> \
      -f app.toml --remote-path /etc/myapp/app.toml
    
  4. Once the fix is in a new firmware, roll it out to the fleet as a batch and follow it device by device. See Firmware updates (OTA).

Common rules

What's next