fioctl devices triggers run#

Trigger remote actions on device

Synopsis#

NOTE: Requires devices running LmP version 97 or later.

This command sets a fioconfig entry that will let a device know it needs to run a given trigger once and report its results back to the device gateway’s “tests” API. You can take the “command ID” from this command’s output to then look up the results using the “fioctl devices tests” command.

# Initiate a remote trigger: $ fioctl devices triggers run <device> <trigger>

fioctl devices triggers run <device> <action> [flags]

Options#

-u, --by-uuid         Look up device by UUID rather than name
-h, --help            help for run
-r, --reason string   The reason for running this command

Options inherited from parent commands#

-c, --config string    config file (default is $HOME/.config/fioctl.yaml)
-f, --factory string   Factory to list Targets for
-t, --token string     API token from https://app.foundries.io/settings/tokens/
-v, --verbose          Print verbose logging

SEE ALSO#