<div dir="auto"><div>Gibt dein Zähler die Leistung aus (1.7.0 / 16.7.0 / o.ä.)? Berechnen kann vzlogger den Wert an dieser Stelle IMHO nicht.<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Dirk <<a href="mailto:d@dbcons.de">d@dbcons.de</a>> schrieb am Di., 9. Juli 2019, 20:56:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>danke für das 2. paar augen !</p>
    <p><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:11.9px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgba(27,31,35,0.05);text-decoration-style:initial;text-decoration-color:initial;display:inline!important;float:none">mosquitto_sub -h mein_server -t "vzlogger/#" -v</span></p>
    <p>liefert:<br>
    </p>
    <br>
    <p>vzlogger/data/chn0/raw 25876.751000<br>
      vzlogger/data/chn0/raw 25876.755000<br>
      vzlogger/data/chn0/raw 25876.756000</p>
    <p>also Zählerstände .... ich hätte gern den Momentanverbrauch  !</p>
    <p>geht das auch ?</p>
    <p><br>
    </p>
    <p>Dirk<br>
    </p>
    <p><br>
    </p>
    <div class="m_2829227058709557956moz-cite-prefix">Am 09.07.2019 um 20:07 schrieb Frank
      Richter:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="auto">Dein MQTT-Block ist auskommentiert ;-)
        <div dir="auto"><br>
        </div>
        <div dir="auto">(alles zwischen /* und */ ist ein Kommentar)</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">Dirk <<a href="mailto:d@dbcons.de" target="_blank" rel="noreferrer">d@dbcons.de</a>>
          schrieb am Di., 9. Juli 2019, 19:59:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div text="#000000" bgcolor="#FFFFFF">
            <p> cat /etc/vzlogger.conf</p>
            <p>// Quelle
              <a class="m_2829227058709557956m_-7523159907488693179moz-txt-link-freetext" href="https://wiki.volkszaehler.org/hardware/channels/meters/power/edl-ehz/iskraemeco_mt174" rel="noreferrer noreferrer" target="_blank">https://wiki.volkszaehler.org/hardware/channels/meters/power/edl-ehz/iskraemeco_mt174</a><br>
              <br>
              {<br>
                  // General settings<br>
                  "daemon": true,         // run periodically<br>
                  "verbosity": 3,         // log verbosity (0=log_alert,
              1=log_error, 3=log_warning, 5=log_info, 10=log_debug,
              15=log_finest)<br>
                  "log": "/run/vz.log",   // log file, optional<br>
                  "retry": 0,             // http retry delay in seconds<br>
              <br>
                  // Build-in HTTP server<br>
                  "local": {<br>
                      "enabled": false,   // enable local HTTPd for
              serving live readings<br>
                      "port": 8080,       // TCP port for local HTTPd<br>
                      "index": true,      // provide index listing of
              available channels if no UUID was requested<br>
                      "timeout": 0,       // timeout for long polling
              comet requests in seconds (0 disables comet)<br>
                      "buffer": 0         // HTTPd buffer configuration
              for serving readings, default -1<br>
                                          //   >0: number of seconds
              of readings to serve<br>
                                          //   <0: number of tuples
              to server per channel (e.g. -3 will serve 3 tuples)<br>
                  },<br>
              <br>
              /*<br>
                  // mqtt client support (if ENABLE_MQTT set at cmake
              generation)<br>
                  "mqtt": {<br>
                      "enabled": true,  // enable mqtt client. needs
              host and port as well<br>
                      "host": "192.168.178.51", // mqtt server addr<br>
                      "port": 1883, // 1883 for unencrypted, 8883 enc,
              8884 enc cert needed,<br>
                      "cafile": "", // optional file with server CA<br>
                      "capath": "", // optional path for server CAs. see
              mosquitto.conf. Specify only cafile or capath<br>
                      "certfile": "", // optional file for your client
              certificate (e.g. client.crt)<br>
                      "keyfile": "", // optional path for your client
              certficate private key (e.g. client.key)<br>
                      "keypass": "", // optional password for your
              private key<br>
                      "keepalive": 30, // optional keepalive in seconds.<br>
                      "topic": "vzlogger/data", // optional topic dont
              use $ at start and no / at end<br>
                      "user": "user", // optional user name for the mqtt
              server<br>
                      "pass": "pass", // optional password for the mqtt
              server<br>
                      "retain": false, // optional use retain message
              flag<br>
                      "rawAndAgg": false, // optional publish raw values
              even if agg mode is used<br>
                  },<br>
              */<br>
              <br>
                  // Meter configuration<br>
                  "meters": [<br>
                  {<br>
                    "enabled": true,<br>
                    "allowskip": false,<br>
                    "interval": -1,<br>
                    "aggtime": -1,<br>
                    "aggfixedinterval": false,<br>
                    "channels": [<br>
                      {<br>
                              "uuid":
              "07d0ec90-913d-11e9-837e-a9989b855d87",<br>
                              "identifier": "1-0:1.8.0",<br>
                              "api": "volkszaehler",<br>
                              "middleware": <a class="m_2829227058709557956m_-7523159907488693179moz-txt-link-rfc2396E" href="http://localhost/middleware.php" rel="noreferrer noreferrer" target="_blank">"http://localhost/middleware.php"</a>,<br>
                              "aggmode": "none",<br>
                              "duplicates": 0<br>
                      }<br>
                    ],<br>
                    "protocol": "d0",<br>
                    "device": "/dev/ttyUSB0",<br>
                    "pullseq": "2F3F210D0A",<br>
                    "ackseq": "063035300d0a",<br>
                    "baudrate": 300,<br>
                    "baudrate_read": 9600,<br>
                    "parity": "7e1",<br>
                    "wait_sync": "off",<br>
                    "read_timeout": 10,<br>
                    "baudrate_change_delay": 0<br>
                  }<br>
                ]<br>
              }</p>
            <p><br>
            </p>
            <p>user + pass geändert !!!</p>
            <p><br>
            </p>
            <p>Dirk<br>
            </p>
            <div class="m_2829227058709557956m_-7523159907488693179moz-cite-prefix">Am
              09.07.2019 um 17:15 schrieb Frank Richter:<br>
            </div>
            <blockquote type="cite">
              <div dir="auto">Bitte an die Liste antworten!</div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">Dirk <<a href="mailto:d@dbcons.de" rel="noreferrer noreferrer" target="_blank">d@dbcons.de</a>>
                  schrieb am Di., 9. Juli 2019, 16:50:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div text="#000000" bgcolor="#FFFFFF">
                    <p>/usr/local/bin/vzlogger -V<br>
                      0.7.0<br>
                       based on git version: heads/master-0-g79402aeb96<br>
                       last commit date: Wed, 30 Jan 2019 15:56:19 +0100<br>
                      <br>
                    </p>
                    <div class="m_2829227058709557956m_-7523159907488693179m_5415403685289288810moz-cite-prefix">Am
                      09.07.2019 um 16:47 schrieb Frank Richter:<br>
                    </div>
                    <blockquote type="cite">
                      <div dir="auto">Hi Dirk,
                        <div dir="auto"><br>
                        </div>
                        <div dir="auto">wie aktuell ist dein vzlogger? </div>
                        <div dir="auto"><br>
                        </div>
                        <div dir="auto">vzlogger -V</div>
                        <div dir="auto"><br>
                        </div>
                        <div dir="auto">Grüße</div>
                        <div dir="auto">Frank</div>
                        <div dir="auto"><br>
                        </div>
                        <div dir="auto"><br>
                        </div>
                        <div dir="auto"><br>
                        </div>
                      </div>
                      <br>
                      <div class="gmail_quote">
                        <div dir="ltr" class="gmail_attr">Dirk <<a href="mailto:d@dbcons.de" rel="noreferrer
                            noreferrer noreferrer" target="_blank">d@dbcons.de</a>>
                          schrieb am Di., 9. Juli 2019, 16:42:<br>
                        </div>
                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
                          <br>
                          <br>
                          ich verwende das raspian image is da mqtt
                          schon mit drinn ?<br>
                          <br>
                          <br>
                          ich habe im vzlogger.conf<br>
                          <br>
                          <br>
                               "mqtt": {<br>
                                   "enabled": true,  // enable mqtt
                          client. needs host and port as <br>
                          well<br>
                            + host + user +password gesetzt<br>
                          <br>
                          <br>
                          und den logger neu gestartet. im mosquitto log
                          meldet sich der logger <br>
                          nicht an und in vz.log  ( verbose 15 stet auch
                          nix)<br>
                          <br>
                          was mache ich falsch ?<br>
                          <br>
                          <br>
                        </blockquote>
                      </div>
                    </blockquote>
                  </div>
                </blockquote>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
    </blockquote>
  </div>

</blockquote></div></div></div>