<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hallo,<div class=""><br class=""></div><div class="">der ACE3000 wird mittlerweile normal vom vzlogger D0 mit Pullseq „2f3f210d0a“ unterstützt.</div><div class="">Hast du das schon mal versucht?</div><div class=""> <br class=""><div><blockquote type="cite" class=""><div class="">Am 21.07.2015 um 21:40 schrieb Oliver Koch <<a href="mailto:reg_okoch@my.mail.de" class="">reg_okoch@my.mail.de</a>>:</div><br class="Apple-interchange-newline"><div class="">
  

    <meta http-equiv="content-type" content="text/html; charset=utf-8" class="">
  
  <div bgcolor="#FFFFFF" text="#000000" class="">
    Hallo zusammen,<br class="">
    <br class="">
    ich benutze seit ca. 3/4 Jahr den VZ auf einen RaPi und lese meine
    beiden ACE3000 über ein Bash Script über Cron jede Minute aus. Im
    wesentlichen ist es das Script wie es im Wiki beschrieben ist. Ab
    und zu gab es wie beschrieben ein Lesefehler in einem
    Auslesevorgang, dies hatte aber nicht weiter gestört.<br class="">
    <br class="">
<a class="moz-txt-link-freetext" href="http://wiki.volkszaehler.org/hardware/channels/meters/power/edl-ehz/itron_ace3000_type_260">http://wiki.volkszaehler.org/hardware/channels/meters/power/edl-ehz/itron_ace3000_type_260</a><br class="">
    <br class="">
    Jetzt hatte ich ein Stromausfall und ich bekomme fast immer
    Lesefehler in einem Durchgang, so daß keine Werte mehr in die DB
    landen. Ab und zu bekomme ich alle drei Zählerstände, dann aber
    falsch interpretiert. Hier ein Bsp Log.<br class="">
    <br class="">
    21.07.2015 21:02:09 : ERROR Z1=5580.1*k Z2= Z3=9335.3*k<br class="">
    21.07.2015 21:02:18 : from:0055.1*k, to:015758.3, pv:019333*k,
    mypv:-15758.3, myall:-15758.3<br class="">
    21.07.2015 21:03:24 : ERROR Z1=0050.1*k Z2=015758.3 Z3=<br class="">
    21.07.2015 21:04:19 : ERROR Z1=005580.1 Z2= Z3=019335.3<br class="">
    21.07.2015 21:05:18 : ERROR Z1=005580.1 Z2= Z3=019335.3<br class="">
    21.07.2015 21:06:24 : ERROR Z1=005580.1 Z2= Z3=019335.3<br class="">
    21.07.2015 21:07:18 : ERROR Z1=005580.1 Z2= Z3=019335.3<br class="">
    21.07.2015 21:08:26 : ERROR Z1=005580.1 Z2= Z3=<br class="">
    21.07.2015 21:09:18 : ERROR Z1= Z2= Z3=019335.3<br class="">
    21.07.2015 21:10:25 : ERROR Z1=005580.1 Z2= Z3=0335.3*k<br class="">
    21.07.2015 21:11:24 : ERROR Z1=005580.1 Z2= Z3=00)1.8.0<br class="">
    21.07.2015 21:11:48 : ERROR Z1= Z2=015758.3 Z3=019335.3<br class="">
    21.07.2015 21:12:11 : ERROR Z1=005580.1 Z2= Z3=019335.3<br class="">
    21.07.2015 21:12:36 : ERROR Z1=005580.1 Z2= Z3=019335.3<br class="">
    21.07.2015 21:24:18 : ERROR Z1=0080.2*k Z2= Z3=9335.3*k<br class="">
    21.07.2015 21:25:19 : ERROR Z1=005580.2 Z2= Z3=019335.3<br class="">
    21.07.2015 21:26:18 : ERROR Z1=005580.2 Z2= Z3=9335.3*k<br class="">
    21.07.2015 21:27:18 : ERROR Z1=005580.2 Z2= Z3=019335.3<br class="">
    21.07.2015 21:28:18 : ERROR Z1=5580.2*k Z2= Z3=019335.3<br class="">
    21.07.2015 21:29:18 : ERROR Z1=005580.2 Z2= Z3=02)1.8.0<br class="">
    21.07.2015 21:30:19 : from:005580.2, to:015758.3, pv:019335.3,
    mypv:3577.0, myall:9157.2   --> einmal richtig<br class="">
    21.07.2015 21:31:23 : ERROR Z1= Z2= Z3=<br class="">
    21.07.2015 21:32:18 : ERROR Z1=005580.2 Z2= Z3=019335.3<br class="">
    <br class="">
    (Nicht über den Zeitstempel wundern, ich habe zwischendurch das
    Script händisch gestartet und den Cron Job deaktiviert. )<br class="">
    <br class="">
    Lese ich dagegen über Konsole händisch mit diesen Script aus kommt
    wird alles immer fehlerfrei übertragen. <br class="">
    <br class="">
    #!/bin/bash<br class="">
    stty -F /dev/ttyUSB1
1:4:da7:a30:3:1c:7f:15:4:10:0:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0<br class="">
    echo -e "\x2f\x3f\x21\x0d\x0a" > /dev/ttyUSB1<br class="">
    cat /dev/ttyUSB1<br class="">
    <br class="">
    stty -F /dev/ttyUSB0
1:4:da7:a30:3:1c:7f:15:4:10:0:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0<br class="">
    echo -e "\x2f\x3f\x21\x0d\x0a" > /dev/ttyUSB0<br class="">
    cat /dev/ttyUSB0<br class="">
    <br class="">
    AUSGABE:<br class="">
    <font color="#3366ff" class="">!<br class="">
      /ACE0\3k2V01.18<br class="">
      F.F(00)<br class="">
      C.1(11261000xxxxxxxx)<br class="">
      C.5.0(00)<br class="">
      1.8.0(005580.2*kWh)<br class="">
      2.8.0(015758.3*kWh)<br class="">
      !<br class="">
      !<br class="">
      /ACE0k260V01.18<br class="">
      F.F(00)<br class="">
      C.1(11261100xxxxxxxx)<br class="">
      C.5.0(02)<br class="">
      1.8.0(019335.3*kWh)<br class="">
      !</font><br class="">
    <br class="">
    Hat jemand von Euch eine Idee, warum das Auslesen nach dem
    Stromausfall nicht mehr funktioniert?<br class="">
    Alternativ eine andere Idee, wie ich den Zählerstand per Bash
    herauslesen kann.<br class="">
    <br class="">
    Ich bin gespannt auf Eure Ideen und schon mal vielen Dank im Voraus.<br class="">
    <br class="">
    Gruß<br class="">
    OIiver<br class="">
    <br class="">
    <br class="">
  </div>

</div></blockquote></div><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Gruß</div><div class=""><br class=""></div><div class="">Matthias</div></div></span>
</div>
<br class=""></div></body></html>