NAME

current-cost-reader - simple example script to read from a Current Cost monitor

VERSION

version 1.112970

SYNOPSIS

current-cost-reader [options] device

# read from the USB tty device of Current Cost monitor
current-cost-reader --classic /dev/ttyUSB0

# read from the USB tty device of an older Classic Current Cost monitor
current-cost-reader --classic /dev/ttyUSB0

# read from saved log file
current-cost-reader cc128.log

# read from saved log file of an older Classic Current Cost monitor
current-cost-reader --classic classic.log

DESCRIPTION

This script is an example of the usage of the Device::CurrentCost API. It simply writes a summary of the received data to stdout.

OPTIONS

-help

Print a brief help message.

-man

Print the manual page.

-verbose

Make output more verbose.

-history

Display completed history records when available.

SEE ALSO

Device::CurrentCost

Current Cost website: http://www.currentcost.com/

AUTHOR

Mark Hindess <soft-cpan@temporalanomaly.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Mark Hindess.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.