[vz-users] vzlogger

Heiko W. luckyheiko at hotmail.com
Sat Feb 9 09:53:05 CET 2013


pi at raspberrypi ~ $ vzlogger-c  -c
vzlogger-c: option requires an argument -- 'c'

bei

vzlogger-c -f -v -o /home/pi/vzlogger.log

pi at raspberrypi ~ $ vzlogger-c -f -v -o /home/pi/vzlogger.log
[Feb 09 09:49:08][mtr0] New meter initialized (protocol=sml)
[Feb 09 09:49:08][ch0]  New channel initialized (uuid=...b92d66 middleware=http://localhost/middleware.php id=1-0:16.7.0)
[Feb 09 09:49:08][ch1]  New channel initialized (uuid=...7a9fd6 middleware=http://localhost/middleware.php id=1-0:2.8.0)
[Feb 09 09:49:08][ch2]  New channel initialized (uuid=...1fbdf1 middleware=http://localhost/middleware.php id=1-0:1.8.2)
[Feb 09 09:49:08][ch3]  New channel initialized (uuid=...8bc4f7 middleware=http://localhost/middleware.php id=1-0:1.8.1)
[Feb 09 09:49:08][mtr1] New meter initialized (protocol=sml)
[Feb 09 09:49:08][ch4]  New channel initialized (uuid=...3e342c middleware=http://localhost/middleware.php id=1-0:2.8.0)
[Feb 09 09:49:08][ch5]  New channel initialized (uuid=...0a13ef middleware=http://localhost/middleware.php id=1-0:16.7.0)
[Feb 09 09:49:08][mtr0] Meter connection established
[Feb 09 09:49:08][mtr0] Meter thread started
[Feb 09 09:49:08][mtr1] Meter connection established
[Feb 09 09:49:08][mtr1] Meter thread started
[Feb 09 09:49:08][http] Starting local interface HTTPd on port 8080
error: unknown type in sml_value_to_double
error: unknown type in sml_value_to_double
error: unknown type in sml_value_to_double
[Feb 09 09:49:09][mtr1] Got 8 new readings from meter:
[Feb 09 09:49:09][mtr1] Reading: id=129-129:199.130.3*255 value=0.00 ts=1360399749.522
[Feb 09 09:49:09][mtr1] Reading: id=1-0:0.0.9*255 value=0.00 ts=1360399749.522
[Feb 09 09:49:09][mtr1] Reading: id=1-0:2.8.0*255 value=1316714.50 ts=1360399749.522
[Feb 09 09:49:09][mtr1] Reading: id=1-0:2.8.1*255 value=1316714.50 ts=1360399749.522
[Feb 09 09:49:09][mtr1] Reading: id=1-0:2.8.2*255 value=0.00 ts=1360399749.522
[Feb 09 09:49:09][mtr1] Reading: id=1-0:16.7.0*255 value=-220.20 ts=1360399749.522
[Feb 09 09:49:09][mtr1] Reading: id=129-129:199.130.5*255 value=0.00 ts=9943649.000
[Feb 09 09:49:09][mtr1] Reading: id=0-0:0.0.0*0 value=0.00 ts=0.000
[Feb 09 09:49:09][mtr1] Updating interval to 1
[Feb 09 09:49:09][ch4]  Adding reading to queue (value=1316714.50 ts=1360399749.522)
[Feb 09 09:49:09][ch4]  Buffer dump (size=1 keep=600): {1316714.50}
[Feb 09 09:49:09][ch5]  Adding reading to queue (value=-220.20 ts=1360399749.522)
[Feb 09 09:49:09][ch5]  Buffer dump (size=1 keep=600): {-220.20}
error: unknown type in sml_value_to_double
error: unknown type in sml_value_to_double
error: unknown type in sml_value_to_double
[Feb 09 09:49:10][mtr0] Got 11 new readings from meter:
[Feb 09 09:49:10][mtr0] Reading: id=129-129:199.130.3*255 value=0.00 ts=1360399750.431
[Feb 09 09:49:10][mtr0] Reading: id=1-0:0.0.9*255 value=0.00 ts=1360399750.431
[Feb 09 09:49:10][mtr0] Reading: id=1-0:1.8.0*255 value=1966887.50 ts=1360399750.431
[Feb 09 09:49:10][mtr0] Reading: id=1-0:2.8.0*255 value=891906.50 ts=1360399750.431
[Feb 09 09:49:10][mtr0] Reading: id=1-0:1.8.1*255 value=985040.80 ts=1360399750.431
[Feb 09 09:49:10][mtr0] Reading: id=1-0:2.8.1*255 value=891906.50 ts=1360399750.431
[Feb 09 09:49:10][mtr0] Reading: id=1-0:1.8.2*255 value=981846.70 ts=1360399750.431
[Feb 09 09:49:10][mtr0] Reading: id=1-0:2.8.2*255 value=0.00 ts=1360399750.431
[Feb 09 09:49:10][mtr0] Reading: id=1-0:16.7.0*255 value=151.90 ts=1360399750.431
[Feb 09 09:49:10][mtr0] Reading: id=129-129:199.130.5*255 value=0.00 ts=9944611.000
[Feb 09 09:49:10][mtr0] Reading: id=0-0:0.0.0*0 value=0.00 ts=0.000
[Feb 09 09:49:10][mtr0] Updating interval to 2
[Feb 09 09:49:10][ch0]  Adding reading to queue (value=151.90 ts=1360399750.431)
[Feb 09 09:49:10][ch0]  Buffer dump (size=1 keep=300): {151.90}
[Feb 09 09:49:10][ch1]  Adding reading to queue (value=891906.50 ts=1360399750.431)
[Feb 09 09:49:10][ch1]  Buffer dump (size=1 keep=300): {891906.50}
[Feb 09 09:49:10][ch2]  Adding reading to queue (value=981846.70 ts=1360399750.431)
[Feb 09 09:49:10][ch2]  Buffer dump (size=1 keep=300): {981846.70}
[Feb 09 09:49:10][ch3]  Adding reading to queue (value=985040.80 ts=1360399750.431)


vzlogger-c -f -v

pi at raspberrypi ~ $ vzlogger-c -f -v
vzlogger-c: option requires an argument -- 'v'
Usage: vzlogger-c [options]


vzlogger-c

pi at raspberrypi ~ $ vzlogger-c
[Feb 09 09:52:10][mtr0] New meter initialized (protocol=sml)
[Feb 09 09:52:10][ch0]  New channel initialized (uuid=...b92d66 middleware=http://localhost/middleware.php id=1-0:16.7.0)
[Feb 09 09:52:10][ch1]  New channel initialized (uuid=...7a9fd6 middleware=http://localhost/middleware.php id=1-0:2.8.0)
[Feb 09 09:52:10][ch2]  New channel initialized (uuid=...1fbdf1 middleware=http://localhost/middleware.php id=1-0:1.8.2)
[Feb 09 09:52:10][ch3]  New channel initialized (uuid=...8bc4f7 middleware=http://localhost/middleware.php id=1-0:1.8.1)
[Feb 09 09:52:10][mtr1] New meter initialized (protocol=sml)
[Feb 09 09:52:10][ch4]  New channel initialized (uuid=...3e342c middleware=http://localhost/middleware.php id=1-0:2.8.0)
[Feb 09 09:52:10][ch5]  New channel initialized (uuid=...0a13ef middleware=http://localhost/middleware.php id=1-0:16.7.0)
[Feb 09 09:52:10]       Daemonize process...




Mit freundlichen Grüßen
Heiko W.


> Date: Sat, 9 Feb 2013 09:17:06 +0100
> From: mailing at jahp.de
> To: volkszaehler-users at lists.volkszaehler.org
> Subject: Re: [vz-users] vzlogger
> 
> Am Samstag, 9. Februar 2013 um 08:22 schrieb Heiko W.:
> > und zwar ist die auf dem Pi in
> > /usr/local/etc
> > und zwar die 
> > vzlogger.conf
> 
> Das was auf dem Image dabei sind sind nur Beipielkonfigurationen die
> auf jeden individuellen Anwendungsfall zugeschnitten werden müssen.
> Im Wiki steht wie die Datei auszusehen hat.
> 
> > hab nämlich das 'doofe' Problem das mein vzlogger läuft 
> > (wenn ich vzlogger -f eingebe) 
> > aber ich keine Daten in die Datenbank geschrieben bekomme.
> 
> Gleich mal als Tip, verwende lieber vzlogger-c, der andere
> läuft nicht stabil.
> 
> Dann mach mal
> # vzlogger-c -f -v und schau was er so "labert".
> 
> Wenn du damit nix anfangen kannst
> # vzlogger-c -f -v -o /home/pi/vzlogger.log
> 
> und die Datei bei deiner Frage hier anhängen.
> 
> 
> mfg Daniel
> 
> 
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://volkszaehler.org/pipermail/volkszaehler-users/attachments/20130209/102f83a4/attachment.html>


More information about the volkszaehler-users mailing list