NAME

device-chip-sensor-datalogger - write CSV files from Device::Chip sensor data

SYNOPSIS

$ device-chip-sensor-datalogger -A BusPirate BME280 -o data.csv

DESCRIPTION

This program periodically queries sensor values from Device::Chip instances attached via a Device::Chip::Adapter and writes the results as records in a CSV file.

COMMANDLINE OPTIONS

The following commandline options are recognised, in addition to those provided by the common base class - see "COMMANDLINE OPTIONS" in App::Device::Chip::sensor.

  • --output, -o FILE

    Gives the filename to write the CSV data into.

  • --timestamp STR

    A strftime(3) format string to use for writing the initial timestamp column.

    Defaults to "%Y-%m-%d %H:%M:%S".

AUTHOR

Paul Evans <leonerd@leonerd.org.uk>