Skip to content

Commit

Permalink
Merge pull request #175 from griesi/patch-1
Browse files Browse the repository at this point in the history
Added aggtime/mode for sml
  • Loading branch information
andig committed Jun 23, 2015
2 parents e07cd52 + cca00f8 commit e1fb3d2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions etc/vzlogger.conf
Expand Up @@ -30,11 +30,13 @@
"skip": false, // if enabled, errors when opening meter will lead to meter being ignored
"protocol": "sml", // see 'vzlogger -h' for list of available protocols
"host": "http://localhost/meinzaehler.dyndns.info:7331",
"aggtime": 10, // aggregate all signals and give one update to middleware every 10 seconds
"channels": [{
"api": "volkszaehler", // default middleware api: volkszaehler.org
"uuid": "fde8f1d0-c5d0-11e0-856e-f9e4360ced10",
"middleware": "http://localhost/middleware.php",
"identifier": "power" // alias for '1-0:1.7.ff', see 'vzlogger -h' for list of available aliases
"identifier": "power", // alias for '1-0:1.7.ff', see 'vzlogger -h' for list of available aliases
"aggmode": "AVG" // use with "aggtime": "AVG" for Power, "MAX" for Counter
}, {
"uuid": "a8da012a-9eb4-49ed-b7f3-38c95142a90c",
"middleware": "http://localhost/middleware.php",
Expand All @@ -43,7 +45,8 @@
}, {
"uuid": "d5c6db0f-533e-498d-a85a-be972c104b48",
"middleware": "http://localhost/middleware.php",
"identifier": "1-0:1.8.0" // see 'vzlogger -v20' for an output with all available identifiers/OBIS ids
"identifier": "1-0:1.8.0", // see 'vzlogger -v20' for an output with all available identifiers/OBIS ids
"aggmode": "MAX" // use with "aggtime": "AVG" for Power, "MAX" for Counter
}]
},
{
Expand Down

0 comments on commit e1fb3d2

Please sign in to comment.