@twilio/plugin-microvisor
Interact with your Twilio Microvisor devices
Setup
Ensure you have twilio-cli installed.
Then run
twilio plugins:install @twilio/plugin-microvisor
Usage
$ twilio --help microvisor
USAGE
$ twilio microvisor
...
Commands
twilio microvisor:apps:bundle ROM-FILE OUT
Manage app bundles
USAGE
$ twilio microvisor:apps:bundle [ROM-FILE] [OUT] [-l debug|info|warn|error|none] [-o columns|json|tsv|none] [--silent] [-k
<value>] [--connection-grace-time <value>] [--minimum-check-in-time <value>]
ARGUMENTS
ROM-FILE Input ROM file.
OUT Output file for bundle zip.
FLAGS
-k, --debug-auth-pubkey=<value> Public key to be used for authentication while debugging
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-o=(columns|json|tsv|none) [default: columns] Format of command output.
--connection-grace-time=<value> Connection grace time (in seconds) for the Device running this bundle as an App.
--minimum-check-in-time=<value> Time (in seconds) after which the Device running this bundle autonomously reconnects
to check for updates.
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
DESCRIPTION
Manage app bundles
twilio microvisor:apps:create FILE [UNIQUENAME]
Create an App on the account
USAGE
$ twilio microvisor:apps:create [FILE] [UNIQUENAME] [-l debug|info|warn|error|none] [-o columns|json|tsv|none] [--silent]
[-p <value>]
ARGUMENTS
FILE The App Bundle file
UNIQUENAME Unique name for the App
FLAGS
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-o=(columns|json|tsv|none) [default: columns] Format of command output.
-p, --profile=<value> Shorthand identifier for your profile.
--silent Suppress output and logs. This is a shorthand for "-l none -o none".
DESCRIPTION
Create an App on the account
twilio microvisor:debug DEVICESID DEBUGKEY
USAGE
$ twilio microvisor:debug [DEVICESID] [DEBUGKEY] [-l debug|info|warn|error|none] [-p <value>] [--listen-port <value>]
ARGUMENTS
DEVICESID The Sid of the device you wish to debug
DEBUGKEY Filename containing debug authentication private key
FLAGS
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-p, --profile=<value> Shorthand identifier for your profile.
--listen-port=<value> [default: 8001] The port on which the debug tunnel should listen
twilio microvisor:debug:generate_keypair
USAGE
$ twilio microvisor:debug:generate_keypair [-l debug|info|warn|error|none] [-p <value>] [--debug-auth-privkey <value>]
[--debug-auth-pubkey <value>] [-f]
FLAGS
-f, --force
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-p, --profile=<value> Shorthand identifier for your profile.
--debug-auth-privkey=<value> [default: debug-private-key.pem] Private key output filename
--debug-auth-pubkey=<value> [default: debug-public-key.pem] Public key output filename
twilio microvisor:logs:stream DEVICESID
USAGE
$ twilio microvisor:logs:stream [DEVICESID] [-l debug|info|warn|error|none] [-p <value>] [-o json|text]
ARGUMENTS
DEVICESID The Sid of the device you wish to stream logging from
FLAGS
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-o=(json|text) [default: text] Format of command output.
-p, --profile=<value> Shorthand identifier for your profile.
twilio microvisor:wificonfig:clear DEVICEPATH
Clear a Microvisor device's WiFi credentials, if set
USAGE
$ twilio microvisor:wificonfig:clear [DEVICEPATH]
ARGUMENTS
DEVICEPATH The path to the device file
DESCRIPTION
Clear a Microvisor device's WiFi credentials, if set
twilio microvisor:wificonfig:get DEVICEPATH
Get a Microvisor device's WiFi credentials, if set
USAGE
$ twilio microvisor:wificonfig:get [DEVICEPATH]
ARGUMENTS
DEVICEPATH The path to the device file
DESCRIPTION
Get a Microvisor device's WiFi credentials, if set
twilio microvisor:wificonfig:ports
List possible connected Microvisor devices' Unix paths
USAGE
$ twilio microvisor:wificonfig:ports
DESCRIPTION
List possible connected Microvisor devices' Unix paths
twilio microvisor:wificonfig:set WIFISSID WIFIPWD DEVICEPATH
Set a Microvisor device's WiFi credentials
USAGE
$ twilio microvisor:wificonfig:set [WIFISSID] [WIFIPWD] [DEVICEPATH]
ARGUMENTS
WIFISSID The WiFi network name
WIFIPWD The WiFI password
DEVICEPATH The path to the device file
DESCRIPTION
Set a Microvisor device's WiFi credentials