<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Servus,<div class=""><br class=""></div><div class="">ich denke es ist offensichtlich:</div><div class=""><br class=""></div><div class="">> Adding reading to queue (value=-227.16 ts=0)</div><div class=""><br class=""></div><div class="">Dein Zähler scheint keine Timestamps zu schicken. Schau mal ob use_local_time (oder so ähnlich) das Problem lösen kann.</div><div class=""><br class=""></div><div class=""><div class="">Viele Grüße,</div><div class="">Andreas</div></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 29. Dec 2018, at 20:20, Jay Thomas <<a href="mailto:triguybasel@gmail.com" class="">triguybasel@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class="">Hallo zusammen,<div class=""><br class=""></div><div class="">ich bin vor 2 Wochen mit dem VZ Projekt eingestiegen und bin total begeistert :) Als Neuling und mit Linux halbwegs "kompetent" fand ich die Info und Dokumentation einfach zu folgen. Allerdings nach ein paar Wochen komme ich mit den Infos und Lösungen aus den Foren nicht weiter und wende mich mit meinem Problem an die Fachleute. (Deutsch in nicht meine Muttersprache, von daher Verzeihung im Voraus...)</div><div class=""><br class=""></div><div class=""><u class="">Mein Setup:</u></div><div class="">Zähler: DZG DVS74 (wurde Anfang diesem Jahr installiert). </div><div class="">Lesekopf: Selber zusammengebaut aus eine BPX-43-2 Phototransistor und einen Widestand (ich habe mich von dieser Anleitung orientiert: <a href="https://raspberry.tips/raspberrypi-tutorials/smartmeter-stromzaehler-mit-dem-raspberry-pi-auslesen-und-aufzeichnen" class="">https://raspberry.tips/raspberrypi-tutorials/smartmeter-stromzaehler-mit-dem-raspberry-pi-auslesen-und-aufzeichnen</a>)</div><div class="">Installation: Rasbian Jessie mit selbst installierter VZLogger und Middleware</div><div class=""><br class=""></div><div class=""><u class="">vzlogger.conf:</u></div><div class=""><div class="">{</div><div class="">"retry" : 3,</div><div class="">"daemon": true,</div><div class="">"verbosity" : 15,</div><div class="">"log" : "/var/log/vzlogger.log",</div><div class=""><br class=""></div><div class="">"local" : {</div><div class=""> "enabled" : true,</div><div class=""> "port" : 8080,</div><div class=""> "index" : true,</div><div class=""> "timeout" : 0,</div><div class=""> "buffer" : 0</div><div class="">},</div><div class=""><br class=""></div><div class="">"meters" : [{</div><div class=""> "protocol" : "sml",</div><div class=""> "enabled" : true,</div><div class=""> "device" : "/dev/ttyAMA0",</div><div class=""> "channels": [{</div><div class=""> "uuid" : "xxxxxxx-11e9-89fc-99edf00570c9",</div><div class=""> "api": "volkszaehler",</div><div class=""> "middleware" : "<a href="http://192.168.xx.49/middleware.php" class="">http://192.168.xx.49/middleware.php</a>",</div><div class=""> "identifier" : "1-0:1.8.0"</div><div class=""> },</div><div class=""> {</div><div class=""> "uuid" : "xxxxxxx-0a99-11e9-b948-dbec0d27ebbf",</div><div class=""> "api": "volkszaehler",</div><div class=""> "middleware" : "<a href="http://192.168.xx.xx/middleware.php" class="">http://192.168.xx.xx/middleware.php</a>",</div><div class=""> "identifier" : "1-0:16.7.0"</div><div class=""><br class=""></div><div class=""> }]</div><div class=""> }</div><div class="">]}</div><div class=""><br class=""></div></div><div class=""><u class="">Mein Ziel:</u></div><div class="">Stromdaten auslesen und Verbrauchshistorie speicher....egal ob es von den neuen SML Technologie ist oder aus einer D0 Impulse/KWh Methode ist.</div><div class=""><br class=""></div><div class=""><u class="">Das Problem:</u></div><div class="">Da kommt nix auf die Graphen :( Ich habe schon in VZ und Photovoltaik Foren alles über den DZG DVS gelesen und ich glaube ich leide nicht von der Firmwareproblematik wie anderen, weil ich nämlich schon gelesene Werte rauslesen kann. Von daher kann es auch bestimmt nicht an meinen gebastelten Lesekopf liegen, da es letzten Endes Daten zeigt! Unten habe ich die Auschnitt von VZLogger kopiert und komischerweise gibt es keine TS (ich nehme an heißt das TimeStamp). Vielleicht deswegen wird es nicht in Middleware richtig übermittelt?</div><div class=""><br class="">Ich habe inzwischen auch die PIN Code für den Zähler von Stromanbieter bekommen: Zähler entsperrt, PIN Code deaktiviert, und erweiterter Datensatz eingeschaltet aber das hat nicht geholfen. TS=0 wird weiter ausgelesen. </div><div class=""><br class=""></div><div class="">vzlogger.log:</div><div class=""><div class="">[Dec 29 11:51:06][main] vzlogger v0.6.1 based on heads/master-0-ga68f7ff8c4 from Mon, 5 Nov 2018 07:55:19 +0100 started.</div><div class="">[Dec 29 11:51:06][mtr0] Creating new meter with protocol sml.</div><div class="">[Dec 29 11:51:06][mtr0] Meter configured, enabled.</div><div class="">[Dec 29 11:51:06] New meter initialized (protocol=sml)</div><div class="">[Dec 29 11:51:06] Configure channel.</div><div class="">[Dec 29 11:51:06][chn0] New channel initialized (uuid=...0570c9 api=volkszaehler id=1-0:1.8.0)</div><div class="">[Dec 29 11:51:06] Configure channel.</div><div class="">[Dec 29 11:51:06][chn1] New channel initialized (uuid=...27ebbf api=volkszaehler id=1-0:16.7.0)</div><div class="">[Dec 29 11:51:06] Have 1 meters.</div><div class="">[Dec 29 11:51:06][main] log level is 15</div><div class="">[Dec 29 11:51:06][main] daemon=1, local=1</div><div class="">[Dec 29 11:51:06] Daemonize process...</div><div class="">[Dec 29 11:51:06] Opened logfile /var/log/vzlogger.log</div><div class="">[Dec 29 11:51:06][push] No pushDataServer defined.</div><div class="">[Dec 29 11:51:06][] ===> Start meters</div><div class="">[Dec 29 11:51:06][mtr0] Meter connection established</div><div class="">[Dec 29 11:51:06][mtr0] Meter thread started</div><div class="">[Dec 29 11:51:06][mtr0] Meter is opened. Starting channels.</div><div class="">[Dec 29 11:51:06][mtr0] Number of readers: 32</div><div class="">[Dec 29 11:51:06][chn0] Logging thread started</div><div class="">[Dec 29 11:51:06][chn0] Start logging thread for volkszaehler-api. Running as daemon: yes</div><div class="">[Dec 29 11:51:06][mtr0] Config.daemon: 1</div><div class="">[Dec 29 11:51:06][chn1] Logging thread started</div><div class="">[Dec 29 11:51:06][mtr0] Config.local: 1</div><div class="">[Dec 29 11:51:06][chn1] Start logging thread for volkszaehler-api. Running as daemon: yes</div><div class="">[Dec 29 11:51:06][http] Starting local interface HTTPd on port 8080</div><div class="">[Dec 29 11:51:06][chn0] Using default volkszaehler api.</div><div class="">[Dec 29 11:51:06][chn1] Using default volkszaehler api.</div><div class="">[Dec 29 11:51:06][] Startup done.</div><div class="">[Dec 29 11:51:07][mtr0] Got 2 new readings from meter:</div><div class="">[Dec 29 11:51:07][mtr0] Reading: id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=1560054.20 ts=0</div><div class="">[Dec 29 11:51:07][mtr0] Reading: id=1-0:16.7.0*255/ObisIdentifier:1-0:16.7.0*255 value=-225.93 ts=0</div><div class="">[Dec 29 11:51:07][chn0] Adding reading to queue (value=1560054.20 ts=0)</div><div class="">[Dec 29 11:51:07][chn1] Adding reading to queue (value=-225.93 ts=0)</div><div class="">[Dec 29 11:51:07][chn0] ==> number of tuples: 1</div><div class="">[Dec 29 11:51:07][chn1] ==> number of tuples: 1</div><div class="">[Dec 29 11:51:07][chn0] compare: 0 0</div><div class="">[Dec 29 11:51:07][chn1] compare: 0 0</div><div class="">[Dec 29 11:51:07][chn0] JSON request body is null. Nothing to send now.</div><div class="">[Dec 29 11:51:07][chn1] JSON request body is null. Nothing to send now.</div><div class="">[Dec 29 11:51:08][mtr0] Got 2 new readings from meter:</div><div class="">[Dec 29 11:51:08][mtr0] Reading: id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=1560054.30 ts=0</div><div class="">[Dec 29 11:51:08][mtr0] Reading: id=1-0:16.7.0*255/ObisIdentifier:1-0:16.7.0*255 value=-226.54 ts=0</div><div class="">[Dec 29 11:51:08][chn0] Adding reading to queue (value=1560054.30 ts=0)</div><div class="">[Dec 29 11:51:08][chn1] Adding reading to queue (value=-226.54 ts=0)</div><div class="">[Dec 29 11:51:08][chn0] ==> number of tuples: 1</div><div class="">[Dec 29 11:51:08][chn1] ==> number of tuples: 1</div><div class="">[Dec 29 11:51:08][chn0] compare: 0 0</div><div class="">[Dec 29 11:51:08][chn1] compare: 0 0</div><div class="">[Dec 29 11:51:08][chn0] JSON request body is null. Nothing to send now.</div><div class="">[Dec 29 11:51:08][chn1] JSON request body is null. Nothing to send now.</div><div class="">[Dec 29 11:51:09][mtr0] Got 2 new readings from meter:</div><div class="">[Dec 29 11:51:09][mtr0] Reading: id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=1560054.40 ts=0</div><div class="">[Dec 29 11:51:09][mtr0] Reading: id=1-0:16.7.0*255/ObisIdentifier:1-0:16.7.0*255 value=-227.16 ts=0</div><div class="">[Dec 29 11:51:09][chn0] Adding reading to queue (value=1560054.40 ts=0)</div><div class="">[Dec 29 11:51:09][chn1] Adding reading to queue (value=-227.16 ts=0)</div><div class="">[Dec 29 11:51:09][chn0] ==> number of tuples: 1</div><div class="">[Dec 29 11:51:09][chn1] ==> number of tuples: 1</div></div><div class=""><br class=""></div><div class="">Kennt hier jemand eine Lösung? </div><div class=""><br class=""></div><div class="">Besten Dank im Voraus und ich wünsche alle schöne Feiertage und einen guten Rutsch!</div><div class=""><br class=""></div><div class="">Grüße,<br class="">Jordan</div><div class=""><br class=""></div><div class=""><br class=""></div></div></div></div></div>
</div></blockquote></div><br class=""></div></body></html>