<p dir="ltr">Nur nach dem letzten Element in einer Klammer zu kommt kein Komma, sonst ist es erforderlich. So wie ich die Config geschickt habe ist sie ok.<br>
Denk dir mal alles in einer Zeile ohne Umbrüche, dann ist es völlig klar.</p>
<p dir="ltr">Frank</p>
<div class="gmail_quote">Am 05.03.2017 13:31 schrieb "Sascha Koszowyj" <<a href="mailto:saschakoszowyj@arcor.de">saschakoszowyj@arcor.de</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    OK, danke....<br>
    <br>
    müssen dann alle Kommata rausnehmen? ODer nur einige.... ICh würde
    es ja gerne sauber haben....<br>
    <br>
    <div class="m_5895149427859705208moz-cite-prefix">Am 05.03.2017 um 13:28 schrieb Frank
      Richter:<br>
    </div>
    <blockquote type="cite">
      <p dir="ltr">Nein, sauberes JSON hat da KEIN Komma. Du hattest nur
        Glück, dass vzlogger so tolerant ist und über deine falschen
        Kommas nicht gestolpert ist.</p>
      <p dir="ltr">Gruß<br>
        Frank</p>
      <div class="gmail_quote">Am 05.03.2017 13:25 schrieb "Sascha
        Koszowyj" <<a href="mailto:saschakoszowyj@arcor.de" target="_blank">saschakoszowyj@arcor.de</a>>:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> Und noch eine Frage...
            fehlt hinter dem MAX nicht noch ein ","<br>
            <br>
                             "aggmode": "MAX"<br>
            <br>
            Muss dass nicht so?<br>
                             "aggmode": "MAX",<br>
            <br>
            vg<br>
            Sascha<br>
            <br>
            <div class="m_5895149427859705208m_1266680405436403967moz-cite-prefix">Am
              05.03.2017 um 12:45 schrieb Frank Richter:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">Hallo Sascha,
                <div><br>
                </div>
                <div>wieso hast du 2 Kanäle für den identifier 1.8.0?</div>
                <div>Config mit Aggregation s.u.:</div>
                <div><br>
                </div>
                <div><span style="font-size:12.8px">{</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">  "retry": 0,</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">  "daemon": true,</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">  "verbosity": 0,</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">  "log":
                    "/tmp/vzlogger.log",</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">  "local": {</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">    "enabled": false,</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">    "port": 8080,</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">    "index": false,</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">    "timeout": 30,</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">    "buffer": 10</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">  },</span><br style="font-size:12.8px">
                  <br style="font-size:12.8px">
                  <span style="font-size:12.8px">"meters" : [</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">    {</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">    "enabled" : true ,</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">    "protocol" : "d0", </span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">    "baudrate" : 9600,</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">    "device" :
                    "/dev/ttyUSB0",</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">    "parity" : "7E1",</span><br style="font-size:12.8px">
                      "aggtime": 60,<br style="font-size:12.8px">
                  <span style="font-size:12.8px">    "channels": [    {</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">                        
                    "uuid" : "f83ac920-fb68-11e6-ac39-</span><span style="font-size:12.8px">05397<wbr>2a0aad0",</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">                        
                    "middleware" : </span><a class="m_5895149427859705208m_1266680405436403967gmail-m_4821294497429123512moz-txt-link-rfc2396E" href="http://localhost/middleware.php" style="font-size:12.8px" target="_blank">"http://localhost/middleware<wbr>.php"</a><span style="font-size:12.8px">,</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">                        
                    "identifier" : "1-0:1.8.0*255", /* Summe  */</span></div>
                <div>                         "aggmode": "MAX"<br style="font-size:12.8px">
                  <span style="font-size:12.8px">                        
                    }, {</span><br style="font-size:12.8px">
                  <br style="font-size:12.8px">
                  <span style="font-size:12.8px">                 "uuid"
                    : "63227c40-fb69-11e6-bbca-</span><span style="font-size:12.8px">6588f<wbr>c7ddfc4",</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">               
                     "middleware" : </span><a class="m_5895149427859705208m_1266680405436403967gmail-m_4821294497429123512moz-txt-link-rfc2396E" href="http://localhost/middleware.php" style="font-size:12.8px" target="_blank">"http://localhost/middleware<wbr>.php"</a><span style="font-size:12.8px">,</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">               
                     "identifier" : "1-0:1.8.0", /* Wirkarbeit Bezug +A
                    */</span></div>
                <div>                 "aggmode": "MAX"<br style="font-size:12.8px">
                  <span style="font-size:12.8px">                 }, {</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">                 "uuid"
                    : "5c886660-fb69-11e6-a9a1-</span><span style="font-size:12.8px">2f9e7<wbr>86ebdf9",</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">                
                    "middleware" : </span><a class="m_5895149427859705208m_1266680405436403967gmail-m_4821294497429123512moz-txt-link-rfc2396E" href="http://localhost/middleware.php" style="font-size:12.8px" target="_blank">"http://localhost/middleware<wbr>.php"</a><span style="font-size:12.8px">,</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">                
                    "identifier" : "1-0:2.8.0", /* Wirkarbeit Lieferung
                    -A */</span></div>
                <div>                 "agmode": "MAX"<br style="font-size:12.8px">
                  <span style="font-size:12.8px">             }]</span><br style="font-size:12.8px">
                  <br style="font-size:12.8px">
                  <span style="font-size:12.8px">}</span><br style="font-size:12.8px">
                  <span style="font-size:12.8px">]}</span></div>
                <div><span style="font-size:12.8px"><br>
                  </span></div>
                <div><span style="font-size:12.8px">Grüße</span></div>
                <div><span style="font-size:12.8px">Frank</span></div>
              </div>
              <div class="gmail_extra"><br>
                <div class="gmail_quote">Am 5. März 2017 um 12:32
                  schrieb Sascha Koszowyj <span dir="ltr"><<a href="mailto:saschakoszowyj@arcor.de" target="_blank">saschakoszowyj@arcor.de</a>></span>:<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    <div bgcolor="#FFFFFF" text="#000000"> Hi Fank,<br>
                      <br>
                      diese Attribute habe ich nicht?<br>
                      <br>
                      <br>
                      {<br>
                        "retry": 0,<br>
                        "daemon": true,<br>
                        "verbosity": 0,<br>
                        "log": "/tmp/vzlogger.log",<br>
                        "local": {<br>
                          "enabled": false,<br>
                          "port": 8080,<br>
                          "index": false,<br>
                          "timeout": 30,<br>
                          "buffer": 10<br>
                        },<br>
                      <br>
                      "meters" : [<br>
                          {<br>
                          "enabled" : true ,<br>
                          "protocol" : "d0", <br>
                          "baudrate" : 9600,<br>
                          "device" : "/dev/ttyUSB0",<br>
                          "parity" : "7E1",<br>
                      <br>
                          "channels": [    {<br>
                                               "uuid" :
                      "f83ac920-fb68-11e6-ac39-05397<wbr>2a0aad0",<br>
                                               "middleware" : <a class="m_5895149427859705208m_1266680405436403967m_4821294497429123512moz-txt-link-rfc2396E" href="http://localhost/middleware.php" target="_blank">"http://localhost/middleware.p<wbr>hp"</a>,<br>
                                               "identifier" :
                      "1-0:1.8.0*255", /* Summe  */<br>
                                               }, {<br>
                      <br>
                                       "uuid" :
                      "63227c40-fb69-11e6-bbca-6588f<wbr>c7ddfc4",<br>
                                       "middleware" : <a class="m_5895149427859705208m_1266680405436403967m_4821294497429123512moz-txt-link-rfc2396E" href="http://localhost/middleware.php" target="_blank">"http://localhost/middleware.p<wbr>hp"</a>,<br>
                                        "identifier" : "1-0:1.8.0", /*
                      Wirkarbeit Bezug +A */<br>
                                       }, {<br>
                                       "uuid" :
                      "5c886660-fb69-11e6-a9a1-2f9e7<wbr>86ebdf9",<br>
                                       "middleware" : <a class="m_5895149427859705208m_1266680405436403967m_4821294497429123512moz-txt-link-rfc2396E" href="http://localhost/middleware.php" target="_blank">"http://localhost/middleware.p<wbr>hp"</a>,<br>
                                       "identifier" : "1-0:2.8.0", /*
                      Wirkarbeit Lieferung -A */<br>
                                   }]<br>
                      <br>
                      }<br>
                      ]}
                      <div>
                        <div class="m_5895149427859705208m_1266680405436403967h5"><br>
                          <br>
                          <br>
                          <div class="m_5895149427859705208m_1266680405436403967m_4821294497429123512moz-cite-prefix">Am
                            05.03.2017 um 12:27 schrieb Frank Richter:<br>
                          </div>
                          <blockquote type="cite">
                            <p dir="ltr">Hallo,</p>
                            <p dir="ltr">in der vzlogger.conf aggtime
                              und aggmode setzen.</p>
                            <p dir="ltr">Gruß<br>
                              Frank</p>
                            <div class="gmail_quote">Am 05.03.2017 12:24
                              schrieb "Sascha Koszowyj" <<a href="mailto:saschakoszowyj@arcor.de" target="_blank">saschakoszowyj@arcor.de</a>>:<br type="attribution">
                              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hallo
                                Zusammen,<br>
                                <br>
                                wie / wo kann ich den einstellen, wie
                                offt er meinen Stromzähler in der Minute
                                ausliest?<br>
                                Ich bracuhe die Daten nciht alle x
                                Sekunden.... mir würde es reichen jede
                                minute.<br>
                                <br>
                                LG<br>
                                Sascha<br>
                                <br>
                              </blockquote>
                            </div>
                          </blockquote>
                          <br>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                </div>
                <br>
              </div>
            </blockquote>
            <br>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </div>

</blockquote></div>