[vz-users] Easymeter vzlogger-conf

Jan Goe jan.andrea7 at googlemail.com
Mon Jan 26 12:39:56 CET 2015


okay, sieht gut aus und funktioniert, gibt es die möglichkeit mit vzlogger
/ middelware 1-wire temperaturen zu loggen ?

wenn ja, hast du vtl eine bsp config datei für mich ?

2015-01-26 12:37 GMT+01:00 Matthias Behr <mbehr at mcbehr.de>:

> ich würde interval sicherheitshalber auf 0 setzen (wird sonst intern auf
> -1 gesetzt, kann unkritisch sein…)
>
> Sonst schaut es auf den ersten Blick gut aus.
>
> Am 26.01.2015 um 20:28 schrieb Jan Goe <jan.andrea7 at googlemail.com>:
>
> sehr schön vielen dank,
>
> in meinen fall wenn ich z.b. alle 5 bzw 10 minuten werte vom zähler loggen
> will wäre meine config dann so richtig :
>
> -------
> "retry" : 30,                   /* how long to sleep between failed
> requests, in seconds */
> "daemon": true,                /* run periodically */
> "foreground" : true,            /* dont run in background (prevents
> forking) */
>
> "verbosity" : 15,               /* between 0 and 15 */
> "log" : "/var/www/vzlogger.log",/* path to logfile, optional */
>
> "local" : {
>         "enabled" : false,      /* should we start the local HTTPd for
> serving live readings? */
>         "port" : 80,            /* the TCP port for the local HTTPd */
>         "index" : true,         /* should we provide a index listing of
> available channels? */
>         "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" : [{
>         "enabled" : true,       /* disabled meters will be ignored */
>         "protocol" : "sml",     /* use 'vzlogger -h' for list of available
> protocols */
>         "device" : "/dev/usb-ir-lesekopf0",
>         "aggtime": 300,
>         "channels": [{
>             "uuid" : "11c04d20-a31e-11e4-8745-d1d65d1da157",
>             "middleware" : "
> http://127.0.0.1/volkszaehler.org/htdocs/middleware.php",
>             "identifier" : "1-0:1.8.0",
>             "aggmode": "MAX",
>             }]
>
>         },{
>         "enabled" : true,       /* disabled meters will be ignored */
>         "protocol" : "sml",     /* use 'vzlogger -h' for list of available
> protocols */
>         "device" : "/dev/usb-ir-lesekopf1",
>         "aggtime": 300,
>         "channels": [{
>             "uuid" : "f9d00040-a47e-11e4-8bb8-edea5119d3cf",
>             "middleware" : "
> http://127.0.0.1/volkszaehler.org/htdocs/middleware.php",
>             "identifier" : "1-0:1.8.0",
>             "aggmode": "MAX",
>             }]
>         },
> ]}
>
> -------
>
> wo wäre de identifier unterschied zwischen 1-0:1.8.0 und 8.1 ?
>
> mfg
> jan
>
> 2015-01-26 12:12 GMT+01:00 Matthias Behr <mbehr at mcbehr.de>:
>
>> Ah. Klar. Du hast keine Pullseq gesetzt, d.h. deine Meter schicken ihre
>> Daten von alleine.
>> Da du aber ein Interval von 10min gesetzt hast, laufen die Daten alle in
>> den Puffer. Dort holst du alle 10min ein Telegram ab.
>> Stell mal das Interval auf 1 (oder 0). Falls du nicht so viele Daten
>> willst, wie die Logger schicken, musst du mittels „aggtime“ und „aggmode“
>> die Anzahl reduzieren.
>>
>>  Am 26.01.2015 um 19:46 schrieb Jan Goe <jan.andrea7 at googlemail.com>:
>>
>> Na klar, das problem ist die Sprünge finden immer nur statt wenn ich
>> vzlogger neu starte, um so länger vzlogger läuft um so größer wir die
>> abweichung zum zähler ein neu start von vzlogger behebt diese abweichung
>> dann meistens.
>>
>> hier ein auzzug, wo man den sprung und den neu start gut erkennen kann :
>>
>> -----
>>
>> [Jan 26 08:45:19][chn1] compare: 1422261319015 1422261919024 1422261919024.211914
>> [Jan 26 08:45:19][chn1] JSON request body: [ [ 1422261919024.211914, 680616.500000 ] ]
>> [Jan 26 08:45:19][chn1] CURL: Connection #0 seems to be dead!
>> [Jan 26 08:45:19][chn1] CURL: Closing connection #0
>> [Jan 26 08:45:19][chn1] CURL: About to connect() to 127.0.0.1 port 80 (#0)
>> [Jan 26 08:45:19][chn1] CURL:   Trying 127.0.0.1...
>> [Jan 26 08:45:19][chn1] CURL: connected
>> [Jan 26 08:45:19][chn1] CURL: Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
>> [Jan 26 08:45:19][chn1] Buffer dump (size=0 keep=32): {}
>> [Jan 26 08:45:19][mtr1] Next reading in 600 seconds
>> [Jan 26 08:45:19][chn1] CURL: Sent 43 bytes..
>> [Jan 26 08:45:19][chn1] CURL: Sent '[ [ 1422261919024.211914, 680616.500000 ] ]' bytes
>> [Jan 26 08:45:19][chn1] CURL: upload completely sent off: 43 out of 43 bytes
>> [Jan 26 08:45:19][chn1] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 08:45:19][chn0] CURL: HTTP 1.1 or later with persistent connection, pipelining supported
>> [Jan 26 08:45:19][chn0] CURL: Received 26 bytes
>> [Jan 26 08:45:19][chn0] CURL: Received '{"version":"0.3","rows":1}' bytes
>> [Jan 26 08:45:19][chn0] CURL: Connection #0 to host 127.0.0.1 left intact
>> [Jan 26 08:45:19][chn0] CURL Request succeeded with code: 200
>> [Jan 26 08:45:20][chn1] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 08:45:21][chn1] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 08:45:21][chn1] CURL: HTTP 1.1 or later with persistent connection, pipelining supported
>> [Jan 26 08:45:21][chn1] CURL: Received 26 bytes
>> [Jan 26 08:45:21][chn1] CURL: Received '{"version":"0.3","rows":1}' bytes
>> [Jan 26 08:45:21][chn1] CURL: Connection #0 to host 127.0.0.1 left intact
>> [Jan 26 08:45:21][chn1] CURL Request succeeded with code: 200
>> [Jan 26 08:55:16][mtr0] Got 7 new readings from meter:
>> [Jan 26 08:55:16][mtr0] Reading: id=1-0:1.8.0*255/ObisItentifier:1-0:1.8.0*255 value=796475.80 ts=1422262516.184
>> [Jan 26 08:55:16][mtr0] Reading: id=1-0:1.8.1*255/ObisItentifier:1-0:1.8.1*255 value=796475.80 ts=1422262516.184
>> [Jan 26 08:55:16][mtr0] Reading: id=1-0:1.8.2*255/ObisItentifier:1-0:1.8.2*255 value=0.00 ts=1422262516.184
>> [Jan 26 08:55:16][mtr0] Reading: id=1-0:16.7.0*255/ObisItentifier:1-0:16.7.0*255 value=491.00 ts=1422262516.184
>> [Jan 26 08:55:16][mtr0] Reading: id=1-0:36.7.0*255/ObisItentifier:1-0:36.7.0*255 value=282.00 ts=1422262516.184
>> [Jan 26 08:55:16][mtr0] Reading: id=1-0:56.7.0*255/ObisItentifier:1-0:56.7.0*255 value=51.00 ts=1422262516.185
>> [Jan 26 08:55:16][mtr0] Reading: id=1-0:76.7.0*255/ObisItentifier:1-0:76.7.0*255 value=156.00 ts=1422262516.185
>> [Jan 26 08:55:16][chn0] Adding reading to queue (value=796475.80 ts=1422262516.184)
>> [Jan 26 08:55:16][chn0] ==> number of tuples: 1
>> [Jan 26 08:55:16][chn0] compare: 1422261916165 1422262516184 1422262516184.354980
>> [Jan 26 08:55:16][chn0] JSON request body: [ [ 1422262516184.354980, 796475.800000 ] ]
>> [Jan 26 08:55:16][chn0] CURL: Connection #0 seems to be dead!
>> [Jan 26 08:55:16][chn0] CURL: Closing connection #0
>> [Jan 26 08:55:16][chn0] CURL: About to connect() to 127.0.0.1 port 80 (#0)
>> [Jan 26 08:55:16][chn0] CURL:   Trying 127.0.0.1...
>> [Jan 26 08:55:16][chn0] Buffer dump (size=0 keep=32): {}
>> [Jan 26 08:55:16][mtr0] Next reading in 600 seconds
>> [Jan 26 08:55:16][chn0] CURL: connected
>> [Jan 26 08:55:16][chn0] CURL: Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
>> [Jan 26 08:55:16][chn0] CURL: Sent 43 bytes..
>> [Jan 26 08:55:16][chn0] CURL: Sent '[ [ 1422262516184.354980, 796475.800000 ] ]' bytes
>> [Jan 26 08:55:16][chn0] CURL: upload completely sent off: 43 out of 43 bytes
>> [Jan 26 08:55:16][chn0] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 08:55:17][chn0] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 08:55:18][chn0] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 08:55:18][chn0] CURL: HTTP 1.1 or later with persistent connection, pipelining supported
>> [Jan 26 08:55:18][chn0] CURL: Received 26 bytes
>> [Jan 26 08:55:18][chn0] CURL: Received '{"version":"0.3","rows":1}' bytes
>> [Jan 26 08:55:18][chn0] CURL: Connection #0 to host 127.0.0.1 left intact
>> [Jan 26 08:55:18][chn0] CURL Request succeeded with code: 200
>> [Jan 26 08:55:19][mtr1] Got 7 new readings from meter:
>> [Jan 26 08:55:19][mtr1] Reading: id=1-0:1.8.0*255/ObisItentifier:1-0:1.8.0*255 value=680616.50 ts=1422262519.044
>> [Jan 26 08:55:19][mtr1] Reading: id=1-0:1.8.1*255/ObisItentifier:1-0:1.8.1*255 value=680616.50 ts=1422262519.044
>> [Jan 26 08:55:19][mtr1] Reading: id=1-0:1.8.2*255/ObisItentifier:1-0:1.8.2*255 value=0.00 ts=1422262519.044
>> [Jan 26 08:55:19][mtr1] Reading: id=1-0:16.7.0*255/ObisItentifier:1-0:16.7.0*255 value=14.00 ts=1422262519.044
>> [Jan 26 08:55:19][mtr1] Reading: id=1-0:36.7.0*255/ObisItentifier:1-0:36.7.0*255 value=-2.00 ts=1422262519.044
>> [Jan 26 08:55:19][mtr1] Reading: id=1-0:56.7.0*255/ObisItentifier:1-0:56.7.0*255 value=0.00 ts=1422262519.044
>> [Jan 26 08:55:19][mtr1] Reading: id=1-0:76.7.0*255/ObisItentifier:1-0:76.7.0*255 value=14.00 ts=1422262519.044
>> [Jan 26 08:55:19][chn1] Adding reading to queue (value=680616.50 ts=1422262519.044)
>> [Jan 26 08:55:19][chn1] ==> number of tuples: 1
>> [Jan 26 08:55:19][chn1] compare: 1422261919024 1422262519044 1422262519044.300049
>> [Jan 26 08:55:19][chn1] JSON request body: [ [ 1422262519044.300049, 680616.500000 ] ]
>> [Jan 26 08:55:19][chn1] CURL: Connection #0 seems to be dead!
>> [Jan 26 08:55:19][chn1] CURL: Closing connection #0
>> [Jan 26 08:55:19][chn1] CURL: About to connect() to 127.0.0.1 port 80 (#0)
>> [Jan 26 08:55:19][chn1] CURL:   Trying 127.0.0.1...
>> [Jan 26 08:55:19][chn1] CURL: connected
>> [Jan 26 08:55:19][chn1] CURL: Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
>> [Jan 26 08:55:19][chn1] Buffer dump (size=0 keep=32): {}
>> [Jan 26 08:55:19][mtr1] Next reading in 600 seconds
>> [Jan 26 08:55:19][chn1] CURL: Sent 43 bytes..
>> [Jan 26 08:55:19][chn1] CURL: Sent '[ [ 1422262519044.300049, 680616.500000 ] ]' bytes
>> [Jan 26 08:55:19][chn1] CURL: upload completely sent off: 43 out of 43 bytes
>> [Jan 26 08:55:19][chn1] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 08:55:20][chn1] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 08:55:21][chn1] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 08:55:21][chn1] CURL: HTTP 1.1 or later with persistent connection, pipelining supported
>> [Jan 26 08:55:21][chn1] CURL: Received 26 bytes
>> [Jan 26 08:55:21][chn1] CURL: Received '{"version":"0.3","rows":1}' bytes
>> [Jan 26 08:55:21][chn1] CURL: Connection #0 to host 127.0.0.1 left intact
>> [Jan 26 08:55:21][chn1] CURL Request succeeded with code: 200
>> [Jan 26 09:03:51]       terminating on signal 15.
>> [Jan 26 09:03:51]       Closing connections to terminate
>> [Jan 26 09:04:20]       Opened logfile /var/log/vzlogger.log
>> [Jan 26 09:04:20][]     ===> Start meters
>> [Jan 26 09:04:20][mtr0] Meter connection established
>> [Jan 26 09:04:20][mtr0] Meter thread started
>> [Jan 26 09:04:20][mtr0] Meter is opened. Starting channels.
>> [Jan 26 09:04:20][chn0] Logging thread started
>> [Jan 26 09:04:20][chn0] Start logging thread for volkszaehler-api. Running as daemon: yes
>> [Jan 26 09:04:20][mtr0] Number of readers: 32
>> [Jan 26 09:04:20][mtr1] Meter connection established
>> [Jan 26 09:04:20][mtr0] Config.daemon: 1
>> [Jan 26 09:04:20][mtr0] Config.local: 0
>> [Jan 26 09:04:20][mtr1] Meter thread started
>> [Jan 26 09:04:20][mtr1] Meter is opened. Starting channels.
>> [Jan 26 09:04:20][chn1] Logging thread started
>> [Jan 26 09:04:20][]     Startup done.
>> [Jan 26 09:04:20][chn0] Using default volkszaehler api.
>> [Jan 26 09:04:20][chn1] Start logging thread for volkszaehler-api. Running as daemon: yes
>> [Jan 26 09:04:20][chn1] Using default volkszaehler api.
>> [Jan 26 09:04:20][mtr1] Number of readers: 32
>> [Jan 26 09:04:20][mtr1] Config.daemon: 1
>> [Jan 26 09:04:20][mtr1] Config.local: 0
>> [Jan 26 09:04:21][mtr1] Got 7 new readings from meter:
>> [Jan 26 09:04:21][mtr1] Reading: id=1-0:1.8.0*255/ObisItentifier:1-0:1.8.0*255 value=689827.40 ts=1422263061.162
>> [Jan 26 09:04:21][mtr1] Reading: id=1-0:1.8.1*255/ObisItentifier:1-0:1.8.1*255 value=689827.40 ts=1422263061.162
>> [Jan 26 09:04:21][mtr1] Reading: id=1-0:1.8.2*255/ObisItentifier:1-0:1.8.2*255 value=0.00 ts=1422263061.162
>> [Jan 26 09:04:21][mtr1] Reading: id=1-0:16.7.0*255/ObisItentifier:1-0:16.7.0*255 value=2352.00 ts=1422263061.162
>> [Jan 26 09:04:21][mtr1] Reading: id=1-0:36.7.0*255/ObisItentifier:1-0:36.7.0*255 value=743.00 ts=1422263061.162
>> [Jan 26 09:04:21][mtr1] Reading: id=1-0:56.7.0*255/ObisItentifier:1-0:56.7.0*255 value=738.00 ts=1422263061.162
>> [Jan 26 09:04:21][mtr1] Reading: id=1-0:76.7.0*255/ObisItentifier:1-0:76.7.0*255 value=871.00 ts=1422263061.162
>> [Jan 26 09:04:21][chn1] Adding reading to queue (value=689827.40 ts=1422263061.162)
>> [Jan 26 09:04:21][chn1] ==> number of tuples: 1
>> [Jan 26 09:04:21][chn1] compare: 0 1422263061162 1422263061162.205078
>> [Jan 26 09:04:21][chn1] JSON request body: [ [ 1422263061162.205078, 689827.400000 ] ]
>> [Jan 26 09:04:21][chn1] Buffer dump (size=0 keep=32): {}
>> [Jan 26 09:04:21][mtr1] Next reading in 600 seconds
>> [Jan 26 09:04:21][chn1] CURL: About to connect() to 127.0.0.1 port 80 (#0)
>> [Jan 26 09:04:21][chn1] CURL:   Trying 127.0.0.1...
>> [Jan 26 09:04:21][chn1] CURL: connected
>> [Jan 26 09:04:21][chn1] CURL: Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
>> [Jan 26 09:04:21][chn1] CURL: Sent 43 bytes..
>> [Jan 26 09:04:21][chn1] CURL: Sent '[ [ 1422263061162.205078, 689827.400000 ] ]' bytes
>> [Jan 26 09:04:21][chn1] CURL: upload completely sent off: 43 out of 43 bytes
>> [Jan 26 09:04:21][chn1] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 09:04:21][mtr0] Got 7 new readings from meter:
>> [Jan 26 09:04:21][mtr0] Reading: id=1-0:1.8.0*255/ObisItentifier:1-0:1.8.0*255 value=800396.40 ts=1422263061.707
>> [Jan 26 09:04:21][mtr0] Reading: id=1-0:1.8.1*255/ObisItentifier:1-0:1.8.1*255 value=800396.40 ts=1422263061.707
>> [Jan 26 09:04:21][mtr0] Reading: id=1-0:1.8.2*255/ObisItentifier:1-0:1.8.2*255 value=0.00 ts=1422263061.707
>> [Jan 26 09:04:21][mtr0] Reading: id=1-0:16.7.0*255/ObisItentifier:1-0:16.7.0*255 value=2404.00 ts=1422263061.707
>> [Jan 26 09:04:21][mtr0] Reading: id=1-0:36.7.0*255/ObisItentifier:1-0:36.7.0*255 value=177.00 ts=1422263061.707
>> [Jan 26 09:04:21][mtr0] Reading: id=1-0:56.7.0*255/ObisItentifier:1-0:56.7.0*255 value=158.00 ts=1422263061.707
>> [Jan 26 09:04:21][mtr0] Reading: id=1-0:76.7.0*255/ObisItentifier:1-0:76.7.0*255 value=2068.00 ts=1422263061.707
>> [Jan 26 09:04:21][chn0] Adding reading to queue (value=800396.40 ts=1422263061.707)
>> [Jan 26 09:04:21][chn0] ==> number of tuples: 1
>> [Jan 26 09:04:21][chn0] compare: 0 1422263061707 1422263061707.106201
>> [Jan 26 09:04:21][chn0] JSON request body: [ [ 1422263061707.106201, 800396.400000 ] ]
>> [Jan 26 09:04:21][chn0] CURL: About to connect() to 127.0.0.1 port 80 (#0)
>> [Jan 26 09:04:21][chn0] CURL:   Trying 127.0.0.1...
>> [Jan 26 09:04:21][chn0] CURL: connected
>> [Jan 26 09:04:21][chn0] CURL: Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
>> [Jan 26 09:04:21][chn0] CURL: Sent 43 bytes..
>> [Jan 26 09:04:21][chn0] CURL: Sent '[ [ 1422263061707.106201, 800396.400000 ] ]' bytes
>> [Jan 26 09:04:21][chn0] CURL: upload completely sent off: 43 out of 43 bytes
>> [Jan 26 09:04:21][chn0] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 09:04:21][chn0] Buffer dump (size=0 keep=32): {}
>> [Jan 26 09:04:21][mtr0] Next reading in 600 seconds
>> [Jan 26 09:04:22][chn1] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 09:04:22][chn0] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 09:04:23][chn1] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 09:04:23][chn0] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 09:04:24][chn1] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 09:04:24][chn0] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 09:04:25][chn1] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 09:04:25][chn0] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 09:04:26][chn1] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 09:04:26][chn1] CURL: HTTP 1.1 or later with persistent connection, pipelining supported
>> [Jan 26 09:04:26][chn1] CURL: Received 26 bytes
>> [Jan 26 09:04:26][chn1] CURL: Received '{"version":"0.3","rows":1}' bytes
>> [Jan 26 09:04:26][chn1] CURL: Connection #0 to host 127.0.0.1 left intact
>> [Jan 26 09:04:26][chn1] CURL Request succeeded with code: 200
>> [Jan 26 09:04:26][chn0] CURL: additional stuff not fine transfer.c:1037: 0 0
>> [Jan 26 09:04:27][chn0] CURL: HTTP 1.1 or later with persistent connection, pipelining supported
>> [Jan 26 09:04:27][chn0] CURL: Received 26 bytes
>> [Jan 26 09:04:27][chn0] CURL: Received '{"version":"0.3","rows":1}' bytes
>> [Jan 26 09:04:27][chn0] CURL: Connection #0 to host 127.0.0.1 left intact
>> [Jan 26 09:04:27][chn0] CURL Request succeeded with code: 200
>> ---------------
>>
>>
>> hast du eine ahnung wie man den CURL: additional stuff not fine fehler beheben kann ?
>>
>> mfg
>> jan
>>
>>
>>
>> 2015-01-26 11:23 GMT+01:00 Matthias Behr <mbehr at mcbehr.de>:
>>
>>> Ok. In dem Log ist kein Sprung sichtbar.
>>> [Jan 25 20:54:17][chn0] Adding reading to queue (value=795554.60
>>> ts=1422219257.039)
>>> [Jan 25 20:54:18][chn1] Adding reading to queue (value=680592.00
>>> ts=1422219258.619)
>>> [Jan 25 21:04:17][chn0] Adding reading to queue (value=795554.90
>>> ts=1422219857.050)
>>> [Jan 25 21:04:18][chn1] Adding reading to queue (value=680592.00
>>> ts=1422219858.639)
>>> [Jan 25 21:14:17][chn0] Adding reading to queue (value=795555.20
>>> ts=1422220457.062)
>>> [Jan 25 21:14:18][chn1] Adding reading to queue (value=680592.00
>>> ts=1422220458.662)
>>>
>>> Kannst du einen Log schicken (oder eine Zeitangabe), wo ein Sprung war?
>>>
>>> Am 26.01.2015 um 18:05 schrieb Jan Goe <jan.andrea7 at googlemail.com>:
>>>
>>> ja ich habe 2 Meter angeschlossen ( 1x für wohnung 1x für die
>>> wäremepumpe )
>>>
>>> hier die config:
>>>
>>> ---------------
>>> /**
>>>  * 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 */
>>> "foreground" : true,            /* dont run in background (prevents
>>> forking) */
>>>
>>> "verbosity" : 15,               /* between 0 and 15 */
>>> "log" : "/var/log/vzlogger.log",/* path to logfile, optional */
>>>
>>> "local" : {
>>>         "enabled" : false,      /* should we start the local HTTPd for
>>> serving live readings? */
>>>         "port" : 80,            /* the TCP port for the local HTTPd */
>>>         "index" : true,         /* should we provide a index listing of
>>> available channels? */
>>>         "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" : [{
>>>         "enabled" : true,       /* disabled meters will be ignored */
>>>         "protocol" : "sml",     /* use 'vzlogger -h' for list of
>>> available protocols */
>>>         "device" : "/dev/usb-ir-lesekopf0",
>>>         "interval": 600,
>>>         "channels": [{
>>>             "uuid" : "11c04d20-a31e-11e4-8745-d1d65d1da157",
>>>             "middleware" : "
>>> http://127.0.0.1/volkszaehler.org/htdocs/middleware.php",
>>>             "identifier" : "1-0:1.8.0",
>>>             }]
>>>
>>>         },{
>>>         "enabled" : true,       /* disabled meters will be ignored */
>>>         "protocol" : "sml",     /* use 'vzlogger -h' for list of
>>> available protocols */
>>>         "device" : "/dev/usb-ir-lesekopf1",
>>>         "interval": 600,
>>>         "channels": [{
>>>             "uuid" : "f9d00040-a47e-11e4-8bb8-edea5119d3cf",
>>>             "middleware" : "
>>> http://127.0.0.1/volkszaehler.org/htdocs/middleware.php",
>>>             "identifier" : "1-0:1.8.0",
>>>             }]
>>>         },
>>> ]}
>>>
>>> ---------------------------
>>>
>>> 2015-01-25 23:33 GMT+01:00 Matthias Behr <mbehr at mcbehr.de>:
>>>
>>>> Du hast 2 Meter angeschlossen, oder? Kannst du mal die ganze Config
>>>> schicken?
>>>>
>>>> [Jan 25 21:14:17][mtr0] Reading:
>>>> id=1-0:1.8.0*255/ObisItentifier:1-0:1.8.0*255 value=795555.20
>>>> ts=1422220457.062
>>>> [Jan 25 21:14:18][mtr1] Reading:
>>>> id=1-0:1.8.0*255/ObisItentifier:1-0:1.8.0*255 value=680592.00
>>>> ts=1422220458.662
>>>>
>>>>
>>>>
>>>> Am 26.01.2015 um 06:23 schrieb Jan Goe <jan.andrea7 at googlemail.com>:
>>>>
>>>> hallo im anhang die vzlogger.log
>>>>
>>>> 2015-01-25 22:16 GMT+01:00 Matthias Behr <mbehr at mcbehr.de>:
>>>>
>>>>> Kannst du mal ein Log mitschicken?
>>>>> Die Frage ist, ob das zB durch falsches Parsen oder Bitfehler bei der
>>>>> Übertragung passiert.
>>>>>
>>>>> Gruß
>>>>> Matthias
>>>>>
>>>>> Sent from a mobile device.
>>>>>
>>>>> Am 26.01.2015 um 01:34 schrieb Nils Radde <nils.rasmus at googlemail.com
>>>>> >:
>>>>>
>>>>>
>>>>>
>>>>> Moin zusammen,
>>>>>
>>>>>
>>>>>
>>>>> ich habe mir den Auslesekopf (USB) von Udo gekauft und möchte damit
>>>>> mein Easymeter Q3D auslesen.
>>>>>
>>>>> Dieses klappt eigentlich ganz gut, nur das ich immer sehr hohe spitzen
>>>>> drin habe.
>>>>>
>>>>> Sowas wie 24 MW.
>>>>>
>>>>>
>>>>>
>>>>> Wie bekomme ich diese weg. Ich schicke euch meine vzlogger conf mal
>>>>> mit.
>>>>>
>>>>>
>>>>>
>>>>> /**
>>>>>
>>>>> * 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 */
>>>>>
>>>>> //"foreground" : true, /* dont run in background (prevents forking) */
>>>>>
>>>>> "verbosity" : 1, /* between 0 and 15 */
>>>>>
>>>>> "log" : "/var/log/vzlogger.log", /* path to logfile, optional */
>>>>>
>>>>>
>>>>>
>>>>> "local" : {
>>>>>
>>>>> "enabled" : false, /* should we start the local HTTPd for serving live
>>>>> readings? */
>>>>>
>>>>> "port" : 80, /* 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" : [{
>>>>>
>>>>>          "enabled" : true, /* disabled meters will be ignored */
>>>>>
>>>>>          "protocol" : "d0", /* see 'vzlogger -h' for list of available
>>>>> prot$ */
>>>>>
>>>>>          "device" : "/dev/usb-ir-lesekopf",
>>>>>
>>>>>         "channels": [{
>>>>>
>>>>>          "uuid" : "9176b410-a273-11e4-9298-d98f4ffd1494",
>>>>>
>>>>>          "middleware" : "http://localhost/middleware.php",
>>>>>
>>>>>          "identifier" : "1-0:1.7.255",
>>>>>
>>>>>          }, {
>>>>>
>>>>>          "uuid" : "57829b20-a271-11e4-88bc-c33ce80d3bd2",
>>>>>
>>>>>          "middleware" : "http://localhost/middleware.php",
>>>>>
>>>>>          "identifier" : "1-0:1.8.0"
>>>>>
>>>>>         }]
>>>>>
>>>>>          }]
>>>>>
>>>>> }
>>>>>
>>>>>
>>>>>
>>>>> Danke
>>>>>
>>>>>
>>>> <vzlogger.log>
>>>>
>>>>
>>>>
>>>
>>> Gruß
>>>
>>> Matthias Behr
>>>
>>>
>>
>> Gruß
>>
>> Matthias Behr
>>
>>
>
> Gruß
>
> Matthias Behr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20150126/09b1b816/attachment-0001.html>


More information about the volkszaehler-users mailing list