Skip to main content

RemotiveCLI - 0.48.x

remotive

Welcome to RemotiveLabs CLI - work with the RemotiveLabs platform from your terminal

For documentation - https://developer.remotivelabs.com

See 'remotive --manual' or 'man remotive' for the complete reference.

Usage:

$ remotive [OPTIONS] [COMMAND] [ARGS]...

Options:

  • --version: Print current version
  • --manual: Show the complete reference, the same as 'man remotive'
  • --verbose: [experimental] Enable verbose logging to stderr for troubleshooting [env var: REMOTIVE_VERBOSE]
  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • studio: Start a RemotiveStudio instance
  • setup: Set up the RemotiveLabs authentication and tool chain on this machine, interactively
  • doctor: [EXPERIMENTAL] Verify that host system is ok, required components are installed and that authentication is setup.
  • upgrade: Upgrade remotivelabs-cli, RemotiveBus (Linux) and RemotiveStudio Desktop to the latest released versions (macOS, Linux)
  • topology: Interact and manage RemotiveTopology resources
  • broker: Manage a single broker - local or cloud
  • cloud: (deprecated) Manage resources in RemotiveCloud
  • auth: Sign in to RemotiveCloud and manage accounts, the default organization and service accounts
  • schemas: JSON schemas of the files RemotiveLabs products read

remotive studio​

Start a RemotiveStudio instance

Usage:

$ remotive studio [OPTIONS] [WORKSPACE_PATH]

Arguments:

  • [WORKSPACE_PATH]: Workspace path

Options:

  • --topology-image TEXT: Optional docker image for RemotiveTopology CLI [env var: REMOTIVE_TOPOLOGY_IMAGE]
  • --container-engine [docker|podman]: Specify container engine (default: the one set with 'remotive topology config set container-engine', otherwise docker) [env var: REMOTIVE_CONTAINER_ENGINE]
  • --container-registry TEXT: Container registry prefix, e.g. my-mirror.example.com [env var: REMOTIVE_CONTAINER_REGISTRY]
  • --force / --no-force: Override existing RemotiveTopology workspace if it exists [default: no-force]
  • --broker-url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]
  • --advertised-broker-url TEXT: Broker URL advertised to Studio clients (defaults to --broker-url). Use when clients reach the broker through a tunnel or forwarded port
  • --host TEXT: Host to run RemotiveStudio [default: 127.0.0.1]
  • --port TEXT: Port to run RemotiveStudio, or "auto" to use a free port assigned by the OS [default: 57123]
  • --browser / --no-browser: Open RemotiveStudio in a web browser (ignored when --desktop is set) [default: browser]
  • --desktop / --no-desktop: [Beta] Launch the RemotiveStudio desktop app instead of serving in a browser [default: no-desktop]
  • --desktop-version TEXT: [Beta] Desktop version (e.g. 1.2.3) to install and launch (default: latest). Requires --desktop
  • --log-level TEXT: Log level for RemotiveStudio server [default: warning]
  • --help: Show this message and exit.

remotive setup​

Set up the RemotiveLabs authentication and tool chain on this machine, interactively

Goes through it one step at a time:

  1. RemotiveCloud sign-in
  2. Default organization
  3. RemotiveTopology subscription: starts a 30-day trial when there is none
  4. CLI version (reports a newer release; upgrade with 'remotive upgrade')
  5. Container engine: docker when it works, otherwise podman - saved as the default for every command
  6. RemotiveBus (Linux): checks it is installed and running
  7. RemotiveTopology: downloads it (or checks for a newer one) and shows its version
  8. RemotiveStudio Desktop [Beta]: checks it is installed (optional)

Each step checks what is in place and asks before it signs you in or changes your settings, so it is safe to re-run. It asks whether to keep the signed-in account, its default organization and the container engine; --only-missing keeps them. Any step can be skipped; setup says what that means, e.g. that no RemotiveTopology command runs without docker or podman. Exits with 1 only when a step ran into an error.

Usage:

$ remotive setup [OPTIONS]

Options:

  • --container-engine [docker|podman]: Container engine to set up RemotiveTopology with (default: the saved one, else docker when it works, else podman) [env var: REMOTIVE_CONTAINER_ENGINE]
  • --container-registry TEXT: Container registry prefix, e.g. my-mirror.example.com [env var: REMOTIVE_CONTAINER_REGISTRY]
  • --no-browser: Sign in without opening a browser: copy a link to a browser elsewhere and paste the code back
  • --only-missing: Only change settings that are not yet set
  • --help: Show this message and exit.

remotive doctor​

[EXPERIMENTAL] Verify that host system is ok, required components are installed and that authentication is setup.

Usage:

$ remotive doctor [OPTIONS]

Options:

  • --help: Show this message and exit.

remotive upgrade​

Upgrade remotivelabs-cli, RemotiveBus (Linux) and RemotiveStudio Desktop to the latest released versions (macOS, Linux)

Compares the installed versions with the latest releases on files.remotivelabs.com and, when anything is outdated, downloads, signature-verifies and runs the install scripts. The CLI's install script upgrades the CLI and, on Linux, an installed RemotiveBus (add --install-remotivebus to install it); the desktop app's install script upgrades an installed RemotiveStudio Desktop (add --install-studio-desktop to install it). --install-all installs whatever of the two is missing and available for this host:

