Python Tools

Commands

Outline of the Commands and Features the Python tools have to offer.

After installing and setting up the Infuse-IoT Python Tools, the tool can be run using

infuse

or directly as a python module

python3 -m infuse_iot
> infuse
usage: infuse [-h] [--version] <command> ...
infuse: error: the following arguments are required: <command>

All of the supported commands can be listed with the --help argument. As of version 0.9.0 the available commands are:

> infuse --help
usage: infuse [-h] [--version] <command> ...

options:
  -h, --help           show this help message and exit
  --version            show program's version number and exit

commands:
  <command>
    annotate_events    Annotate events on Infuse Tags
    audio_record       Record audio data to a file from TDF
    auto_activate      Automatically activate/deactivate observed devices
    bt_log             Connect to remote Bluetooth device serial logs
    cloud              Infuse-IoT cloud interaction
    credentials        Manage Infuse-IoT credentials
    csv_annotate       Annotate CSV data
    csv_plot           Plot CSV data
    data_logger_sync   Synchronise data logger state from remote devices
    gateway            Connect to a local gateway device
    localhost          Run a local server for TDF viewing
    native_bt          Native Bluetooth gateway
    ota_upgrade        Automatically OTA upgrade observed devices
    provision          Provision device on Infuse Cloud
    rpc                Run remote procedure calls on devices
    rpc_cloud          Manage remote procedure calls through Infuse-IoT cloud
    serial_throughput  Test serial throughput to local gateway
    tdf_csv            Save received TDFs in CSV files
    tdf_list           Display received TDFs in a list