/** * vzlogger configuration * * use proper encoded JSON with javascript comments * * take a look at the wiki for detailed information: * http://wiki.volkszaehler.org/software/controller/vzlogger#configuration */ { "retry": 30, /* how long to sleep between failed requests, in seconds */ "daemon": true, /* run periodically ; if "false" then foreground, if "true" then daemon */ "verbosity": 15, /* between 0 and 15 */ "log": "/tmp/vzlogger.log", /* path to logfile, optional */ "local": { "enabled": false, /* should we start the local HTTPd for serving live readings? Must be "false" for sending data to middleware */ "port": 8080, /* the TCP port for the local HTTPd */ "index": true, /* should we provide a index listing of available channels if no UUID was requested? */ "timeout": 30, /* timeout for long polling comet requests, 0 disables comet, in seconds */ "buffer": 600 /* how long to buffer readings for the local interface, in seconds */ }, "meters": [ //--------------------------------------------------------------------------------------------------------------------------------- // Example for sml-Meters //--------------------------------------------------------------------------------------------------------------------------------- { "enabled": true, /* disabled meters will be ignored (default) */ "protocol": "sml", /* see 'vzlogger -h' for list of available protocols */ "device": "/dev/usb-ir-lesekopf0", /* if you get the device-data directly from USB-Port */ "channels": [{ "uuid": "cfe7b950-f204-11e5-a504-354c7b0f6818", "middleware": "http://127.0.1.1/middleware.php", "identifier": "1-0:1.8.0" /* (Wirkleistung Total) */ }, ] } ] }