https://files.remotivelabs.com/install.sh https://files.remotivelabs.com/remotive-studio-desktop/install.sh

The scripts are bash, so on Windows the command only reports (--check works everywhere).

Usage:

$ remotive upgrade [OPTIONS]

Options:

  • --check: Only report available updates; exit code 1 when any exist, 0 when up to date, 2 when the check failed
  • --dry-run: Show what the installers would do without changing anything (no prompt)
  • --install-remotivebus: Also install RemotiveBus when it is not installed (Linux; an installed one is always upgraded)
  • --install-studio-desktop: Also install RemotiveStudio Desktop when it is not installed (an installed one is always upgraded)
  • --install-all: Also install every component that is not installed and has a build for this host
  • --help: Show this message and exit.

remotive topology​

Interact and manage RemotiveTopology resources

Read more at https://developer.remotivelabs.com/docs/remotive-topology

Usage:

$ remotive topology [OPTIONS] [COMMAND] [ARGS]...

Options:

  • --topology-image TEXT: Optional docker image for RemotiveTopology CLI [env var: REMOTIVE_TOPOLOGY_IMAGE]
  • --topology-workspace TEXT: Optional override for workspace path [env var: REMOTIVE_TOPOLOGY_WORKSPACE]
  • --container-engine [docker|podman]: Specify container engine (default: the one set with 'remotive topology config set container-engine', otherwise docker) [env var: REMOTIVE_CONTAINER_ENGINE]
  • --container-registry TEXT: Container registry prefix, e.g. my-mirror.example.com [env var: REMOTIVE_CONTAINER_REGISTRY]
  • --help: Show this message and exit.

Commands:

  • analyze: [EXPERIMENTAL] Static analysis of RemotiveTopology platforms and instances
  • build: Build a topology environment from instance descriptions
  • clean: Remove the build and mappings output for the current workspace
  • config: Manage RemotiveTopology settings saved in the CLI config
  • convert: [EXPERIMENTAL] Convert signal database to different format.
  • gateway-mapping: [EXPERIMENTAL] List gateway mapping for ECU
  • generate: [DEPRECATED] Use 'build' instead.
  • prune: Remove cache and build output (workspace-scoped if inside one; --all for every workspace)
  • recording-session: Work with recording sessions
  • show: Show information from database file
  • split: [DEPRECATED] Extract individual signal databases for each channel in a RemotiveTopology platform.
  • start-trial: Allows you to start a 30 day trial subscription for running RemotiveTopology.
  • subscription: Manage RemotiveTopology subscriptions, you can start a trial subscription or check the status of your subscription.
  • validate: [EXPERIMENTAL] Validate file
  • version: Show RemotiveTopology CLI version.
  • workspace: Manage RemotiveTopology workspaces

remotive topology analyze​

[EXPERIMENTAL] Static analysis of RemotiveTopology platforms and instances

Usage:

