solarpowerlog trunk
[LOGGER] DumpDumper: A Simple Data Logger

This Logger writes the data to standard oputput.

This is filter can be seen as a reference implementation to see how things work.

Overview

This Logger simply queries all Capbilities available and dumps their value periodically to cout.

The filter automatically determines how often the values updates (via the Inverters period) and adapts to this value. If this value is not available, it defaults to 5 seconds.

Configuration

As every logger, this Logger is configured using the Loggers Section.

Option Type Mandatory Default Value Description
name string x -

Names the Logger.

type string "DumbDumper" -/td> Selects the LoggerType. To get a DumpOutput Logger, this must be DumbDumper .
datasource string x - Name of the datasource. Must be eighter a name of a Inverter (Inverter Section) or a name of another DataFilter.
clearscreen boolean "CSVLogger" false Specify, if the logger should clean the terminal before starting to write.

Configuration Example

     loggers = (
 {
 # This dumper is known as (required)
 name = "Simple Dumper 1";
 # It is of type
 type = "DumbDumper";
 # And gets its data from
 datasource = "Inverter_1";
 # Yes, it should clean the screen before dumping
 # (optional. Defaults to false (off)
 # use true to enable it.
 clearscreen = true;
 };