[vz-dev] Feedback benötigt: vzlogger / aggregation / random meter / sml-pull / s0-meter

Franz Datzer franz.datzer at datzer.net
Wed Jul 3 21:00:59 CEST 2013


Servus Peter,

ich greife den Thread nochmal auf. Ich habe mit dem Raspi-binary 
versucht meinen Itron ACE3000 Typ 260 zur Mitarbeit zu überreden. Hat 
irgendwie nicht geklappt.
Der Itron benötigt jeweils einen Init-String bevor er Daten rausrückt. 
Grundsätzlich klappt die Datenausgabe.
Mein Gedankengang war (ich hoffe ich liege damit richtig) über die von 
Dir im Thread beschriebenen Parameter "pullseq" / "interval" / "parity" 
und "baudrate" alle Einstellungen in der vzlogger.conf zu haben damit 
die Daten ausgegeben werden irgendwie bekomme ich aber nix zurück. Hier 
die vzlogger.conf in Auszügen mit der ich rumteste:

"meters" : [{
         "enabled" : true,       /* disabled meters will be ignored */
         "protocol" : "sml",     /* use 'vzlogger -h' for list of 
available protocols */
         "device" : "/dev/ttyUSB0",
	"parity" : "7E1",
	"baudrate" : 300,
	"pullseq" : "2f3f210d0a",
	"interval" : 61,
         },{

Hier das Log aus diversen Versuchen:
[Jul 03 17:56:49][mtr0] Meter connection established
[Jul 03 17:56:49][mtr0] Meter thread started
[Jul 03 17:56:49][mtr0] meter is opened. Start channels.
[Jul 03 17:56:49][mtr1] Meter for protocol 'sml' is disabled. Skipping.
[Jul 03 17:56:49][]     Startup done.
[Jul 03 17:56:49][mtr0] Number of readers: 32
[Jul 03 17:56:49][mtr0] Config.daemon: 0
[Jul 03 17:56:49][mtr0] Config.local: 0
[Jul 03 17:56:49][sml]  sending pullsequenz send (len:5 is:5).
[Jul 03 18:00:37]       terminating on signal 2.
[Jul 03 18:00:37]       Closing connections to terminate
[Jul 03 18:00:37][]     Server stopped.
[Jul 03 18:03:52]       Opened logfile /var/log/vzlogger.log
[Jul 03 18:03:52][]     ===> Start meters.
[Jul 03 18:03:52][mtr0] Meter connection established
[Jul 03 18:03:52][mtr0] Meter thread started
[Jul 03 18:03:52][mtr0] meter is opened. Start channels.
[Jul 03 18:03:52][mtr1] Meter for protocol 'sml' is disabled. Skipping.
[Jul 03 18:03:52][]     Startup done.
[Jul 03 18:03:52][mtr0] Number of readers: 32
[Jul 03 18:03:52][mtr0] Config.daemon: 0
[Jul 03 18:03:52][mtr0] Config.local: 0
[Jul 03 18:03:52][sml]  sending pullsequenz send (len:5 is:5).
[Jul 03 18:09:16]       terminating on signal 2.
[Jul 03 18:09:16]       Closing connections to terminate
[Jul 03 18:09:16][]     Server stopped.
[Jul 03 18:09:27]       Opened logfile /var/log/vzlogger.log
[Jul 03 18:09:27][]     ===> Start meters.
[Jul 03 18:09:27][mtr0] Meter connection established
[Jul 03 18:09:27][mtr0] Meter thread started
[Jul 03 18:09:27][mtr0] meter is opened. Start channels.
[Jul 03 18:09:27][mtr1] Meter for protocol 'sml' is disabled. Skipping.
[Jul 03 18:09:27][]     Startup done.
[Jul 03 18:09:27][mtr0] Number of readers: 32
[Jul 03 18:09:27][mtr0] Config.daemon: 0
[Jul 03 18:09:27][mtr0] Config.local: 0
[Jul 03 18:09:27][sml]  sending pullsequenz send (len:5 is:5).
[Jul 03 18:09:32]       terminating on signal 2.
[Jul 03 18:09:32]       Closing connections to terminate
[Jul 03 18:09:32][]     Server stopped.
[Jul 03 18:14:23]       Opened logfile /var/log/vzlogger.log
[Jul 03 18:14:23][]     ===> Start meters.
[Jul 03 18:14:23][mtr0] Meter connection established
[Jul 03 18:14:23][mtr0] Meter thread started
[Jul 03 18:14:23][mtr0] meter is opened. Start channels.
[Jul 03 18:14:23][mtr1] Meter for protocol 'sml' is disabled. Skipping.
[Jul 03 18:14:23][]     Startup done.
[Jul 03 18:14:23][mtr0] Number of readers: 32
[Jul 03 18:14:23][mtr0] Config.daemon: 0
[Jul 03 18:14:23][mtr0] Config.local: 0
[Jul 03 18:14:23][sml]  sending pullsequenz send (len:8 is:8).
[Jul 03 18:18:52]       terminating on signal 2.
[Jul 03 18:18:52]       Closing connections to terminate
[Jul 03 18:18:52][]     Server stopped.
[Jul 03 18:19:11]       Opened logfile /var/log/vzlogger.log
[Jul 03 18:19:11][]     ===> Start meters.
[Jul 03 18:19:11][mtr0] Meter connection established
[Jul 03 18:19:11][mtr0] Meter thread started
[Jul 03 18:19:11][mtr0] meter is opened. Start channels.
[Jul 03 18:19:11][mtr1] Meter for protocol 'sml' is disabled. Skipping.
[Jul 03 18:19:11][]     Startup done.
[Jul 03 18:19:11][mtr0] Number of readers: 32
[Jul 03 18:19:11][mtr0] Config.daemon: 0
[Jul 03 18:19:11][mtr0] Config.local: 0
[Jul 03 18:19:11][sml]  sending pullsequenz send (len:5 is:5).
[Jul 03 18:22:15]       terminating on signal 2.
[Jul 03 18:22:15]       Closing connections to terminate
[Jul 03 18:22:15][]     Server stopped.

Grundsätzlich funktioniert das Auslesen des itron. Momentan habe ich das 
über ein separates bash-script gelöst das ich von der 
volkszahler-Website habe und an meine Anforderung angepasst habe. Nur 
mit dem vzlogger hab ich so meine Probleme

Gruß

Franz Datzer


More information about the volkszaehler-dev mailing list