$ remotive topology analyze [OPTIONS] [COMMAND] [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • busload: [EXPERIMENTAL] Calculate the base (cyclic) CAN bus load per channel.

remotive topology analyze busload​

[EXPERIMENTAL] Calculate the base (cyclic) CAN bus load per channel.

Every CAN frame with a cycle time is assumed to be sent continuously at that rate. The on-wire size of each frame is computed from the CAN 2.0 / CAN FD frame format, with and without worst-case bit stuffing, so the true load lies between the two figures.

Bit rates are taken from the platform file (baudrate / baudrate_fd per channel); CAN FD frames switch to the baudrate_fd for their data phase when one is given. Channels without a bit rate still get bytes per second, but no bus load percentage.

Usage:

$ remotive topology analyze busload [OPTIONS]

Options:

  • -f, --file TEXT: RemotiveTopology platform or instance file [required]
  • --json: Output results in JSON format
  • --help: Show this message and exit.

remotive topology build​

Build a topology environment from instance descriptions

Usage:

$ remotive topology build [OPTIONS] [TOPOLOGY_OUTPUT_PATH]

Arguments:

  • [TOPOLOGY_OUTPUT_PATH]: Path to where generated files should be written. Optional in a workspace (defaults to <workspace>/.remotive/build, must be inside the workspace); required with --no-workspace.

Options:

  • --with-metrics: Enable Prometheus + Grafana metrics in the generated topology
  • --no-workspace: Skip the REMOTIVE_TOPOLOGY_WORKSPACE check (disables caching for this run)
  • -n, --name TEXT: Name of the generated topology
  • -f, --file TEXT: RemotiveTopology .instance.yaml file(s), applied in the order they are provided [required]
  • --help: Show this message and exit.

remotive topology clean​

Remove the build and mappings output for the current workspace

Usage:

$ remotive topology clean [OPTIONS]

Options:

  • --help: Show this message and exit.

remotive topology config​

Manage RemotiveTopology settings saved in the CLI config

Usage:

$ remotive topology config [OPTIONS] [COMMAND] [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • get: Print the value in effect for a setting
  • set: Save a setting, e.g.
  • unset: Remove a saved setting, so its default is used
  • list: List the settings, their values and where each comes from

remotive topology config get​

Print the value in effect for a setting

Usage:

$ remotive topology config get [OPTIONS] KEY

Arguments:

  • KEY: The setting, e.g. container-engine [required]

Options:

  • --help: Show this message and exit.

remotive topology config set​

Save a setting, e.g. 'remotive topology config set container-engine podman'

Usage:

$ remotive topology config set [OPTIONS] KEY VALUE

Arguments:

  • KEY: The setting, e.g. container-engine [required]
  • VALUE: The value, e.g. podman [required]

Options:

  • --help: Show this message and exit.

remotive topology config unset​

Remove a saved setting, so its default is used

Usage:

$ remotive topology config unset [OPTIONS] KEY

Arguments:

  • KEY: The setting, e.g. container-engine [required]

Options:

  • --help: Show this message and exit.

remotive topology config list​

List the settings, their values and where each comes from

Usage:

$ remotive topology config list [OPTIONS]

Options:

  • --help: Show this message and exit.

remotive topology convert​

[EXPERIMENTAL] Convert signal database to different format. Currently only CAN and LIN frames is supported.

Usage:

$ remotive topology convert [OPTIONS]

Options:

  • --json: Output results in JSON format
  • --yaml: Output results in YAML format (default)
  • -f, --file TEXT: RemotiveTopology platform file [required]
  • -o, --output TEXT: Optional path to a file where generated signal database should be written. If not provided, the result will be printed to stdout.
  • --format TEXT: Signal database format to convert to. Currently only 'remotive' is supported.
  • -c, --channel TEXT: Optional channel(s) to convert. If not provided, all supported channels will be converted.
  • --help: Show this message and exit.

remotive topology gateway-mapping​

[EXPERIMENTAL] List gateway mapping for ECU

Usage:

$ remotive topology gateway-mapping [OPTIONS] [OUT_PATH]

Arguments:

  • [OUT_PATH]: Path to file where extracted gateway mapping should be written. Optional in a workspace (defaults to <workspace>/.remotive/mappings/<gateway-ecu>.mapping.yaml for legacy and <gateway-ecu>.gateway-mapping.yaml for gateway-mapping, must be inside the workspace); required with --no-workspace.

Options:

  • -o, --only-fully-resolved: Only show fully resolved mapping
  • --no-workspace: Skip the REMOTIVE_TOPOLOGY_WORKSPACE check (paths may point anywhere)
  • -g, --gateway-ecu TEXT: Gateway ECU name [required]
  • -p, --platform TEXT: Topology platform [required]
  • --format TEXT: Mapping format to emit: 'legacy' (default) or 'gateway-mapping'
  • --help: Show this message and exit.

remotive topology generate​

[DEPRECATED] Use 'build' instead. Build a topology environment from instance descriptions.

Usage:

$ remotive topology generate [OPTIONS] TOPOLOGY_OUTPUT_PATH

Arguments:

  • TOPOLOGY_OUTPUT_PATH: Path to where generated files should be written [required]

Options:

  • --with-metrics: Enable Prometheus + Grafana metrics in the generated topology
  • -n, --name TEXT: Name of the generated topology
  • -f, --file TEXT: RemotiveTopology .instance.yaml file(s), applied in the order they are provided [required]
  • --help: Show this message and exit.

remotive topology prune​

Remove cache and build output (workspace-scoped if inside one; --all for every workspace)

Usage:

$ remotive topology prune [OPTIONS]

Options:

  • --all: Remove caches for every workspace, not just the current one
  • --help: Show this message and exit.

remotive topology recording-session​

Work with recording sessions

Usage:

$ remotive topology recording-session [OPTIONS] [COMMAND] [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • create: Create a new recording session from recording files
  • instantiate: Create a topology instance ready to play a recording session
  • recalculate: Recalculate the recording session start and end time based on the files and their offsets

remotive topology recording-session create​

Create a new recording session from recording files

Usage:

$ remotive topology recording-session create [OPTIONS] [OUT_PATH]

Arguments:

  • [OUT_PATH]: Write content to provided file path

Options:

  • --json: Output results in JSON format
  • --yaml: Output results in YAML format (default)
  • -f, --file TEXT: Recording file(s), applied in the order they are provided, e.g. candump.log, .csv [required]
  • --help: Show this message and exit.

remotive topology recording-session instantiate​

Create a topology instance ready to play a recording session

Usage:

$ remotive topology recording-session instantiate [OPTIONS] RECORDING_SESSION [OUT_PATH]

Arguments:

  • RECORDING_SESSION: Path to the recording session file [required]
  • [OUT_PATH]: Write content to provided file path

Options:

  • --json: Output results in JSON format
  • --yaml: Output results in YAML format (default)
  • --help: Show this message and exit.

remotive topology recording-session recalculate​

Recalculate the recording session start and end time based on the files and their offsets

Usage:

$ remotive topology recording-session recalculate [OPTIONS] RECORDING_SESSION [OUT_PATH]

Arguments:

  • RECORDING_SESSION: Path to the recording session file [required]
  • [OUT_PATH]: Write content to provided file path

Options:

  • --json: Output results in JSON format
  • --yaml: Output results in YAML format (default)
  • --help: Show this message and exit.

remotive topology show​

Show information from database file

Usage:

$ remotive topology show [OPTIONS] [COMMAND] [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • signals: [EXPERIMENTAL] Show signals in the provided database file
  • constants: [EXPERIMENTAL] Extract constants from database file
  • instance: Shows the resolved instance
  • platform: Shows the platform from database, platform or instance file
  • ethernet: [EXPERIMENTAL] Shows Ethernet configuration from database file
  • services: [EXPERIMENTAL] Show SOME/IP services from database file

remotive topology show signals​

[EXPERIMENTAL] Show signals in the provided database file

Usage:

$ remotive topology show signals [OPTIONS] PATH [OUT_PATH]

Arguments:

  • PATH: Path to the Database file, supported extensions: '.arxml', '.dbc', '.xml', '.ldf', '.signaldb.yaml' [required]
  • [OUT_PATH]: Write content to provided file path

Options:

  • --json: Output results in JSON format
  • --yaml: Output results in YAML format (default)
  • --jsonl: Output results in JSONL format
  • --bf: Output results in broker format
  • --flexray-channel TEXT: FlexRay physical channel name relevant for Fibex databases
  • --can-channel TEXT: CAN physical channel name relevant for arxml databases
  • --lin-channel TEXT: LIN physical channel name relevant for arxml databases
  • --help: Show this message and exit.

remotive topology show constants​

[EXPERIMENTAL] Extract constants from database file

Usage:

$ remotive topology show constants [OPTIONS] PATH

Arguments:

  • PATH: Path to the Database file, supported extensions: '.arxml' [required]

Options:

  • --json: Output results in JSON format
  • --yaml: Output results in YAML format (default)
  • --help: Show this message and exit.

remotive topology show instance​

Shows the resolved instance

Usage:

$ remotive topology show instance [OPTIONS] PATH

Arguments:

  • PATH: Path to the Database file, supported extensions: '.instance.yaml' [required]

Options:

  • --json: Output results in JSON format
  • --yaml: Output results in YAML format (default)
  • --check: Check topology
  • --full-platform: Show full platform, not just the instance-specific parts
  • --verbose: (Deprecated) Has no effect
  • -o, --out-path TEXT: Write content to provided file path
  • --help: Show this message and exit.

remotive topology show platform​

Shows the platform from database, platform or instance file

Usage:

$ remotive topology show platform [OPTIONS] PATH

Arguments:

  • PATH: Path to the Database file, supported extensions: '.arxml', '.xml', '.instance.yaml', '.platform.yaml', '.dbc', '.ldf', '.signaldb.yaml' [required]

Options:

  • --json: Output results in JSON format
  • --yaml: Output results in YAML format (default)
  • --verbose: (Deprecated) Has no effect
  • -o, --out-path TEXT: Write content to provided file path
  • --help: Show this message and exit.

remotive topology show ethernet​

[EXPERIMENTAL] Shows Ethernet configuration from database file

Usage:

$ remotive topology show ethernet [OPTIONS] PATH

Arguments:

  • PATH: Path to the Database file, supported extensions: '.arxml' [required]

Options:

  • --json: Output results in JSON format
  • --yaml: Output results in YAML format (default)
  • --help: Show this message and exit.

remotive topology show services​

[EXPERIMENTAL] Show SOME/IP services from database file

Usage:

$ remotive topology show services [OPTIONS] PATH

Arguments:

  • PATH: Path to the Database file, supported extensions: '.arxml' [required]

Options:

  • --json: Output results in JSON format
  • --yaml: Output results in YAML format (default)
  • -s, --services TEXT: List of SOME/IP services to process
  • --help: Show this message and exit.

remotive topology split​

[DEPRECATED] Extract individual signal databases for each channel in a RemotiveTopology platform.

Usage:

$ remotive topology split [OPTIONS] TOPOLOGY_OUTPUT_PATH

Arguments:

  • TOPOLOGY_OUTPUT_PATH: Path to a folder where generated signal databases should be written [required]

Options:

  • -f, --file TEXT: RemotiveTopology platform file(s), applied in the order they are provided [required]
  • --help: Show this message and exit.

remotive topology start-trial​

Allows you to start a 30 day trial subscription for running RemotiveTopology.

You can read more at https://developer.remotivelabs.com/docs/remotive-topology.

Usage:

$ remotive topology start-trial [OPTIONS]

Options:

  • --organization TEXT: Organization to start trial for [env var: REMOTIVE_CLOUD_ORGANIZATION]
  • --help: Show this message and exit.

remotive topology subscription​

Manage RemotiveTopology subscriptions, you can start a trial subscription or check the status of your subscription.

To extend a trial subscription, or purchase a subscription, please contact support@remotivelabs.com.

Usage:

$ remotive topology subscription [OPTIONS] [COMMAND] [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • start-trial: Allows you to start a 30 day trial subscription for running RemotiveTopology.
  • status: Show the current RemotiveTopology subscription status for an organization.

remotive topology subscription start-trial​

Allows you to start a 30 day trial subscription for running RemotiveTopology.

You can read more at https://developer.remotivelabs.com/docs/remotive-topology.

Usage:

$ remotive topology subscription start-trial [OPTIONS]

Options:

  • --organization TEXT: Organization to start trial for [env var: REMOTIVE_CLOUD_ORGANIZATION]
  • --help: Show this message and exit.

remotive topology subscription status​

Show the current RemotiveTopology subscription status for an organization.

Usage:

$ remotive topology subscription status [OPTIONS]

Options:

  • --organization TEXT: Organization to check subscription status for [env var: REMOTIVE_CLOUD_ORGANIZATION]
  • --help: Show this message and exit.

remotive topology validate​

[EXPERIMENTAL] Validate file

Usage:

$ remotive topology validate [OPTIONS] PATH

Arguments:

  • PATH: Path to the Database file, supported extensions: '.arxml' [required]

Options:

  • --help: Show this message and exit.

remotive topology version​

Show RemotiveTopology CLI version.

Usage:

$ remotive topology version [OPTIONS]

Options:

  • --help: Show this message and exit.

remotive topology workspace​

Manage RemotiveTopology workspaces

Usage:

$ remotive topology workspace [OPTIONS] [COMMAND] [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • init: Initialize a RemotiveTopology workspace in the current directory
  • current: Show the current RemotiveTopology workspace

remotive topology workspace init​

Initialize a RemotiveTopology workspace in the current directory

Usage:

$ remotive topology workspace init [OPTIONS]

Options:

  • --force / --no-force: Override existing RemotiveTopology workspace if it exists [default: no-force]
  • --help: Show this message and exit.

remotive topology workspace current​

Show the current RemotiveTopology workspace

Usage:

$ remotive topology workspace current [OPTIONS]

Options:

  • --help: Show this message and exit.

remotive broker​

Manage a single broker - local or cloud

Usage:

$ remotive broker [OPTIONS] [COMMAND] [ARGS]...

Options:

  • --url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]
  • --api-key TEXT: Cloud Broker API-KEY or access token [env var: REMOTIVE_BROKER_API_KEY]
  • --ui: [Experimental] Launch the interactive TUI explorer
  • --help: Show this message and exit.

Commands:

  • signals: Find and subscribe to signals
  • restbus: Control periodic frame transmission on a broker.
  • license: View and request license to broker

remotive broker signals​

Find and subscribe to signals

Usage:

$ remotive broker signals [OPTIONS] [COMMAND] [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • list: List signal metadata on a broker
  • subscribe: Subscribe to a selection of signals
  • namespaces: List namespaces on broker
  • frame-distribution: Use this command to get frames currently available on the specified namespace.
  • publish: Publish one or more signals to the broker.

remotive broker signals list​

List signal metadata on a broker

Filter are inclusive so --name-starts-with and --name-ends-with will include name that matches both

Usage:

$ remotive broker signals list [OPTIONS]

Options:

  • --url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]
  • --api-key TEXT: Cloud Broker API-KEY or access token [env var: REMOTIVE_BROKER_API_KEY]
  • --name-starts-with TEXT: Signal name prefix to include
  • --name-ends-with TEXT: Signal name suffix to include
  • --help: Show this message and exit.

remotive broker signals subscribe​

Subscribe to a selection of signals

Subscribe to two signals and have it printed to terminal

remotive broker signals subscribe  --url http://localhost:50051 --signal can1:signal1 --signal can0:signal2

Subscribe using a LUA script with signal transformations, read more about scripted signals at https://developer.remotivelabs.com/docs/remotive-broker

remotive broker signals subscribe  --url http://localhost:50051 --script myvss_script.lua

Usage:

$ remotive broker signals subscribe [OPTIONS]

Options:

  • --url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]
  • --api-key TEXT: Cloud Broker API-KEY or access token [env var: REMOTIVE_BROKER_API_KEY]
  • --signal NAMESPACE:SIGNAL_NAME: Signal(s) to subscribe to
  • --script FILE: Supply a path to a Lua script to use for signal transformation
  • --on-change-only / --no-on-change-only: Only get signal if value is changed [default: no-on-change-only]
  • --x-plot / --no-x-plot: Experimental: Plot the signal in terminal. Note graphs are not aligned by time [default: no-x-plot]
  • --x-plot-size INTEGER: Experimental: how many points show for each plot [default: 100]
  • --help: Show this message and exit.

remotive broker signals namespaces​

List namespaces on broker

Usage:

$ remotive broker signals namespaces [OPTIONS]

Options:

  • --url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]
  • --api-key TEXT: Cloud Broker API-KEY or access token [env var: REMOTIVE_BROKER_API_KEY]
  • --help: Show this message and exit.

remotive broker signals frame-distribution​

Use this command to get frames currently available on the specified namespace.

Usage:

$ remotive broker signals frame-distribution [OPTIONS]

Options:

  • --url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]
  • --api-key TEXT: Cloud Broker API-KEY or access token [env var: REMOTIVE_BROKER_API_KEY]
  • --namespace TEXT: Namespace [required]
  • --help: Show this message and exit.

remotive broker signals publish​

Publish one or more signals to the broker.

Values are scalars or comma-separated lists (e.g. 10,20,30). When signals have different list lengths they are zipped to the longest; shorter signals are omitted from frames beyond their length.

Publish a speed signal value of 50 on namespace can0:

remotive broker signals publish --signal can0:Speed:50

Publish multiple signals at once:

remotive broker signals publish --signal can0:Speed:50 --signal can0:Rpm:3000.0

Publish a sweep of speed values alongside RPM once:

remotive broker signals publish --signal can0:Speed:10,20,30 --signal can0:Rpm:1000

Usage:

$ remotive broker signals publish [OPTIONS]

Options:

  • --url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]
  • --api-key TEXT: Cloud Broker API-KEY or access token [env var: REMOTIVE_BROKER_API_KEY]
  • --signal NAMESPACE:SIGNAL_NAME:V1[,V2,...]: Signal(s) to publish [required]
  • --help: Show this message and exit.

remotive broker restbus​

Control periodic frame transmission on a broker. Restbus lets you inject frames onto a bus at a fixed cycle time, optionally overriding signal values. Typical workflow: add → start → update → stop/reset.

Usage:

$ remotive broker restbus [OPTIONS] [COMMAND] [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • add: Register one or more frames (with optional cycle time override).
  • start: Begin transmitting registered frames on the specified namespace(s).
  • stop: Pause transmission without removing configuration.
  • update: Change signal values to be emitted by the restbus.
  • remove: Remove specific frames from the restbus.
  • reset: Clear all configuration for a namespace.

remotive broker restbus add​

Register one or more frames (with optional cycle time override).

Usage:

$ remotive broker restbus add [OPTIONS]

Options:

  • --url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]
  • --api-key TEXT: Cloud Broker API-KEY or access token [env var: REMOTIVE_BROKER_API_KEY]
  • --frame NAMESPACE:FRAME_NAME: Frame(s) to add (namespace:frame_name) [required]
  • --cycle-time FLOAT: Cycle time override in ms
  • --start / --no-start: Start frames after adding [default: no-start]
  • --help: Show this message and exit.

remotive broker restbus start​

Begin transmitting registered frames on the specified namespace(s).

Usage:

$ remotive broker restbus start [OPTIONS]

Options:

  • --url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]
  • --api-key TEXT: Cloud Broker API-KEY or access token [env var: REMOTIVE_BROKER_API_KEY]
  • --namespace TEXT: Namespace(s) to start [required]
  • --help: Show this message and exit.

