[vz-dev] Zähler die SML nur im Pull Mode unterstützen - Möglichkeiten mit vzlogger

Michael Kreuzer michael.kreuzer at me.com
Tue Apr 16 19:28:26 CEST 2013


Hallo,

mal als Anhang ein SML output des Zählers FROETEC Multiflex ZG22 ohne 
Seriennummer (HEX Bytes durch FF ersetzt).
Vielleicht kann ja jemand der mehr von SML versteht sehen woran es liegt.
Vielleicht SML 1.04 ???

Anbei auch der INIT mit dem man die Daten abfragen kann.

Könnte auch nen SSH Zugang freischalten zum testen.

Am 14.04.2013 23:37, schrieb Peter Evertz:
> Am 14.04.2013 21:27, schrieb Michael Kreuzer:
>> Hallo Peter,
>>
>> Vielen Dank schonmal. Es scheint zu funktionieren.
>>
>> Der Zähler antworet schon mal. Jedoch hält sich ITF anscheinend nicht 
>> an den Standard.
>> Ich könnte dir mal eine komplette Antwort zukommen lassen.
>> Ich versuche derweil den Zähler mit SML Kommandos abzufragen.
>>
>> --------------------------------------------------------------------------------------------------- 
>>
>> [Apr 14 21:18:01][mtr0] Creating new meter with protocol sml.
>> [Apr 14 21:18:01][sml]  pullseq len:216 found
>> [Apr 14 21:18:01][mtr0] Meter configured.
>> [Apr 14 21:18:01]       New meter initialized (protocol=sml)
>> [Apr 14 21:18:01]       Have 1 meters.
>> [Apr 14 21:18:01][main] foreground=1, daemon=0, local=1
>> [Apr 14 21:18:01]       NOT Daemonize process...
>> [Apr 14 21:18:01]       Opened logfile /var/log/vzlogger.log
>> [Apr 14 21:18:01][]     ===> Start meters.
>> [Apr 14 21:18:01][mtr0] Meter connection established
>> [Apr 14 21:18:01][mtr0] Meter thread started
>> [Apr 14 21:18:01][mtr0] meter is opened. Start channels.
>> [Apr 14 21:18:01][]     Startup done.
>> [Apr 14 21:18:01][mtr0] Number of readers: 32
>> [Apr 14 21:18:01][mtr0] Config.daemon: 0
>> [Apr 14 21:18:01][mtr0] Config.local: 1
>> warning: could not read the whole file
>> [Apr 14 21:18:03][mtr0] Got 1 new readings from meter:
>> [Apr 14 21:18:03][mtr0] Reading: 
>> id=0-0:0.0.0*0/ObisItentifier:0-0:0.0.0*0 value=0.00 ts=0.000
>> [Apr 14 21:18:03][mtr0] Updating interval to 1
>> [Apr 14 21:18:03][mtr0] Got 1 new readings from meter:
>> [Apr 14 21:18:03][mtr0] Reading: 
>> id=0-0:0.0.0*0/ObisItentifier:0-0:0.0.0*0 value=0.00 ts=0.000
>> [Apr 14 21:18:03][mtr0] Got 1 new readings from meter:
>> [Apr 14 21:18:03][mtr0] Reading: 
>> id=0-0:0.0.0*0/ObisItentifier:0-0:0.0.0*0 value=0.00 ts=0.000
>> [Apr 14 21:18:03][mtr0] Got 1 new readings from meter:
>> [Apr 14 21:18:03][mtr0] Reading: 
>> id=0-0:0.0.0*0/ObisItentifier:0-0:0.0.0*0 value=0.00 ts=0.000
>> warning: could not read the whole file
> Die warning kommt aus der libsml: Die messages sind scheinbar 
> unvollständig.
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smloutpuxohnesn.sml
Type: application/octet-stream
Size: 883 bytes
Desc: not available
URL: <http://volkszaehler.org/pipermail/volkszaehler-dev/attachments/20130416/930f98a5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: initkurz
Type: application/octet-stream
Size: 156 bytes
Desc: not available
URL: <http://volkszaehler.org/pipermail/volkszaehler-dev/attachments/20130416/930f98a5/attachment-0001.obj>


More information about the volkszaehler-dev mailing list