<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hallo <br>
      <br>
      <b>aha, da liegt der Hund begraben:</b><br>
      <br>
      <br>
      vzlogger 0.3.3 - volkszaehler.org logging utility<br>
      by Steffen Vogel <a class="moz-txt-link-rfc2396E"
        href="mailto:stv0g@0l.de"><stv0g@0l.de></a><br>
      send bugreports to <a class="moz-txt-link-freetext"
        href="http://bugs.volkszaehler.org">http://bugs.volkszaehler.org</a><br>
      <br>
      root@volkszaehler:~# apt-get install vzlogger<br>
      Paketlisten werden gelesen... Fertig<br>
      Abhängigkeitsbaum wird aufgebaut.<br>
      Statusinformationen werden eingelesen.... Fertig<br>
      vzlogger ist schon die neueste Version.<br>
      <br>
      Dann mit ziemlich viel Zeitaufwand und <br>
      <br>
      sudo git clone <a class="moz-txt-link-freetext"
        href="https://github.com/volkszaehler/vzlogger.git">https://github.com/volkszaehler/vzlogger.git</a><br>
      cd vzlogger<br>
      sudo cmake .<br>
      sudo make<br>
      sudo make install<br>
      <br>
      dann auf neusten Stand aktualisiert<br>
      vzlogger 0.4.1 - volkszaehler.org logging utility<br>
      Gruß<br>
      christian<br>
      <br>
      Am 04.07.2015 um 19:45 schrieb Matthias Behr:<br>
    </div>
    <blockquote
      cite="mid:1564C0C4-8A62-4846-8CC9-457EFBF19CCC@mcbehr.de"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      Hallo,
      <div class=""><br class="">
      </div>
      <div class="">welche Version nutzt du denn?</div>
      <div class=""><br class="">
      </div>
      <div class="">Aus deinem Log:</div>
      <div class="">
        <ol style="margin: 0px; padding: 0px 0px 0px 48px; color:
          rgb(172, 172, 172); font-family: Consolas, Menlo, Monaco,
          'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono',
          'Bitstream Vera Sans Mono', monospace, serif; font-size: 12px;
          line-height: 21px;" class="">
          <li class="li1" style="-webkit-user-select: none;">
            <div class="de1" style="-webkit-user-select: text; padding:
              0px 5px; vertical-align: top; color: rgb(0, 0, 0);
              border-left-width: 1px; border-left-style: solid;
              border-left-color: rgb(204, 204, 204); margin: 0px 0px 0px
              -7px; position: relative; background-color: rgb(255, 255,
              255);">[Jul 03 10:39:00][mtr1] Updating interval to 4</div>
          </li>
        </ol>
        <div class=""><br class="">
        </div>
        <div class="">Das ist schon lange (seit min April 2013)
          abgeschaltet:</div>
        <div class="">
          <div class="">82028e3d src/threads.cpp          (peterevertz  
            2013-04-22 04:16:39 +0200  93) //                          
                       print(log_debug, "Updating interval to %i",
            mtr->name(), delta);</div>
          <div class="">82028e3d src/threads.cpp          (peterevertz  
            2013-04-22 04:16:39 +0200  94) //                          
                       mtr->interval(delta);</div>
          <div class="">82028e3d src/threads.cpp          (peterevertz  
            2013-04-22 04:16:39 +0200  95) //                          
               }</div>
        </div>
        <div class=""><br class="">
        </div>
        <div class=""><br class="">
        </div>
        <div>
          <blockquote type="cite" class="">
            <div class="">Am 04.07.2015 um 15:14 schrieb Christian
              Meckler <<a moz-do-not-send="true"
                href="mailto:christian@meckler.org" class="">christian@meckler.org</a>>:</div>
            <br class="Apple-interchange-newline">
            <div class="">
              <meta content="text/html; charset=utf-8"
                http-equiv="Content-Type" class="">
              <div bgcolor="#FFFFFF" text="#000000" class="">
                <div class="moz-cite-prefix">Hallo komisches Verhalten
                  vom VZLOGGER mit aktiviertem Log<br class="">
                  <br class="">
                  also mit Log und Verbose macht er keinen Autostart<br
                    class="">
                  auch manuell beendet er sich wieder ohne Fehlermeldung<br
                    class="">
                  <br class="">
                  nur mit Log startet er und scheint auch das zu machen
                  was er soll.<br class="">
                  <a moz-do-not-send="true"
                    class="moz-txt-link-freetext"
                    href="http://pastebin.com/FjB7y5xP">http://pastebin.com/FjB7y5xP</a><br
                    class="">
                  <br class="">
                  Aktivere ich Log und Verbose und starte mit Force<br
                    class="">
                  macht er wieder nicht was er soll.<br class="">
                  <a moz-do-not-send="true"
                    class="moz-txt-link-freetext"
                    href="http://pastebin.com/WT4Spff6">http://pastebin.com/WT4Spff6</a><br
                    class="">
                  <br class="">
                  <br class="">
                  <span id="cid:part3.03060101.09070104@meckler.org"><Mail-Anhang.png></span><br
                    class="">
                  <br class="">
                  <br class="">
                  <br class="">
                  Am 03.07.2015 um 08:37 schrieb Christian Meckler:<br
                    class="">
                </div>
                <blockquote cite="mid:55962DC1.2090306@meckler.org"
                  type="cite" class="">
                  <meta http-equiv="content-type" content="text/html;
                    charset=utf-8" class="">
                  Hallo zusammen,<br class="">
                  <br class="">
                  hab meinen VZ neu aufsetzen müssen und die VZ
                  logger.conf neu erstellt.<br class="">
                  <br class="">
                  dummerweise krieg ich die AGGMODE nicht mehr zum
                  laufen.<br class="">
                  ich will das er nur alle 300 Sekunden einen Wert in
                  die DB schreibt.<br class="">
                  Im Moment macht er mit dem einen Kanal alle 5 Sekunden
                  und mit dem anderen Kanal alle 60 Sekunden eine
                  Messung<br class="">
                  <br class="">
                  Gruß<br class="">
                  Chris<br class="">
                  <br class="">
                  <span id="cid:part4.09080403.04000408@meckler.org"><Mail-Anhang.png></span><br
                    class="">
                  <br class="">
                  <br class="">
                  <br class="">
                  /**<br class="">
                   * vzlogger configuration<br class="">
                   * <br class="">
                   * use proper encoded JSON with javascript comments<br
                    class="">
                   *<br class="">
                   * take a look at the wiki for detailed information:<br
                    class="">
                   * <a moz-do-not-send="true"
                    class="moz-txt-link-freetext"
href="http://wiki.volkszaehler.org/software/controller/vzlogger#configuration">http://wiki.volkszaehler.org/software/controller/vzlogger#configuration</a><br
                    class="">
                   */<br class="">
                  <br class="">
                  {<br class="">
                  "retry" : 30,                   /* how long to sleep
                  between failed requests, in seconds */<br class="">
                  "daemon": true,                /* run periodically */<br
                    class="">
                  //"verbosity" : 15,               /* between 0 and 15
                  */<br class="">
                  //"log" : "/var/log/vzlogger.log",/* path to logfile,
                  optional */<br class="">
                  <br class="">
                  "local" : {<br class="">
                          "enabled" : false,      /* should we start the
                  local HTTPd for serving live readings? */<br class="">
                          "port" : 80,            /* the TCP port for
                  the local HTTPd */<br class="">
                          "index" : true,         /* should we provide a
                  index listing of available channels? */<br class="">
                          "timeout" : 30,         /* timeout for long
                  polling comet requests, 0 disables comet, in seconds
                  */<br class="">
                          "buffer" : 600          /* how long to buffer
                  readings for the local interface, in seconds */<br
                    class="">
                  },<br class="">
                  <br class="">
                  "meters" : [{<br class="">
                          "enabled" : true,       /* disabled meters
                  will be ignored */<br class="">
                          "protocol" : "sml",     /* use 'vzlogger -h'
                  for list of available protocols */<br class="">
                          "device" : "/dev/lesekopf1",<br class="">
                      "aggtime" :300 , /* Das ist die Zeit die
                  mindestens "gesammelt" wird */<br class="">
                     "interval" : 300, // Wartezeit bis zum nächsten
                  Pull<br class="">
                  <br class="">
                           "channels": [{<br class="">
                           "uuid" :
                  "7dd14ae0-970b-11e3-9e3b-b14d7d0cec42",<br class="">
                           "middleware" : <a moz-do-not-send="true"
                    class="moz-txt-link-rfc2396E"
                    href="http://localhost/volkszaehler.org/htdocs/middleware.php">"http://localhost/volkszaehler.org/htdocs/middleware.php"</a>,<br
                    class="">
                           "identifier" : "1-0:1.8.0", /* Leistung */<br
                    class="">
                  "aggmode" : "MAX", /* MAX = maximum des <br class="">
                  Aggregationszeitraum (für Zähler), AVG = Durchschnitt
                  im <br class="">
                  Aggregationszeitraum (für sensoren), NONE (default)
                  keine aggregierung */<br class="">
                  <br class="">
                  <br class="">
                           }, {<br class="">
                           "uuid" :
                  "8dea6b20-970b-11e3-8a71-3df3158a03c2",<br class="">
                           "middleware" : <a moz-do-not-send="true"
                    class="moz-txt-link-rfc2396E"
                    href="http://localhost/volkszaehler.org/htdocs/middleware.php">"http://localhost/volkszaehler.org/htdocs/middleware.php"</a>,<br
                    class="">
                           "identifier" : "1-0:1.8.1", /* Wirkarbeit
                  Bezug +A */<br class="">
                  "aggmode" : "MAX", /* MAX = maximum des <br class="">
                  Aggregationszeitraum (für Zähler), AVG = Durchschnitt
                  im <br class="">
                  Aggregationszeitraum (für sensoren), NONE (default)
                  keine aggregierung */<br class="">
                  <br class="">
                  <br class="">
                           }, {<br class="">
                           "uuid" :
                  "937f3da0-970b-11e3-ab7d-03ed0926efaa",<br class="">
                           "middleware" : <a moz-do-not-send="true"
                    class="moz-txt-link-rfc2396E"
                    href="http://localhost/volkszaehler.org/htdocs/middleware.php">"http://localhost/volkszaehler.org/htdocs/middleware.php"</a>,<br
                    class="">
                           "identifier" : "1-0:1.8.2", /* Wirkarbeit
                  Lieferung -A */<br class="">
                  "aggmode" : "MAX", /* MAX = maximum des <br class="">
                  Aggregationszeitraum (für Zähler), AVG = Durchschnitt
                  im <br class="">
                  Aggregationszeitraum (für sensoren), NONE (default)
                  keine aggregierung */<br class="">
                  <br class="">
                  <br class="">
                           }]<br class="">
                  <br class="">
                  <br class="">
                  <br class="">
                          },{<br class="">
                          "enabled" : true,       /* disabled meters
                  will be ignored */<br class="">
                          "protocol" : "sml",     /* use 'vzlogger -h'
                  for list of available protocols */<br class="">
                          "device" : "/dev/lesekopf0",<br class="">
                          "aggtime" :300 , /* Das ist die Zeit die
                  mindestens "gesammelt" wird */<br class="">
                     "interval" : 300, // Wartezeit bis zum nächsten
                  Pull<br class="">
                  <br class="">
                           "channels": [{<br class="">
                           "uuid" :
                  "e8438560-970c-11e3-a298-c36381d228ba",<br class="">
                           "middleware" : <a moz-do-not-send="true"
                    class="moz-txt-link-rfc2396E"
                    href="http://localhost/volkszaehler.org/htdocs/middleware.php">"http://localhost/volkszaehler.org/htdocs/middleware.php"</a>,<br
                    class="">
                           "identifier" : "1-0:1.8.0", /* Leistung */<br
                    class="">
                  "aggmode" : "MAX", /* MAX = maximum des <br class="">
                  Aggregationszeitraum (für Zähler), AVG = Durchschnitt
                  im <br class="">
                  Aggregationszeitraum (für sensoren), NONE (default)
                  keine aggregierung */<br class="">
                  <br class="">
                  <br class="">
                           }, {<br class="">
                           "uuid" :
                  "ee957360-970c-11e3-ad31-d1a6935614c4",<br class="">
                           "middleware" : <a moz-do-not-send="true"
                    class="moz-txt-link-rfc2396E"
                    href="http://localhost/volkszaehler.org/htdocs/middleware.php">"http://localhost/volkszaehler.org/htdocs/middleware.php"</a>,<br
                    class="">
                           "identifier" : "1-0:1.8.1", /* Wirkarbeit
                  Bezug +A */<br class="">
                  "aggmode" : "MAX", /* MAX = maximum des <br class="">
                  Aggregationszeitraum (für Zähler), AVG = Durchschnitt
                  im <br class="">
                  Aggregationszeitraum (für sensoren), NONE (default)
                  keine aggregierung */<br class="">
                  <br class="">
                  <br class="">
                           }, {<br class="">
                           "uuid" :
                  "f297c6d0-970c-11e3-aee8-4bb6ae091367",<br class="">
                           "middleware" : <a moz-do-not-send="true"
                    class="moz-txt-link-rfc2396E"
                    href="http://localhost/volkszaehler.org/htdocs/middleware.php">"http://localhost/volkszaehler.org/htdocs/middleware.php"</a>,<br
                    class="">
                           "identifier" : "1-0:1.8.2", /* Wirkarbeit
                  Lieferung -A */<br class="">
                  "aggmode" : "MAX", /* MAX = maximum des <br class="">
                  Aggregationszeitraum (für Zähler), AVG = Durchschnitt
                  im <br class="">
                  Aggregationszeitraum (für sensoren), NONE (default)
                  keine aggregierung */<br class="">
                  <br class="">
                  <br class="">
                           }]<br class="">
                  <br class="">
                          }<br class="">
                  ]}<br class="">
                  Gruß </blockquote>
                <br class="">
              </div>
            </div>
          </blockquote>
        </div>
        <br class="">
        <div class=""> <span class="Apple-style-span"
            style="border-collapse: separate; border-spacing: 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>
    </blockquote>
    <br>
  </body>
</html>