remotive broker restbus stop​

Pause transmission without removing configuration.

Usage:

$ remotive broker restbus stop [OPTIONS]

Options:

  • --url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]
  • --api-key TEXT: Cloud Broker API-KEY or access token [env var: REMOTIVE_BROKER_API_KEY]
  • --namespace TEXT: Namespace(s) to stop [required]
  • --help: Show this message and exit.

remotive broker restbus update​

Change signal values to be emitted by the restbus.

Usage:

$ remotive broker restbus update [OPTIONS]

Options:

  • --url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]
  • --api-key TEXT: Cloud Broker API-KEY or access token [env var: REMOTIVE_BROKER_API_KEY]
  • --signal NAMESPACE:SIGNAL_NAME:V1[,V2,...]: Signal(s) to update (loop values) [required]
  • --initial NAMESPACE:SIGNAL_NAME:V1[,V2,...]: Signal(s) initial values (emitted once before loop)
  • --help: Show this message and exit.

remotive broker restbus remove​

Remove specific frames from the restbus.

Unregisters the named frames from the given namespace. Unlike 'reset', this only removes the specified frames and leaves others intact.

Usage:

$ remotive broker restbus remove [OPTIONS]

Options:

  • --url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]
  • --api-key TEXT: Cloud Broker API-KEY or access token [env var: REMOTIVE_BROKER_API_KEY]
  • --frame NAMESPACE:FRAME_NAME: Frame(s) to remove (namespace:frame_name) [required]
  • --help: Show this message and exit.

