[vz-users] Probleme beim Auslesen eines EMH-ITZ und eines ITRON ACE3k 260 mit vzlogger
Andre Artmann
atec111 at gmx.com
Sun Nov 3 16:03:27 CET 2013
Ok, hier die nun angepasste 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, i$
"daemon": true, /* run periodically */
"foreground" : true, /* run in background */
"verbosity" : 15, /* between 0 and 15 */
"log" : "/var/log/vzlogger.log",/* path to logfile, optional */
"local" : {
"enabled" : true, /* should we start the local HTTPd for serving $
"port" : 80, /* the TCP port for the local HTTPd */
"index" : true, /* should we provide a index listing of availab$
"timeout" : 30, /* timeout for long polling comet requests, 0 d$
"buffer" : 600 /* how long to buffer readings for the local in$
},
"meters" : [{
"enabled" : true, /* disabled meters will be ignored (default) */
"protocol" : "d0", /* see 'vzlogger -h' for list of available prot$
"pullseq" : "2F3F210D0A", /* HEX Darstellung der Pullsequenz */
"parity" : "7E1", /* oder "7N1" oder "7E1" oder "7o1" */
"baudrate" : 300,
"device" : "/dev/usb-ir-lesekopf0",
"channels": [{
// "protocol" : "vz",
// "uuid" : "........-4465-11e3-8ff8-89a4ee029aa8",
// "middleware" : "http:/localhost/middleware.php",
// "identifier" : "1.7.0"
// }, {
"protocol" : "vz",
"uuid" : "........-4464-11e3-9a24-dd5de2c1b350",
"middleware" : "http://localhost/middleware.php",
"identifier" : "1.8.0"
}, {
"protocol" : "vz",
"uuid" : "........-4464-11e3-9b54-7598b8d0603e",
"middleware" : "http://localhost/middleware.php",
"identifier" : "1.8.1"
}, {
"protocol" : "vz",
"uuid" : "........-4464-11e3-b6da-c3b45b18a238",
"middleware" : "http://localhost/middleware.php",
"identifier" : "1.8.2"
}, {
"protocol" : "vz",
"uuid" : "........-4464-11e3-85a6-0f31572cac63",
"middleware" : "http://localhost/middleware.php",
"identifier" : "2.8.0"
}, {
"protocol" : "vz",
"uuid" : "........-4464-11e3-a94c-c3d34cc4f4b2",
"middleware" : "http://localhost/middleware.php",
"identifier" : "2.8.1"
}, {
"protocol" : "vz",
"uuid" : "........-4464-11e3-a1d5-9bd9f6948bf5",
"middleware" : "http://localhost/middleware.php",
"identifier" : "2.8.2"
}]
}, {
"enabled" : true, /* disabled meters will be ignored */
"protocol" : "d0",
"pullseq" : "2F3F210D0A", /* HEX Darstellung der Pullsequenz */
"parity" : "7E1", /* oder "7N1" oder "7E1" oder "7o1" */
"baudrate" : 300,
"device" : "/dev/usb-ir-lesekopf1",
"channels" : [{
// "protocol" : "vz",
// "uuid" : "........-4465-11e3-bd4b-ff00a29d15a5",
// "middleware" : "http://localhost/middleware.php",
// "identifier" : "1.7.0"
// }, {
"protocol" : "vz",
"uuid" : "........-4465-11e3-bd38-27a23068a4fa",
"middleware" : "http://localhost/middleware.php",
"identifier" : "1.8.0"
}]
}
]}
__________________________________
und das log dazu mit verbosity 15:
__________________________________
[Nov 03 15:50:02][mtr0] Creating new meter with protocol d0.
[Nov 03 15:50:02][d0] pullseq len:5 found
[Nov 03 15:50:02][mtr0] Meter configured. enabled
[Nov 03 15:50:02] New meter initialized (protocol=d0)
[Nov 03 15:50:02] Configure channel.
[Nov 03 15:50:02][chn0] New channel initialized (uuid=...c1b350 protocol=vz id=1
.8.0)
[Nov 03 15:50:02] Configure channel.
[Nov 03 15:50:02][chn1] New channel initialized (uuid=...d0603e protocol=vz id=1
.8.1)
[Nov 03 15:50:02] Configure channel.
[Nov 03 15:50:02][chn2] New channel initialized (uuid=...18a238 protocol=vz id=1
.8.2)
[Nov 03 15:50:02] Configure channel.
[Nov 03 15:50:02][chn3] New channel initialized (uuid=...2cac63 protocol=vz id=2
.8.0)
[Nov 03 15:50:02] Configure channel.
[Nov 03 15:50:02][chn4] New channel initialized (uuid=...c4f4b2 protocol=vz id=2
.8.1)
[Nov 03 15:50:02] Configure channel.
[Nov 03 15:50:02][chn5] New channel initialized (uuid=...948bf5 protocol=vz id=2
.8.2)
[Nov 03 15:50:02][mtr1] Creating new meter with protocol d0.
[Nov 03 15:50:02][d0] pullseq len:5 found
[Nov 03 15:50:02][mtr1] Meter configured. enabled
[Nov 03 15:50:02] New meter initialized (protocol=d0)
[Nov 03 15:50:02] Configure channel.
[Nov 03 15:50:02][chn6] New channel initialized (uuid=...68a4fa protocol=vz id=1
.8.0)
[Nov 03 15:50:02] Have 2 meters.
[Nov 03 15:50:02][main] foreground=1, daemon=1, local=1
[Nov 03 15:50:02] NOT Daemonize process...
[Nov 03 15:50:02] Opened logfile /var/log/vzlogger.log
[Nov 03 15:50:02][] ===> Start meters.
[Nov 03 15:50:02][mtr0] Meter connection established
[Nov 03 15:50:02][mtr0] Meter thread started
[Nov 03 15:50:02][mtr0] meter is opened. Start channels.
[Nov 03 15:50:02][chn0] Logging thread started
[Nov 03 15:50:02][chn1] Logging thread started
[Nov 03 15:50:02][chn2] Logging thread started
[Nov 03 15:50:02][chn3] Logging thread started
[Nov 03 15:50:02][chn4] Logging thread started
[Nov 03 15:50:02][chn5] Logging thread started
[Nov 03 15:50:02][mtr0] Number of readers: 32
[Nov 03 15:50:02][mtr0] Config.daemon: 1
[Nov 03 15:50:02][mtr0] Config.local: 1
[Nov 03 15:50:02][chn0] Start logging thread for vz-api. Running as daemon: yes
[Nov 03 15:50:02][chn0] Using default api:
[Nov 03 15:50:02][chn3] [Nov 03 15:50:02][chn1] Start logging thread for vz-api.
Running as daemon: yes
[Nov 03 15:50:02][chn1] Using default api:
[Nov 03 15:50:02][d0] sending pullsequenz send (len:5 is:5).
[Nov 03 15:50:02][chn5] [Nov 03 15:50:02][chn2] Start logging thread for vz-api.
Running as daemon: yes
[Nov 03 15:50:02][chn2] Using default api:
[Nov 03 15:50:02][chn4] Start logging thread for vz-api. Running as daemon: yes
[Nov 03 15:50:02][chn4] Using default api:
Start logging thread for vz-api. Running as daemon: yes
[Nov 03 15:50:02][chn3] Using default api:
Start logging thread for vz-api. Running as daemon: yes
[Nov 03 15:50:02][chn5] Using default api:
[Nov 03 15:50:02][mtr1] Meter connection established
[Nov 03 15:50:02][mtr1] Meter thread started
[Nov 03 15:50:02][mtr1] meter is opened. Start channels.
[Nov 03 15:50:02][chn6] Logging thread started
[Nov 03 15:50:02][] Startup done.
[Nov 03 15:50:02][mtr1] Number of readers: 32
[Nov 03 15:50:02][mtr1] Config.daemon: 1
[Nov 03 15:50:02][mtr1] Config.local: 1
[Nov 03 15:50:02][d0] sending pullsequenz send (len:5 is:5).
[Nov 03 15:50:02][chn6] Start logging thread for vz-api. Running as daemon: yes
[Nov 03 15:50:02][chn6] Using default api:
[Nov 03 15:50:14][d0] Something unexpected happened: read:336!
[Nov 03 15:50:14][mtr1] Got 0 new readings from meter:
[Nov 03 15:50:14][chn6] Buffer dump (size=0 keep=0): {}
[Nov 03 15:50:14][d0] sending pullsequenz send (len:5 is:5).
[Nov 03 15:50:14][chn6] ==> number of tuples: 0
[Nov 03 15:50:14][chn6] JSON request body is null. Nothing to send now.
[Nov 03 15:50:38][d0] Something unexpected happened: read:336!
[Nov 03 15:50:38][mtr1] Got 0 new readings from meter:
[Nov 03 15:50:38][chn6] Buffer dump (size=0 keep=0): {}
[Nov 03 15:50:38][d0] sending pullsequenz send (len:5 is:5).
[Nov 03 15:50:38][chn6] ==> number of tuples: 0
[Nov 03 15:50:38][chn6] JSON request body is null. Nothing to send now.
[Nov 03 15:51:02][d0] Something unexpected happened: read:336!
[Nov 03 15:51:02][mtr1] Got 0 new readings from meter:
[Nov 03 15:51:02][chn6] ==> number of tuples: 0
[Nov 03 15:51:02][chn6] JSON request body is null. Nothing to send now.
[Nov 03 15:51:02][chn6] Buffer dump (size=0 keep=0): {}
[Nov 03 15:51:02][d0] sending pullsequenz send (len:5 is:5).
[Nov 03 15:51:25][d0] Something unexpected happened: read:336!
[Nov 03 15:51:25][mtr1] Got 0 new readings from meter:
[Nov 03 15:51:25][chn6] ==> number of tuples: 0
[Nov 03 15:51:25][chn6] JSON request body is null. Nothing to send now.
[Nov 03 15:51:25][chn6] Buffer dump (size=0 keep=0): {}
[Nov 03 15:51:25][d0] sending pullsequenz send (len:5 is:5).
[Nov 03 15:51:49][d0] Something unexpected happened: read:336!
[Nov 03 15:51:49][mtr1] Got 0 new readings from meter:
[Nov 03 15:51:49][chn6] ==> number of tuples: 0
[Nov 03 15:51:49][chn6] JSON request body is null. Nothing to send now.
[Nov 03 15:51:49][chn6] Buffer dump (size=0 keep=0): {}
[Nov 03 15:51:49][d0] sending pullsequenz send (len:5 is:5).
[Nov 03 15:52:24][d0] Something unexpected happened: read:336!
[Nov 03 15:52:24][mtr1] Got 0 new readings from meter:
[Nov 03 15:52:24][chn6] ==> number of tuples: 0
[Nov 03 15:52:24][chn6] JSON request body is null. Nothing to send now.
[Nov 03 15:52:24][chn6] Buffer dump (size=0 keep=0): {}
[Nov 03 15:52:24][d0] sending pullsequenz send (len:5 is:5).
^C[Nov 03 15:52:25] terminating on signal 2.
[Nov 03 15:52:25] Closing connections to terminate
*** glibc detected *** vzlogger: free(): corrupted unsorted chunks: 0x006aa368 *
**
_______________________________
More information about the volkszaehler-users
mailing list