[vz-dev] iskra mt671 vzlogger.conf

cero at freenet.de cero at freenet.de
Thu Feb 5 16:35:13 CET 2015


Am 05.02.2015 um 16:19 schrieb Udo1:
> Am 05.02.2015 um 15:57 schrieb cero at freenet.de:
>> nachfolgend alles was nach dem starten des vz logger erscheint:
> zeig mal bitte deine komplette /etc/vzlogger.conf und die 
> /var/log/vzlogger.log.
>
> Gruß
> Udo
>

Habe jetzt ein wenig herumprobiert. es lag wohl an der einstellung 
"verbosity". Sobald ich diese auf 15 einstelle
bekomme ich ergebnisse ->siehe logdatei.
Für was genau ist die funktion verbosity? und ws muss ich dort 
idealerweise einstellen?

viele grüße

--------------------
vzlogger.conf:
-------------------------
{
"retry" : 30,            /* how long to sleep between failed requests, 
in seconds */
"daemon": false,            /* 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" : 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" : [{
     "enabled" : true,
     "protocol" : "d0",
     "device" : "/dev/usb-ir-lesekopf0",
     "parity" : "7E1",
     "baudrate" : 9600,
     "uuid" : "3cf936c0-ac9f-11e4-9aa8-39e558223ace",
     "middleware" : "http://127.0.0.1/middleware.php",
     "identifier" : "1-0:1.8.1",
     },{
     "enabled" : true,
         "protocol" : "d0",
         "device" : "/dev/usb-ir-lesekopf1",
     "parity" : "7E1",
         "baudrate" : 9600,
         "uuid" : "b2008d00-ac5e-11e4-a2d9-156d692a5e36",
         "middleware" : "http://127.0.0.1/middleware.php",
         "identifier" : "1-0:1.8.1",
     }
]}



---------------------------
vzlogger.log:
---------------------------
[Feb 05 16:30:49]       Opened logfile /var/log/vzlogger.log
[Feb 05 16:30:49][]     ===> Start meters.
[Feb 05 16:30:49][mtr0] Meter connection established
[Feb 05 16:30:49][mtr0] Meter thread started
[Feb 05 16:30:50][mtr0] meter is opened. Start channels.
[Feb 05 16:30:49][mtr0] Number of readers: 32
[Feb 05 16:30:50][mtr0] Config.daemon: 0
[Feb 05 16:30:50][mtr1] Meter connection established
[Feb 05 16:30:50][mtr1] Meter thread started
[Feb 05 16:30:50][mtr1] meter is opened. Start channels.
[Feb 05 16:30:50][]     Startup done.
[Feb 05 16:30:50][mtr0] Config.local: 0
[Feb 05 16:30:50][mtr1] Number of readers: 32
[Feb 05 16:30:50][mtr1] Config.daemon: 0
[Feb 05 16:30:50][mtr1] Config.local: 0
[Feb 05 16:30:50][d0]   Parsed reading (OBIS code=1-0:0.0.0*255, 
value=331300-5009191, unit=)
[Feb 05 16:30:50][d0]   Parsed reading (OBIS code=1-0:1.8.1*255, 
value=084294.4542, unit=)
[Feb 05 16:30:50][d0]   Parsed reading (OBIS code=1-0:96.5.5*255, 
value=00, unit=)
[Feb 05 16:30:50][d0]   Parsed reading (OBIS code=0-0:96.1.255*255, 
value=40882148, unit=)
[Feb 05 16:30:50][d0]   Read package with 4 tuples (vendor=ISk, 
baudrate=5, identification=MT671-0001)
[Feb 05 16:30:50][mtr1] Got 4 new readings from meter:
[Feb 05 16:30:50][mtr1] Reading: 
id=1-0:0.0.0*255/ObisItentifier:1-0:0.0.0*255 value=331300.00 
ts=1423150250.871
[Feb 05 16:30:50][mtr1] Reading: 
id=1-0:1.8.1*255/ObisItentifier:1-0:1.8.1*255 value=84294.45 
ts=1423150250.900
[Feb 05 16:30:50][mtr1] Reading: 
id=1-0:96.5.5*255/ObisItentifier:1-0:96.5.5*255 value=0.00 ts=1423150250.921
[Feb 05 16:30:50][mtr1] Reading: 
id=0-0:96.1.255*255/ObisItentifier:0-0:96.1.255*255 value=40882148.00 
ts=1423150250.950
[Feb 05 16:30:51][d0]   Parsed reading (OBIS code=1-0:0.0.0*255, 
value=331300-5009184, unit=)
[Feb 05 16:30:51][d0]   Parsed reading (OBIS code=1-0:1.8.1*255, 
value=043472.8926, unit=)
[Feb 05 16:30:51][d0]   Parsed reading (OBIS code=1-0:96.5.5*255, 
value=80, unit=)
[Feb 05 16:30:51][d0]   Parsed reading (OBIS code=0-0:96.1.255*255, 
value=40882141, unit=)
[Feb 05 16:30:51][d0]   Read package with 4 tuples (vendor=ISk, 
baudrate=5, identification=MT671-0001)
[Feb 05 16:30:51][mtr0] Got 4 new readings from meter:
[Feb 05 16:30:51][mtr0] Reading: 
id=1-0:0.0.0*255/ObisItentifier:1-0:0.0.0*255 value=331300.00 
ts=1423150251.041
[Feb 05 16:30:51][mtr0] Reading: 
id=1-0:1.8.1*255/ObisItentifier:1-0:1.8.1*255 value=43472.89 
ts=1423150251.070
[Feb 05 16:30:51][mtr0] Reading: 
id=1-0:96.5.5*255/ObisItentifier:1-0:96.5.5*255 value=80.00 
ts=1423150251.091
[Feb 05 16:30:51][mtr0] Reading: 
id=0-0:96.1.255*255/ObisItentifier:0-0:96.1.255*255 value=40882140.00 
ts=1423150251.120
[Feb 05 16:30:52][d0]   Parsed reading (OBIS code=1-0:0.0.0*255, 
value=331300-5009191, unit=)
[Feb 05 16:30:52][d0]   Parsed reading (OBIS code=1-0:1.8.1*255, 
value=084294.4542, unit=)
[Feb 05 16:30:52][d0]   Parsed reading (OBIS code=1-0:96.5.5*255, 
value=00, unit=)
[Feb 05 16:30:52][d0]   Parsed reading (OBIS code=0-0:96.1.255*255, 
value=40882148, unit=)
[Feb 05 16:30:52][d0]   Read package with 4 tuples (vendor=ISk, 
baudrate=5, identification=MT671-0001)
[Feb 05 16:30:52][mtr1] Got 4 new readings from meter:
[Feb 05 16:30:52][mtr1] Reading: 
id=1-0:0.0.0*255/ObisItentifier:1-0:0.0.0*255 value=331300.00 
ts=1423150252.881




More information about the volkszaehler-dev mailing list