remotive broker restbus reset​

Clear all configuration for a namespace.

Usage:

$ remotive broker restbus reset [OPTIONS]

Options:

  • --url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]
  • --api-key TEXT: Cloud Broker API-KEY or access token [env var: REMOTIVE_BROKER_API_KEY]
  • --namespace TEXT: Namespace(s) to reset [required]
  • --help: Show this message and exit.

remotive broker license​

View and request license to broker

Usage:

$ remotive broker license [OPTIONS] [COMMAND] [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • describe: Show licence information
  • request: Requests and applies a new or existing License to a broker, Note that internet access is required on your computer

remotive broker license describe​

Show licence information

More info on our docs page https://developer.remotivelabs.com/docs/remotive-broker/getting-started

--connect describes how the connection is made to the broker and helps us properly connect to broker

url = Connects to the broker with the specified url, this is hotspot = If you are using RemotiveBox (our reference hardware) you can connect to the broker over its wifi hotspot. Getting the license from a RemotiveBox over its wifi hotspot requires you switch wi-fi network to the RemotiveBox hotspot called 'remotivelabs-xxx' where 'xxx' is a random generated id.

--url is the broker url, this is mandatory when connect type is "url"

Usage:

$ remotive broker license describe [OPTIONS]

Options:

  • --connect [hotspot|url]: How to connect to broker [default: url]
  • --url TEXT: Broker URL [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]
  • --help: Show this message and exit.

remotive broker license request​

Requests and applies a new or existing License to a broker, Note that internet access is required on your computer

More info on our docs page https://developer.remotivelabs.com/docs/remotive-broker/getting-started

--connect describes how the connection is made to the broker and helps us properly connect to broker

url = Use url to connect to broker (use --url) hotspot = If you are using RemotiveBox (our reference hardware) you can connect to the broker over its wifi hotspot. Licensing a broker on a RemotiveBox over its wifi hotspot requires you switch wi-fi network to the RemotiveBox hotspot called 'remotivelabs-xxx' where 'xxx' is a random generated id. https://developer.remotivelabs.com/docs/remotive-broker/getting-started/remotive-box

--url is the broker url, this is mandatory when connect type is "url"

Usage:

$ remotive broker license request [OPTIONS]

Options:

  • --connect [hotspot|url]: How to connect to broker [default: url]
  • --url TEXT: Broker url, this is mandatory when connect type is 'url' [env var: REMOTIVE_BROKER_URL; default: http://localhost:50051]
  • --help: Show this message and exit.

remotive auth​

Sign in to RemotiveCloud and manage accounts, the default organization and service accounts

Every command that talks to RemotiveCloud (cloud, topology, broker, studio, connect) uses the signed-in account, so this is where to start.

Get started:

remotive auth login sign in with your browser remotive auth whoami show who you are signed in as remotive auth organization set --it choose the default organization

How it works:

  • Credentials are saved under ~/.config/remotive. Several accounts can be saved and one is active; 'list', 'activate' and 'deactivate' switch between them.
  • Service accounts belong to a project and are meant for CI and other automation: create one and a token with 'service-accounts create --it'.
  • In CI, where no one can sign in, set REMOTIVE_CLOUD_AUTH_TOKEN to a service-account token instead, and REMOTIVE_CLOUD_ORGANIZATION and REMOTIVE_CLOUD_PROJECT to the organization and project. Locally there is no need for them: sign in instead.
  • In a virtual machine or over ssh, where no browser can open, 'login --no-browser' prints a link to open in any browser instead.

'remotive setup' goes through sign-in, the default organization and the rest of the tool chain step by step.

Usage:

$ remotive auth [OPTIONS] [COMMAND] [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • login: Sign in to RemotiveCloud in your browser and save the account
  • whoami: Show the signed-in account, after checking the token against RemotiveCloud
  • print-access-token: Print the access token of the active account, or of --account, for scripts and tools
  • deactivate: Sign out of the active account; its saved credentials stay for 'activate'
  • activate: Make a saved account the active one, by name or by picking from a list
  • list: List the saved accounts and which one is active
  • organization: Show or set the default organization of an account
  • service-accounts: Manage project service accounts and their access tokens

remotive auth login​

Sign in to RemotiveCloud in your browser and save the account

Opens the sign-in page in your browser and saves the credentials once you are signed in. Where no browser can open, such as in docker, a virtual machine or an ssh session, it falls back to a link you open in any browser; --no-browser goes straight to the link.

Usage:

$ remotive auth login [OPTIONS]

Options:

  • --browser / --no-browser: Does not automatically open browser, instead shows a link [default: browser]
  • --help: Show this message and exit.

remotive auth whoami​

Show the signed-in account, after checking the token against RemotiveCloud

Usage:

$ remotive auth whoami [OPTIONS]

Options:

  • --help: Show this message and exit.

remotive auth print-access-token​

Print the access token of the active account, or of --account, for scripts and tools

Usage:

$ remotive auth print-access-token [OPTIONS]

Options:

  • --account TEXT: Email of the account you want to print access token for, defaults to active
  • --help: Show this message and exit.

remotive auth deactivate​

Sign out of the active account; its saved credentials stay for 'activate'

Usage:

$ remotive auth deactivate [OPTIONS]

Options:

  • --help: Show this message and exit.

remotive auth activate​

Make a saved account the active one, by name or by picking from a list

Usage:

$ remotive auth activate [OPTIONS] [TOKEN_NAME]

Arguments:

  • [TOKEN_NAME]: Name, filename or path to a credentials file

Options:

  • --help: Show this message and exit.

remotive auth list​

List the saved accounts and which one is active

Shows #, Active, Type, Token, Account, Organization, Created and Expires. Use --short for a compact view with only Active, Type, Account and Organization.

Usage:

$ remotive auth list [OPTIONS]

Options:

  • --short: Compact view: Active, Type, Account, Organization
  • --help: Show this message and exit.

remotive auth organization​

Show or set the default organization of an account

Usage:

$ remotive auth organization [OPTIONS] [COMMAND] [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • print: Print the default organization
  • set: Set the default organization, by uid or interactively with --it

remotive auth organization print​

Print the default organization

Usage:

$ remotive auth organization print [OPTIONS]

Options:

  • --account TEXT: Account to print for; defaults to the active account
  • --help: Show this message and exit.

remotive auth organization set​

Set the default organization, by uid or interactively with --it

Usage:

$ remotive auth organization set [OPTIONS] [ORGANIZATION_UID]

Arguments:

  • [ORGANIZATION_UID]: Organization uid

Options:

  • --it: Select interactively from available organizations
  • --account TEXT: Account to set for; defaults to the active account. Interactive selection always uses the active account.
  • --help: Show this message and exit.

remotive auth service-accounts​

Manage project service accounts and their access tokens

Usage:

$ remotive auth service-accounts [OPTIONS] [COMMAND] [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • list: List service-accounts
  • create: Create a new service account with one or more roles.
  • update: Update an existing service account with one or more roles.
  • delete: Delete service account
  • tokens: Manage project service account access tokens

remotive auth service-accounts list​

List service-accounts

Usage:

$ remotive auth service-accounts list [OPTIONS]

Options:

  • --project TEXT: Project ID [env var: REMOTIVE_CLOUD_PROJECT; required]
  • --help: Show this message and exit.

remotive auth service-accounts create​

Create a new service account with one or more roles.

Must only use lowercase letters, digits, or dashes, and must not contain -- or end with a dash.

remotive auth service-accounts create NAME --role project/user --role project/storageCreator

Add --it to be guided step by step - project, name, roles - access token included:

remotive auth service-accounts create --it

Supported roles project/admin - Full project support, view, edit, delete and manage users project/user - View, edit, upload, delete but no admin project/viewer - View only project/storageCreator - Can upload to storage but not view, overwrite or delete org/topologyRunner - Can start RemotiveTopology org/studioRunner - Can start RemotiveStudio

Usage:

$ remotive auth service-accounts create [OPTIONS] [NAME]

Arguments:

  • [NAME]: Service account name (required without --it)

Options:

  • --role TEXT: Roles to apply (required without --it)
  • --project TEXT: Project ID (required without --it) [env var: REMOTIVE_CLOUD_PROJECT]
  • --it: Create it step by step, access token included; asks for what is left out
  • --help: Show this message and exit.

remotive auth service-accounts update​

Update an existing service account with one or more roles.

remotive auth service-accounts update --role project/user --role project/storageCreator

Supported roles project/admin - Full project support, view, edit, delete and manage users project/user - View, edit, upload, delete but no admin project/viewer - View only project/storageCreator - Can upload to storage but not view, overwrite or delete org/topologyRunner - Can start RemotiveTopology org/studioRunner - Can start RemotiveStudio

Usage:

$ remotive auth service-accounts update [OPTIONS] SERVICE_ACCOUNT

Arguments:

  • SERVICE_ACCOUNT: Service account name [required]

Options:

  • --role TEXT: Roles to apply [required]
  • --project TEXT: Project ID [env var: REMOTIVE_CLOUD_PROJECT; required]
  • --help: Show this message and exit.

remotive auth service-accounts delete​

Delete service account

Usage:

$ remotive auth service-accounts delete [OPTIONS] NAME

Arguments:

  • NAME: [required]

Options:

  • --project TEXT: Project ID [env var: REMOTIVE_CLOUD_PROJECT; required]
  • --help: Show this message and exit.

remotive auth service-accounts tokens​

Manage project service account access tokens

Usage:

$ remotive auth service-accounts tokens [OPTIONS] [COMMAND] [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • create: Create and download a new service account access token
  • list: List service account access tokens
  • describe: Describe service account access token
  • revoke: Revoke service account access token
remotive auth service-accounts tokens create​

Create and download a new service account access token

Usage:

$ remotive auth service-accounts tokens create [OPTIONS]

Options:

  • --expire-in-days INTEGER: Number of days this token is valid [default: 365]
  • --service-account TEXT: Service account name [required]
  • --project TEXT: Project ID [env var: REMOTIVE_CLOUD_PROJECT; required]
  • --help: Show this message and exit.
remotive auth service-accounts tokens list​

List service account access tokens

Usage:

$ remotive auth service-accounts tokens list [OPTIONS]

Options:

  • --service-account TEXT: Service account name [required]
  • --project TEXT: Project ID [env var: REMOTIVE_CLOUD_PROJECT; required]
  • --help: Show this message and exit.
remotive auth service-accounts tokens describe​

Describe service account access token

Usage:

$ remotive auth service-accounts tokens describe [OPTIONS] NAME

Arguments:

  • NAME: Access token name [required]

Options:

  • --service-account TEXT: Service account name [required]
  • --project TEXT: Project ID [env var: REMOTIVE_CLOUD_PROJECT; required]
  • --help: Show this message and exit.
remotive auth service-accounts tokens revoke​

Revoke service account access token

Usage:

$ remotive auth service-accounts tokens revoke [OPTIONS] NAME

Arguments:

  • NAME: Access token name [required]

Options:

  • --delete / --no-delete: Also deletes the token after revocation [default: delete]
  • --service-account TEXT: Service account name [required]
  • --project TEXT: Project ID [env var: REMOTIVE_CLOUD_PROJECT; required]
  • --help: Show this message and exit.

remotive schemas​

JSON schemas of the files RemotiveLabs products read

Usage:

$ remotive schemas [OPTIONS] [COMMAND] [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • list: List schemas with the version new files are written against
  • show: Print a published schema (JSON Schema)

remotive schemas list​

List schemas with the version new files are written against

Usage:

$ remotive schemas list [OPTIONS]

Options:

  • --json: Print as JSON
  • --help: Show this message and exit.

remotive schemas show​

Print a published schema (JSON Schema)

Usage:

$ remotive schemas show [OPTIONS] NAME

Arguments:

  • NAME: Schema name, see 'remotive schemas list' [required]

Options:

  • --version TEXT: Schema version, such as 0.3; default: the version listed
  • --help: Show this message and exit.