[vz-dev] Easymeter mir Ethersex
Tom Weber
tom.weber at gmx.de
Sun Apr 1 07:45:53 CEST 2012
Hallo,
leider habe ich auch das Problem, dass vzlogger nach einigen Stunden
abschmiert. Er schreibt ein Riesenlogfile (verbosity 5) mit den Einträgen
"Something unexpected happened: meter_read_d0:279!"
Bei verbosity 15 bekomme ich folgende Infos:
[Apr 01 07:45:33] Start parsing configuration from /etc/vzlogger.conf
[Apr 01 07:45:33][mtr0] New meter initialized (protocol=d0)
[Apr 01 07:45:33][ch0] New channel initialized (uuid=...905d90
middleware=http://sheeva/volkszaehler.org/htdocs/middleware.php id=counter)
[Apr 01 07:45:33][ch1] New channel initialized (uuid=...fedc62
middleware=http://sheeva/volkszaehler.org/htdocs/middleware.php id=power-l3)
[Apr 01 07:45:33][ch2] New channel initialized (uuid=...37ff7f
middleware=http://sheeva/volkszaehler.org/htdocs/middleware.php id=power-l2)
[Apr 01 07:45:33][ch3] New channel initialized (uuid=...ad5139
middleware=http://sheeva/volkszaehler.org/htdocs/middleware.php id=power-l1)
[Apr 01 07:45:33][ch4] New channel initialized (uuid=...b84e1b
middleware=http://sheeva/volkszaehler.org/htdocs/middleware.php id=power)
[Apr 01 07:45:33] Opened logfile /var/log/vzlogger.log
[Apr 01 07:45:33][mtr0] Meter connection established
[Apr 01 07:45:33][mtr0] Meter thread started
[Apr 01 07:45:33][ch0] Logging thread started
[Apr 01 07:45:33][ch1] Logging thread started
[Apr 01 07:45:33][ch2] Logging thread started
[Apr 01 07:45:33][ch3] Logging thread started
[Apr 01 07:45:33][ch4] Logging thread started
[Apr 01 07:45:33][mtr0] Parsed reading (OBIS code=1-0:0.0.0*255,
value=1001002159, unit=)
[Apr 01 07:45:33][mtr0] Parsed reading (OBIS code=1-0:1.8.0*255,
value=00006683.9703523, unit=kWh)
[Apr 01 07:45:33][mtr0] Parsed reading (OBIS code=1-0:21.7.255*255,
value=000054.52, unit=W)
[Apr 01 07:45:33][mtr0] Parsed reading (OBIS code=1-0:41.7.255*255,
value=000164.13, unit=W)
[Apr 01 07:45:33][mtr0] Parsed reading (OBIS code=1-0:61.7.255*255,
value=000225.64, unit=W)
[Apr 01 07:45:34][mtr0] Parsed reading (OBIS code=1-0:0.0.0*255,
value=1001002159, unit=)
[Apr 01 07:45:34][mtr0] Parsed reading (OBIS code=1-0:1.8.0*255,
value=00006683.9787831, unit=kWh)
[Apr 01 07:45:34][mtr0] Parsed reading (OBIS code=1-0:21.7.255*255,
value=000054.11, unit=W)
[Apr 01 07:45:34][mtr0] Parsed reading (OBIS code=1-0:41.7.255*255,
value=000168.34, unit=W)
[Apr 01 07:45:34][mtr0] Parsed reading (OBIS code=1-0:61.7.255*255,
value=000225.70, unit=W)
[Apr 01 07:45:34][mtr0] Parsed reading (OBIS code=1-0:1.7.255*255,
value=000448.15, unit=W)
[Apr 01 07:45:34][mtr0] Parsed reading (OBIS code=1-0:96.5.5*255, value=82,
unit=)
[Apr 01 07:45:34][mtr0] Parsed reading (OBIS code=0-0:96.1.255*255,
value=1ESY1001002159, unit=)
[Apr 01 07:45:34][mtr0] Read package with 8 tuples (vendor=ESY, baudrate=5,
identification=Q3DA1004 V3.02)
[Apr 01 07:45:34][mtr0] Got 8 new readings from meter:
[Apr 01 07:45:34][mtr0] Reading: id=1-0:0.0.0*255 value=1001002176.00
ts=1333259134.040
[Apr 01 07:45:34][mtr0] Reading: id=1-0:1.8.0*255 value=6683.98
ts=1333259134.040
[Apr 01 07:45:34][mtr0] Reading: id=1-0:21.7.255*255 value=54.11
ts=1333259134.040
[Apr 01 07:45:34][mtr0] Reading: id=1-0:41.7.255*255 value=168.34
ts=1333259134.063
[Apr 01 07:45:34][mtr0] Reading: id=1-0:61.7.255*255 value=225.70
ts=1333259134.093
[Apr 01 07:45:34][mtr0] Reading: id=1-0:1.7.255*255 value=448.15
ts=1333259134.125
[Apr 01 07:45:34][mtr0] Reading: id=1-0:96.5.5*255 value=82.00
ts=1333259134.145
[Apr 01 07:45:34][mtr0] Reading: id=0-0:96.1.255*255 value=1.00
ts=1333259134.181
[Apr 01 07:45:34][mtr0] Updating interval to 1
[Apr 01 07:45:34][ch0] Adding reading to queue (value=6683.98
ts=1333259134.040)
[Apr 01 07:45:34][ch0] JSON request body: [ [ 1333259134040.218018,
6683.979004 ] ]
[Apr 01 07:45:34][ch0] Buffer dump (size=1 keep=0): {6683.98!}
[Apr 01 07:45:34][ch1] Adding reading to queue (value=225.70
ts=1333259134.093)
[Apr 01 07:45:34][ch1] JSON request body: [ [ 1333259134092.910156,
225.699997 ] ]
[Apr 01 07:45:34][ch1] Buffer dump (size=1 keep=0): {225.70!}
[Apr 01 07:45:34][ch2] Adding reading to queue (value=168.34
ts=1333259134.063)
[Apr 01 07:45:34][ch2] JSON request body: [ [ 1333259134062.637939,
168.339996 ] ]
[Apr 01 07:45:34][ch2] Buffer dump (size=1 keep=0): {168.34!}
[Apr 01 07:45:34][ch3] Adding reading to queue (value=54.11
ts=1333259134.040)
[Apr 01 07:45:34][ch3] JSON request body: [ [ 1333259134040.371826,
54.110001 ] ]
[Apr 01 07:45:34][ch0] CURL: About to connect() to sheeva port 80 (#0)
[Apr 01 07:45:34][ch0] CURL: Trying 192.168.178.24...
[Apr 01 07:45:34][ch1] CURL: About to connect() to sheeva port 80 (#0)
[Apr 01 07:45:34][ch1] CURL: Trying 192.168.178.24...
[Apr 01 07:45:34][ch1] CURL: connected
[Apr 01 07:45:34][ch1] CURL: Connected to sheeva (192.168.178.24) port 80
(#0)
[Apr 01 07:45:34][ch2] CURL: About to connect() to sheeva port 80 (#0)
[Apr 01 07:45:34][ch2] CURL: Trying 192.168.178.24...
[Apr 01 07:45:34][ch2] CURL: connected
[Apr 01 07:45:34][ch2] CURL: Connected to sheeva (192.168.178.24) port 80
(#0)
[Apr 01 07:45:34][ch2] CURL: Sent 40 bytes..
[Apr 01 07:45:34][ch3] CURL: About to connect() to sheeva port 80 (#0)
[Apr 01 07:45:34][ch3] CURL: Trying 192.168.178.24...
[Apr 01 07:45:34][ch3] CURL: connected
[Apr 01 07:45:34][ch3] CURL: Connected to sheeva (192.168.178.24) port 80
(#0)
[Apr 01 07:45:34][ch3] CURL: Sent 39 bytes..
[Apr 01 07:45:34][ch1] CURL: Sent 40 bytes..
[Apr 01 07:45:34][ch3] Buffer dump (size=1 keep=0): {54.11!}
[Apr 01 07:45:34][ch4] Adding reading to queue (value=448.15
ts=1333259134.125)
[Apr 01 07:45:34][ch4] JSON request body: [ [ 1333259134124.641846,
448.149994 ] ]
[Apr 01 07:45:34][ch4] Buffer dump (size=1 keep=0): {448.15!}
[Apr 01 07:45:34][mtr0] Something unexpected happened: meter_read_d0:279!
[Apr 01 07:45:34][mtr0] Got 0 new readings from meter:
[Apr 01 07:45:34][ch0] Buffer dump (size=1 keep=0): {6683.98!}
[Apr 01 07:45:34][ch1] Buffer dump (size=1 keep=0): {225.70!}
[Apr 01 07:45:34][ch2] Buffer dump (size=1 keep=0): {168.34!}
[Apr 01 07:45:34][ch3] Buffer dump (size=1 keep=0): {54.11!}
[Apr 01 07:45:34][ch4] Buffer dump (size=1 keep=0): {448.15!}
[Apr 01 07:45:34][ch0] CURL: connected
[Apr 01 07:45:34][ch0] CURL: Connected to sheeva (192.168.178.24) port 80
(#0)
[Apr 01 07:45:34][ch4] CURL: About to connect() to sheeva port 80 (#0)
[Apr 01 07:45:34][ch4] CURL: Trying 192.168.178.24...
[Apr 01 07:45:34][ch4] CURL: connected
[Apr 01 07:45:34][ch4] CURL: Connected to sheeva (192.168.178.24) port 80
(#0)
[Apr 01 07:45:34][ch4] CURL: Sent 40 bytes..
[Apr 01 07:45:34][ch0] CURL: Sent 41 bytes..
[Apr 01 07:45:36][mtr0] Parsed reading (OBIS code=1-0:0.0.0*255,
value=1001002159, unit=)
[Apr 01 07:45:36][mtr0] Parsed reading (OBIS code=1-0:1.8.0*255,
value=00006683.9790323, unit=kWh)
[Apr 01 07:45:36][mtr0] Parsed reading (OBIS code=1-0:21.7.255*255,
value=000054.49, unit=W)
[Apr 01 07:45:36][mtr0] Parsed reading (OBIS code=1-0:41.7.255*255,
value=000168.12, unit=W)
[Apr 01 07:45:36][mtr0] Parsed reading (OBIS code=1-0:61.7.255*255,
value=000225.74, unit=W)
[Apr 01 07:45:36][mtr0] Parsed reading (OBIS code=1-0:1.7.255*255,
value=000448.35, unit=W)
[Apr 01 07:45:36][mtr0] Parsed reading (OBIS code=1-0:96.5.5*255, value=82,
unit=)
[Apr 01 07:45:36][mtr0] Parsed reading (OBIS code=0-0:96.1.255*255,
value=1ESY1001002159, unit=)
[Apr 01 07:45:36][mtr0] Read package with 8 tuples (vendor=ESY, baudrate=5,
identification=Q3DA1004 V3.02)
[Apr 01 07:45:36][mtr0] Got 8 new readings from meter:
[Apr 01 07:45:36][mtr0] Reading: id=1-0:0.0.0*255 value=1001002176.00
ts=1333259136.040
[Apr 01 07:45:36][mtr0] Reading: id=1-0:1.8.0*255 value=6683.98
ts=1333259136.040
[Apr 01 07:45:36][mtr0] Reading: id=1-0:21.7.255*255 value=54.49
ts=1333259136.041
[Apr 01 07:45:36][mtr0] Reading: id=1-0:41.7.255*255 value=168.12
ts=1333259136.059
[Apr 01 07:45:36][mtr0] Reading: id=1-0:61.7.255*255 value=225.74
ts=1333259136.094
[Apr 01 07:45:36][mtr0] Reading: id=1-0:1.7.255*255 value=448.35
ts=1333259136.123
[Apr 01 07:45:36][mtr0] Reading: id=1-0:96.5.5*255 value=82.00
ts=1333259136.149
[Apr 01 07:45:36][mtr0] Reading: id=0-0:96.1.255*255 value=1.00
ts=1333259136.182
[Apr 01 07:45:36][mtr0] Updating interval to 2
[Apr 01 07:45:36][ch0] Adding reading to queue (value=6683.98
ts=1333259136.040)
[Apr 01 07:45:36][ch0] Buffer dump (size=2 keep=0): {6683.98!,6683.98}
[Apr 01 07:45:36][ch1] Adding reading to queue (value=225.74
ts=1333259136.094)
[Apr 01 07:45:36][ch1] Buffer dump (size=2 keep=0): {225.70!,225.74}
[Apr 01 07:45:36][ch2] Adding reading to queue (value=168.12
ts=1333259136.059)
[Apr 01 07:45:36][ch2] Buffer dump (size=2 keep=0): {168.34!,168.12}
[Apr 01 07:45:36][ch3] Adding reading to queue (value=54.49
ts=1333259136.041)
[Apr 01 07:45:36][ch3] Buffer dump (size=2 keep=0): {54.11!,54.49}
[Apr 01 07:45:36][ch4] Adding reading to queue (value=448.35
ts=1333259136.123)
[Apr 01 07:45:36][ch4] Buffer dump (size=2 keep=0): {448.15!,448.35}
[Apr 01 07:45:36][mtr0] Something unexpected happened: meter_read_d0:279!
[Apr 01 07:45:36][mtr0] Got 0 new readings from meter:
[Apr 01 07:45:36][ch0] Buffer dump (size=2 keep=0): {6683.98!,6683.98}
[Apr 01 07:45:36][ch1] Buffer dump (size=2 keep=0): {225.70!,225.74}
[Apr 01 07:45:36][ch2] Buffer dump (size=2 keep=0): {168.34!,168.12}
[Apr 01 07:45:36][ch3] Buffer dump (size=2 keep=0): {54.11!,54.49}
[Apr 01 07:45:36][ch4] Buffer dump (size=2 keep=0): {448.15!,448.35}
-----Ursprüngliche Nachricht-----
Von: volkszaehler-dev-bounces at lists.volkszaehler.org
[mailto:volkszaehler-dev-bounces at lists.volkszaehler.org] Im Auftrag von Tom
Weber
Gesendet: Samstag, 31. März 2012 13:09
An: 'volkszaehler.org'
Betreff: Re: [vz-dev] Easymeter mir Ethersex
Hi, doch, die Anleitung ist verständlich.
Doch wie gesagt:
Die Performanceprobleme kommen nur bei dem von vzlogger gefüllten Datensatz,
der da jede Sekunde reinschneit. Ich dachte, dass du dafür benchmark haben
wolltest?
Wenn ich den Demodatensatz nehme - da muss ich wohl erst meine Daten
auslagern und vzlogger wieder rausschmeißen, oder?
More information about the volkszaehler-dev
mailing list