<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Vorformatiert Zchn";
margin:0cm;
font-size:10.0pt;
font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.HTMLVorformatiertZchn
{mso-style-name:"HTML Vorformatiert Zchn";
mso-style-priority:99;
mso-style-link:"HTML Vorformatiert";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:272325703;
mso-list-template-ids:-1;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style></head><body lang=DE link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Danke für die ersten Rückmeldungen. </p><p class=MsoNormal>Das Logfile wurde mit verbosity 15 erstellt, auch wenn das conf File nur 5 zeigt.</p><p class=MsoNormal>Im Grunde kommen im Loglile nur noch Meldungen der Art:</p><p class=MsoNormal>[Oct 25 19:14:16][S0] MeterS0:HWIF_GPIO:first poll returned 1<o:p></o:p></p><p class=MsoNormal>[Oct 25 19:14:17][S0] MeterS0:HWIF_GPIO:first poll returned 0<o:p></o:p></p><p class=MsoNormal>……</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>In der Zwischenzeit habe ich diverse Male neu gebootet, ohne Erfolg. </p><p class=MsoNormal>Jetzt habe ich das System neu aufgesetzt und das letzte Backup eingespielt. Im Frontend tauchen die Daten des Back-Ups auch auf, aber „frische“ die Daten werden immer noch nicht eingelesen. </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Bin immer noch ratlos. Kann man überprüfen wo die Daten hingesendet werden, bzw. verarbeitet werden?</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Das Logfile sieht jetzt so aus:</p><p class=MsoNormal>[Oct 30 13:03:20][s0] Counter thread started with blocking hwif</p><p class=MsoNormal>[Oct 30 13:03:20][mtr0] Meter connection established</p><p class=MsoNormal>[Oct 30 13:03:20][mtr0] Meter thread started</p><p class=MsoNormal>[Oct 30 13:03:20][mtr0] Meter is opened. Starting channels.</p><p class=MsoNormal>[Oct 30 13:03:20][mtr0] Number of readers: 4</p><p class=MsoNormal>[Oct 30 13:03:20][mtr0] Config.daemon: 1</p><p class=MsoNormal>[Oct 30 13:03:20][chn0] Logging thread started</p><p class=MsoNormal>[Oct 30 13:03:20][chn0] Start logging thread for volkszaehler-api. Running as daemon: yes</p><p class=MsoNormal>[Oct 30 13:03:20][mtr0] Config.local: 0</p><p class=MsoNormal>[Oct 30 13:03:20][s0] counter_thread created</p><p class=MsoNormal>[Oct 30 13:03:20][s0] Counter thread started with blocking hwif</p><p class=MsoNormal>[Oct 30 13:03:20][mtr1] Meter connection established</p><p class=MsoNormal>[Oct 30 13:03:20][chn0] Using default volkszaehler api.</p><p class=MsoNormal>[Oct 30 13:03:20][mtr1] Meter thread started</p><p class=MsoNormal>[Oct 30 13:03:20][mtr1] Meter is opened. Starting channels.</p><p class=MsoNormal>[Oct 30 13:03:20][mtr1] Number of readers: 4</p><p class=MsoNormal>[Oct 30 13:03:20][mtr1] Config.daemon: 1</p><p class=MsoNormal>[Oct 30 13:03:20][mtr1] Config.local: 0</p><p class=MsoNormal>[Oct 30 13:03:20][chn1] Logging thread started</p><p class=MsoNormal>[Oct 30 13:03:20][s0] counter_thread created</p><p class=MsoNormal>[Oct 30 13:03:20][s0] Counter thread started with blocking hwif</p><p class=MsoNormal>[Oct 30 13:03:20][mtr2] Meter connection established</p><p class=MsoNormal>[Oct 30 13:03:20][mtr2] Meter thread started</p><p class=MsoNormal>[Oct 30 13:03:20][mtr2] Meter is opened. Starting channels.</p><p class=MsoNormal>[Oct 30 13:03:20][mtr2] Number of readers: 4</p><p class=MsoNormal>[Oct 30 13:03:20][mtr2] Config.daemon: 1</p><p class=MsoNormal>[Oct 30 13:03:20][mtr2] Config.local: 0</p><p class=MsoNormal>[Oct 30 13:03:20][chn2] Logging thread started</p><p class=MsoNormal>[Oct 30 13:03:20][chn2] Start logging thread for volkszaehler-api. Running as daemon: yes</p><p class=MsoNormal>[Oct 30 13:03:20][main] vzlogger v0.8.0 based on heads/master-0-gc5bcd3296a from Sat, 25 Jul 2020 08:54:47 +0200 started.</p><p class=MsoNormal>[Oct 30 13:03:20][mtr0] Creating new meter with protocol s0.</p><p class=MsoNormal>[Oct 30 13:03:20][mtr0] Meter configured, enabled.</p><p class=MsoNormal>[Oct 30 13:03:20] New meter initialized (protocol=s0)</p><p class=MsoNormal>[Oct 30 13:03:20] Configure channel.</p><p class=MsoNormal>[Oct 30 13:03:20][chn0] New channel initialized (uuid=...a16326 api=volkszaehler id=Impulse)</p><p class=MsoNormal>[Oct 30 13:03:20][mtr1] Creating new meter with protocol s0.</p><p class=MsoNormal>[Oct 30 13:03:20][mtr1] Meter configured, enabled.</p><p class=MsoNormal>[Oct 30 13:03:20] New meter initialized (protocol=s0)</p><p class=MsoNormal>[Oct 30 13:03:20] Configure channel.</p><p class=MsoNormal>[Oct 30 13:03:20][chn1] New channel initialized (uuid=...fbfa4f api=volkszaehler id=Impulse)</p><p class=MsoNormal>[Oct 30 13:03:20][mtr2] Creating new meter with protocol s0.</p><p class=MsoNormal>[Oct 30 13:03:20][mtr2] Meter configured, enabled.</p><p class=MsoNormal>[Oct 30 13:03:20] New meter initialized (protocol=s0)</p><p class=MsoNormal>[Oct 30 13:03:20] Configure channel.</p><p class=MsoNormal>[Oct 30 13:03:20][chn2] New channel initialized (uuid=...b93dc3 api=volkszaehler id=Impulse)</p><p class=MsoNormal>[Oct 30 13:03:20][mtr3] Creating new meter with protocol s0.</p><p class=MsoNormal>[Oct 30 13:03:20][mtr3] Meter configured, enabled.</p><p class=MsoNormal>[Oct 30 13:03:20] New meter initialized (protocol=s0)</p><p class=MsoNormal>[Oct 30 13:03:20] Configure channel.</p><p class=MsoNormal>[Oct 30 13:03:20][chn3] New channel initialized (uuid=...5c376b api=volkszaehler id=Impulse)</p><p class=MsoNormal>[Oct 30 13:03:20] Have 4 meters.</p><p class=MsoNormal>[Oct 30 13:03:20][main] log level is 15</p><p class=MsoNormal>[Oct 30 13:03:20][main] daemon=1, local=0</p><p class=MsoNormal>[Oct 30 13:03:20] Daemonize process...</p><p class=MsoNormal>[Oct 30 13:03:20] Opened logfile /home/pi/vzlogger.log</p><p class=MsoNormal>[Oct 30 13:03:20][push] No pushDataServer defined.</p><p class=MsoNormal>[Oct 30 13:03:20][] ===> Start meters</p><p class=MsoNormal>[Oct 30 13:03:20][s0] counter_thread created</p><p class=MsoNormal>[Oct 30 13:03:20][s0] Counter thread started with blocking hwif</p><p class=MsoNormal>[Oct 30 13:03:20][mtr0] Meter connection established</p><p class=MsoNormal>[Oct 30 13:03:20][mtr0] Meter thread started</p><p class=MsoNormal>[Oct 30 13:03:20][mtr0] Meter is opened. Starting channels.</p><p class=MsoNormal>[Oct 30 13:03:20][mtr0] Number of readers: 4</p><p class=MsoNormal>[Oct 30 13:03:20][mtr0] Config.daemon: 1</p><p class=MsoNormal>[Oct 30 13:03:20][chn0] Logging thread started</p><p class=MsoNormal>[Oct 30 13:03:20][chn0] Start logging thread for volkszaehler-api. Running as daemon: yes</p><p class=MsoNormal>[Oct 30 13:03:20][mtr0] Config.local: 0</p><p class=MsoNormal>[Oct 30 13:03:20][s0] counter_thread created</p><p class=MsoNormal>[Oct 30 13:03:20][s0] Counter thread started with blocking hwif</p><p class=MsoNormal>[Oct 30 13:03:20][mtr1] Meter connection established</p><p class=MsoNormal>[Oct 30 13:03:20][chn0] Using default volkszaehler api.</p><p class=MsoNormal>[Oct 30 13:03:20][mtr1] Meter thread started</p><p class=MsoNormal>[Oct 30 13:03:20][mtr1] Meter is opened. Starting channels.</p><p class=MsoNormal>[Oct 30 13:03:20][mtr1] Number of readers: 4</p><p class=MsoNormal>[Oct 30 13:03:20][mtr1] Config.daemon: 1</p><p class=MsoNormal>[Oct 30 13:03:20][mtr1] Config.local: 0</p><p class=MsoNormal>[Oct 30 13:03:20][chn1] Logging thread started</p><p class=MsoNormal>[Oct 30 13:03:20][s0] counter_thread created</p><p class=MsoNormal>[Oct 30 13:03:20][s0] Counter thread started with blocking hwif</p><p class=MsoNormal>[Oct 30 13:03:20][mtr2] Meter connection established</p><p class=MsoNormal>[Oct 30 13:03:20][mtr2] Meter thread started</p><p class=MsoNormal>[Oct 30 13:03:20][mtr2] Meter is opened. Starting channels.</p><p class=MsoNormal>[Oct 30 13:03:20][mtr2] Number of readers: 4</p><p class=MsoNormal>[Oct 30 13:03:20][mtr2] Config.daemon: 1</p><p class=MsoNormal>[Oct 30 13:03:20][mtr2] Config.local: 0</p><p class=MsoNormal>[Oct 30 13:03:20][chn2] Logging thread started</p><p class=MsoNormal>[Oct 30 13:03:20][chn2] Start logging thread for volkszaehler-api. Running as daemon: yes</p><p class=MsoNormal>[Oct 30 13:03:20][chn2] Using default volkszaehler api.</p><p class=MsoNormal>[Oct 30 13:03:20][chn1] Start logging thread for volkszaehler-api. Running as daemon: yes</p><p class=MsoNormal>[Oct 30 13:03:20][chn1] Using default volkszaehler api.</p><p class=MsoNormal>[Oct 30 13:03:20][s0] counter_thread created</p><p class=MsoNormal>[Oct 30 13:03:20][s0] Counter thread started with blocking hwif</p><p class=MsoNormal>[Oct 30 13:03:20][mtr3] Meter connection established</p><p class=MsoNormal>[Oct 30 13:03:20][mtr3] Meter thread started</p><p class=MsoNormal>[Oct 30 13:03:20][mtr3] Meter is opened. Starting channels.</p><p class=MsoNormal>[Oct 30 13:03:20][chn3] Logging thread started</p><p class=MsoNormal>[Oct 30 13:03:20][chn3] Start logging thread for volkszaehler-api. Running as daemon: yes</p><p class=MsoNormal>[Oct 30 13:03:20][] Startup done.</p><p class=MsoNormal>[Oct 30 13:03:20][mtr3] Number of readers: 4</p><p class=MsoNormal>[Oct 30 13:03:20][chn3] Using default volkszaehler api.</p><p class=MsoNormal>[Oct 30 13:03:20][mtr3] Config.daemon: 1</p><p class=MsoNormal>[Oct 30 13:03:20][mtr3] Config.local: 0</p><p class=MsoNormal>[Oct 30 13:03:21][S0] MeterS0:HWIF_GPIO:first poll returned 1</p><p class=MsoNormal>[Oct 30 13:03:21][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 30 13:03:21][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 30 13:03:21][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 30 13:03:22][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 30 13:03:22][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 30 13:03:22][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 30 13:03:22][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 30 13:03:23][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 30 13:03:23][S0] MeterS0:HWIF_GPIO:first poll returned 1</p><p class=MsoNormal>[Oct 30 13:03:23][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 30 13:03:23][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Gesendet von <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> für Windows 10</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b>Von: </b><a href="mailto:thomas@thhoe.de">Thomas HC6pfner</a><br><b>Gesendet: </b>Mittwoch, 28. Oktober 2020 08:01<br><b>An: </b><a href="mailto:volkszaehler-users@demo.volkszaehler.org">volkszaehler.org - users</a><br><b>Betreff: </b>Re: [vz-users] vzlogger sendet nach einem Stromausfall keine Datenmehr an die Middleware</p></div><p class=MsoNormal><o:p> </o:p></p><p style='margin:0cm'><span style='font-size:12.0pt;font-family:"Tahoma",sans-serif'>Hallo,<o:p></o:p></span></p><p style='margin:0cm'><span style='font-size:12.0pt;font-family:"Tahoma",sans-serif'><o:p> </o:p></span></p><p style='margin:0cm'><span style='font-size:12.0pt;font-family:"Tahoma",sans-serif'>hast du schon ein reboot gemacht?<o:p></o:p></span></p><p style='margin:0cm'><span style='font-size:12.0pt;font-family:"Tahoma",sans-serif'>Nach den Absturz könnte beim Neustart ein Dienst etwas zu späht gestardet sein.<o:p></o:p></span></p><pre style='white-space:pre-wrap'><span style='font-size:11.0pt;font-family:"Tahoma",sans-serif'>Mit freundlichen Grüßen,<br><br>Thomas </span><o:p></o:p></pre><p style='margin:0cm;min-height: 12pt'><span style='font-size:12.0pt;font-family:"Tahoma",sans-serif'><o:p> </o:p></span></p><p style='margin:0cm;min-height: 12pt'><span style='font-size:12.0pt;font-family:"Tahoma",sans-serif'><o:p> </o:p></span></p><blockquote style='border:none;border-left:solid #325FBA 1.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-right:3.75pt'><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;font-family:"Tahoma",sans-serif'>-----Ursprüngliche Nachricht-----<br><strong><span style='font-family:"Tahoma",sans-serif'>Von:</span></strong> vor dem Esche <vordemesche@t-online.de><br><strong><span style='font-family:"Tahoma",sans-serif'>Gesendet:</span></strong> Dienstag 27 Oktober 2020 20:25<br><strong><span style='font-family:"Tahoma",sans-serif'>An:</span></strong> volkszaehler-users@lists.volkszaehler.org<br><strong><span style='font-family:"Tahoma",sans-serif'>Betreff:</span></strong> Re: [vz-users] vzlogger sendet nach einem Stromausfall keine Daten mehr an die Middleware</span><o:p></o:p></p><div><div><p class=MsoNormal> </p><p class=MsoNormal>Aufgrund einer gefallenen Sicherung hatte der Raspberry keinen Strom mehr. Nach dem erneuten Booten funktioniert die Kommunikation zwischen vzlogger und der Datenbank nicht mehr.</p><p class=MsoNormal>Ich verwende optische Sensoren, die das blinken der LED am Zähler auswerten, 1Puls = 1 Wh</p><p class=MsoNormal> </p><p class=MsoNormal>Bisher war meine Fehlersuche erfolglos:</p><ul type=disc><li class=MsoListParagraph style='mso-list:l0 level1 lfo1'>Das Frontend funktioniert. Ich kann die alten Daten sehen und auch manuell Daten in die Datenbank schreiben.<o:p></o:p></li><li class=MsoListParagraph style='mso-list:l0 level1 lfo1'>Eine Überpüfung der Datenbank mit mysqlcheck zeigte keine Fehler, siehe ende der e-mail<o:p></o:p></li><li class=MsoListParagraph style='mso-list:l0 level1 lfo1'>Die Sensoren arbeiten. Wenn ich die GPIO’s abfrage bekommen ich Nullen und Einsen zurück<o:p></o:p></li><li class=MsoListParagraph style='mso-list:l0 level1 lfo1'>Das Logfile unten sagt auch das die Sensoren Signale liefern<o:p></o:p></li><li class=MsoListParagraph style='mso-list:l0 level1 lfo1'>Die UUID’s sind nicht verändert zu vorher und funktionieren bei händischen Eintragen.<o:p></o:p></li></ul><p class=MsoNormal> </p><p class=MsoNormal>Bei der Installation handelte es sich um das Image 2019-07-07-volkszaehler_raspian_buster.img. Allerdings habe ich danach diverse Updates gemacht, unter anderem auch um direkt vom USB-Stick zu booten und um verschiedene Python Pakrte zu installieren.</p><p class=MsoNormal> </p><p class=MsoNormal>Ich wäre für Hilfe sehr dankbar, da ich keinen Rat mehr habe und im Netz auch nicht passendes gefunden habe.</p><p class=MsoNormal> </p><p class=MsoNormal>Mit besten Grüßen</p><p class=MsoNormal>Rainer vor dem Esche</p><p class=MsoNormal> </p><p class=MsoNormal><strong><span style='font-family:"Calibri",sans-serif'>Hier die vzlogger Version:</span></strong></p><p class=MsoNormal>vzlogger -V</p><p class=MsoNormal>0.7.0</p><p class=MsoNormal>based on git version: heads/master-0-g12e74ddd43</p><p class=MsoNormal>last commit date: Sun, 2 Jun 2019 20:48:14 +0200</p><p class=MsoNormal> </p><p class=MsoNormal><strong><span style='font-family:"Calibri",sans-serif'>Hier die Statusmeldung vom vzlogger:</span></strong></p><p class=MsoNormal>sudo systemctl status vzlogger</p><p class=MsoNormal>● vzlogger.service - vzlogger</p><p class=MsoNormal> Loaded: loaded (/etc/systemd/system/vzlogger.service; enabled; vendor preset: enabled)</p><p class=MsoNormal> Active: active (running) since Sun 2020-10-25 18:26:26 CET; 43min ago</p><p class=MsoNormal>Main PID: 6615 (vzlogger)</p><p class=MsoNormal> Tasks: 13 (limit: 2065)</p><p class=MsoNormal> CGroup: /system.slice/vzlogger.service</p><p class=MsoNormal> └─6615 /usr/local/bin/vzlogger -c /etc/vzlogger.conf</p><p class=MsoNormal> </p><p class=MsoNormal>Oct 25 18:26:26 raspberrypi systemd[1]: Started vzlogger.</p><p class=MsoNormal> </p><p class=MsoNormal> </p><p class=MsoNormal><strong><span style='font-family:"Calibri",sans-serif'>Hier die /etc/vzlogger.conf, die vor dem Stromausfall eiwandfrei funktionierte.</span></strong></p><p class=MsoNormal> </p><p class=MsoNormal>"retry": 1 , // http retry delay in seconds</p><p class=MsoNormal>"daemon": true,</p><p class=MsoNormal>"verbosity": 5, // log verbosity (0=log_alert, 1=log_error, 3=log_warning, 5=log_info, 10=log_debug, 15=log_finest</p><p class=MsoNormal>"log": "/home/pi/vzlogger.log",</p><p class=MsoNormal>"local": {</p><p class=MsoNormal> "enabled": false, // false, enable local HTTPd for serving live readings</p><p class=MsoNormal> "port": 8080,</p><p class=MsoNormal> "index": false,</p><p class=MsoNormal> "timeout": 0,</p><p class=MsoNormal> "buffer": 0</p><p class=MsoNormal>},</p><p class=MsoNormal>"meters": [</p><p class=MsoNormal> {</p><p class=MsoNormal> "enabled": true,</p><p class=MsoNormal> "allowskip": false,</p><p class=MsoNormal> "interval": -1,</p><p class=MsoNormal> "aggtime": -1,</p><p class=MsoNormal> "aggfixedinterval": false,</p><p class=MsoNormal> "channels": [</p><p class=MsoNormal> { "uuid": "145e1a60-116a-11eb-a84b-27d4c1a16326", //Haushaltszaehler Wirkleitung</p><p class=MsoNormal> "identifier": "Impulse",</p><p class=MsoNormal> "api": "volkszaehler",</p><p class=MsoNormal> "middleware": "http://127.0.0.1:8080", // " http://localhost/middleware.php"</p><p class=MsoNormal> "aggmode": "none",</p><p class=MsoNormal> "duplicates": 0</p><p class=MsoNormal> } ],</p><p class=MsoNormal> "protocol": "s0",</p><p class=MsoNormal> "gpio": 17,</p><p class=MsoNormal> "gpio_dir": -1,</p><p class=MsoNormal> "configureGPIO": true,</p><p class=MsoNormal> "resolution": 1000,</p><p class=MsoNormal> "send_zero": false,</p><p class=MsoNormal> "debounce_delay": 80 // max zeit ist 90ms <3,6E9/(400V+32A+3Phase+1000Pulse) gemessene Zeit 50ms</p><p class=MsoNormal> },</p><p class=MsoNormal> {</p><p class=MsoNormal> "enabled": true,</p><p class=MsoNormal> "allowskip": false,</p><p class=MsoNormal> "interval": -1,</p><p class=MsoNormal> "aggtime": -1,</p><p class=MsoNormal> "aggfixedinterval": false,</p><p class=MsoNormal> "channels": [</p><p class=MsoNormal> { "uuid": "609b5550-116a-11eb-a593-a17d56fbfa4f", //Blindleistung Haushaltszaeher</p><p class=MsoNormal> "identifier": "Impulse",</p><p class=MsoNormal> "api": "volkszaehler",</p><p class=MsoNormal> "middleware": "http://127.0.0.1:8080", // "http://127.0.0.1/middleware.php"</p><p class=MsoNormal> "aggmode": "none",</p><p class=MsoNormal> "duplicates": 0</p><p class=MsoNormal> } ],</p><p class=MsoNormal> "protocol": "s0",</p><p class=MsoNormal> "gpio": 18,</p><p class=MsoNormal> "gpio_dir": -1,</p><p class=MsoNormal> "configureGPIO": true,</p><p class=MsoNormal> "resolution": 1000,</p><p class=MsoNormal> "send_zero": false,</p><p class=MsoNormal> "debounce_delay": 80</p><p class=MsoNormal> }, </p><p class=MsoNormal> {</p><p class=MsoNormal> "enabled": true,</p><p class=MsoNormal> "allowskip": false,</p><p class=MsoNormal> "interval": -1,</p><p class=MsoNormal> "aggtime": -1,</p><p class=MsoNormal> "aggfixedinterval": false,</p><p class=MsoNormal> "channels": [</p><p class=MsoNormal> { "uuid": "8265ea00-116a-11eb-9df8-31d16fb93dc3", //Wirkleistung Waermepumpe</p><p class=MsoNormal> "identifier": "Impulse",</p><p class=MsoNormal> "api": "volkszaehler",</p><p class=MsoNormal> "middleware": "http://127.0.0.1:8080", // "http://127.0.0.1/middleware.php"</p><p class=MsoNormal> "aggmode": "none",</p><p class=MsoNormal> "duplicates": 0</p><p class=MsoNormal> } ],</p><p class=MsoNormal> "protocol": "s0",</p><p class=MsoNormal> "gpio": 22,</p><p class=MsoNormal> "gpio_dir": -1,</p><p class=MsoNormal> "configureGPIO": true,</p><p class=MsoNormal> "resolution": 1000,</p><p class=MsoNormal> "send_zero": false,</p><p class=MsoNormal> "debounce_delay": 80</p><p class=MsoNormal> },</p><p class=MsoNormal> "enabled": true,</p><p class=MsoNormal> "allowskip": false,</p><p class=MsoNormal> "interval": -1,</p><p class=MsoNormal> "aggtime": -1,</p><p class=MsoNormal> "aggfixedinterval": false,</p><p class=MsoNormal> "channels": [</p><p class=MsoNormal> { "uuid": "9a230b40-116a-11eb-a992-eb29d65c376b", //Blindleistung Waermepumpe</p><p class=MsoNormal> "identifier": "Impulse",</p><p class=MsoNormal> "api": "volkszaehler",</p><p class=MsoNormal> "middleware": "http://127.0.0.1:8080", // "http://127.0.0.1/middleware.php"</p><p class=MsoNormal> "aggmode": "none",</p><p class=MsoNormal> "duplicates": 0</p><p class=MsoNormal> } ],</p><p class=MsoNormal> "protocol": "s0",</p><p class=MsoNormal> "gpio": 23,</p><p class=MsoNormal> "gpio_dir": -1,</p><p class=MsoNormal> "configureGPIO": true,</p><p class=MsoNormal> "resolution": 1000,</p><p class=MsoNormal> "send_zero": false,</p><p class=MsoNormal> "debounce_delay": 80</p><p class=MsoNormal> }</p><p class=MsoNormal> ]</p><p class=MsoNormal>}</p><p class=MsoNormal> </p><p class=MsoNormal><strong><span style='font-family:"Calibri",sans-serif'>Anbei das Logfile:</span></strong></p><p class=MsoNormal>[Oct 25 19:14:15][main] vzlogger v0.7.0 based on heads/master-0-g12e74ddd43 from Sun, 2 Jun 2019 20:48:14 +0200 started.</p><p class=MsoNormal>[Oct 25 19:14:15][mtr0] Creating new meter with protocol s0.</p><p class=MsoNormal>[Oct 25 19:14:15][mtr0] Meter configured, enabled.</p><p class=MsoNormal>[Oct 25 19:14:15] New meter initialized (protocol=s0)</p><p class=MsoNormal>[Oct 25 19:14:15] Configure channel.</p><p class=MsoNormal>[Oct 25 19:14:15][chn0] New channel initialized (uuid=...a16326 api=volkszaehler id=Impulse)</p><p class=MsoNormal>[Oct 25 19:14:15][mtr1] Creating new meter with protocol s0.</p><p class=MsoNormal>[Oct 25 19:14:15][mtr1] Meter configured, enabled.</p><p class=MsoNormal>[Oct 25 19:14:15] New meter initialized (protocol=s0)</p><p class=MsoNormal>[Oct 25 19:14:15] Configure channel.</p><p class=MsoNormal>[Oct 25 19:14:15][chn1] New channel initialized (uuid=...fbfa4f api=volkszaehler id=Impulse)</p><p class=MsoNormal>[Oct 25 19:14:15][mtr2] Creating new meter with protocol s0.</p><p class=MsoNormal>[Oct 25 19:14:15][mtr2] Meter configured, enabled.</p><p class=MsoNormal>[Oct 25 19:14:15] New meter initialized (protocol=s0)</p><p class=MsoNormal>[Oct 25 19:14:15] Configure channel.</p><p class=MsoNormal>[Oct 25 19:14:15][chn2] New channel initialized (uuid=...b93dc3 api=volkszaehler id=Impulse)</p><p class=MsoNormal>[Oct 25 19:14:15][mtr3] Creating new meter with protocol s0.</p><p class=MsoNormal>[Oct 25 19:14:15][mtr3] Meter configured, enabled.</p><p class=MsoNormal>[Oct 25 19:14:15] New meter initialized (protocol=s0)</p><p class=MsoNormal>[Oct 25 19:14:15] Configure channel.</p><p class=MsoNormal>[Oct 25 19:14:15][chn3] New channel initialized (uuid=...5c376b api=volkszaehler id=Impulse)</p><p class=MsoNormal>[Oct 25 19:14:15] Have 4 meters.</p><p class=MsoNormal>[Oct 25 19:14:15][main] log level is 15</p><p class=MsoNormal>[Oct 25 19:14:15][main] daemon=1, local=0</p><p class=MsoNormal>[Oct 25 19:14:15] Daemonize process...</p><p class=MsoNormal>[Oct 25 19:14:15] Opened logfile /home/pi/vzlogger.log</p><p class=MsoNormal>[Oct 25 19:14:15][push] No pushDataServer defined.</p><p class=MsoNormal>[Oct 25 19:14:15][] ===> Start meters</p><p class=MsoNormal>[Oct 25 19:14:15][s0] counter_thread created</p><p class=MsoNormal>[Oct 25 19:14:15][s0] Counter thread started with blocking hwif</p><p class=MsoNormal>[Oct 25 19:14:15][mtr0] Meter connection established</p><p class=MsoNormal>[Oct 25 19:14:15][mtr0] Meter thread started</p><p class=MsoNormal>[Oct 25 19:14:15][mtr0] Meter is opened. Starting channels.</p><p class=MsoNormal>[Oct 25 19:14:15][chn0] Logging thread started</p><p class=MsoNormal>[Oct 25 19:14:15][chn0] Start logging thread for volkszaehler-api. Running as daemon: yes</p><p class=MsoNormal>[Oct 25 19:14:15][chn0] Using default volkszaehler api.</p><p class=MsoNormal>[Oct 25 19:14:15][s0] counter_thread created</p><p class=MsoNormal>[Oct 25 19:14:15][mtr1] Meter connection established</p><p class=MsoNormal>[Oct 25 19:14:15][mtr0] Number of readers: 4</p><p class=MsoNormal>[Oct 25 19:14:15][mtr0] Config.daemon: 1</p><p class=MsoNormal>[Oct 25 19:14:15][mtr0] Config.local: 0</p><p class=MsoNormal>[Oct 25 19:14:15][mtr1] Meter thread started</p><p class=MsoNormal>[Oct 25 19:14:15][mtr1] Meter is opened. Starting channels.</p><p class=MsoNormal>[Oct 25 19:14:15][mtr1] Number of readers: 4</p><p class=MsoNormal>[Oct 25 19:14:15][mtr1] Config.daemon: 1</p><p class=MsoNormal>[Oct 25 19:14:15][mtr1] Config.local: 0</p><p class=MsoNormal>[Oct 25 19:14:15][chn1] Logging thread started</p><p class=MsoNormal>[Oct 25 19:14:15][chn1] Start logging thread for volkszaehler-api. Running as daemon: yes</p><p class=MsoNormal>[Oct 25 19:14:15][chn1] Using default volkszaehler api.</p><p class=MsoNormal>[Oct 25 19:14:15][s0] Counter thread started with blocking hwif</p><p class=MsoNormal>[Oct 25 19:14:15][s0] counter_thread created</p><p class=MsoNormal>[Oct 25 19:14:15][s0] Counter thread started with blocking hwif</p><p class=MsoNormal>[Oct 25 19:14:15][mtr2] Meter connection established</p><p class=MsoNormal>[Oct 25 19:14:15][mtr2] Meter thread started</p><p class=MsoNormal>[Oct 25 19:14:15][mtr2] Meter is opened. Starting channels.</p><p class=MsoNormal>[Oct 25 19:14:15][chn2] Logging thread started</p><p class=MsoNormal>[Oct 25 19:14:15][chn2] Start logging thread for volkszaehler-api. Running as daemon: yes</p><p class=MsoNormal>[Oct 25 19:14:15][chn2] Using default volkszaehler api.</p><p class=MsoNormal>[Oct 25 19:14:15][chn2] Using default volkszaehler api.</p><p class=MsoNormal>[Oct 25 19:14:15][mtr2] Number of readers: 4</p><p class=MsoNormal>[Oct 25 19:14:15][mtr2] Config.daemon: 1</p><p class=MsoNormal>[Oct 25 19:14:15][mtr2] Config.local: 0</p><p class=MsoNormal>[Oct 25 19:14:15][s0] counter_thread created</p><p class=MsoNormal>[Oct 25 19:14:15][mtr3] Meter connection established</p><p class=MsoNormal>[Oct 25 19:14:15][mtr3] Meter thread started</p><p class=MsoNormal>[Oct 25 19:14:15][mtr3] Number of readers: 4</p><p class=MsoNormal>[Oct 25 19:14:15][mtr3] Meter is opened. Starting channels.</p><p class=MsoNormal>[Oct 25 19:14:15][mtr3] Config.daemon: 1</p><p class=MsoNormal>[Oct 25 19:14:15][mtr3] Config.local: 0</p><p class=MsoNormal>[Oct 25 19:14:15][chn3] Logging thread started</p><p class=MsoNormal>[Oct 25 19:14:15][chn3] Start logging thread for volkszaehler-api. Running as daemon: yes</p><p class=MsoNormal>[Oct 25 19:14:15][] Startup done.</p><p class=MsoNormal>[Oct 25 19:14:15][s0] Counter thread started with blocking hwif</p><p class=MsoNormal>[Oct 25 19:14:15][chn3] Using default volkszaehler api.</p><p class=MsoNormal>[Oct 25 19:14:16][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 25 19:14:16][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 25 19:14:16][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 25 19:14:16][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 25 19:14:16][S0] MeterS0:HWIF_GPIO:first poll returned 1</p><p class=MsoNormal>[Oct 25 19:14:17][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 25 19:14:17][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 25 19:14:17][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 25 19:14:17][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 25 19:14:18][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 25 19:14:18][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 25 19:14:18][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 25 19:14:18][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal>[Oct 25 19:14:19][S0] MeterS0:HWIF_GPIO:first poll returned 0</p><p class=MsoNormal> </p><p class=MsoNormal><strong><span style='font-family:"Calibri",sans-serif'>/var/www/volkszaehler.org $ git log -n 1</span></strong></p><p class=MsoNormal>commit 843fb56d96c9f1ae4d8348d03818f703b637e20d (HEAD -> master, origin/master, origin/HEAD)</p><p class=MsoNormal>Author: andig <cpuidle@gmx.de></p><p class=MsoNormal>Date: Sun Jun 2 12:04:35 2019 +0200</p><p class=MsoNormal> </p><p class=MsoNormal> Delete dbcopy.json</p><p class=MsoNormal> </p><p class=MsoNormal><strong><span style='font-family:"Calibri",sans-serif'>sudo mysqlcheck -A -C</span></strong></p><p class=MsoNormal>mysql.column_stats Table is already up to date</p><p class=MsoNormal>mysql.columns_priv Table is already up to date</p><p class=MsoNormal>mysql.db Table is already up to date</p><p class=MsoNormal>mysql.event Table is already up to date</p><p class=MsoNormal>mysql.func Table is already up to date</p><p class=MsoNormal>mysql.gtid_slave_pos OK</p><p class=MsoNormal>mysql.help_category Table is already up to date</p><p class=MsoNormal>mysql.help_keyword Table is already up to date</p><p class=MsoNormal>mysql.help_relation Table is already up to date</p><p class=MsoNormal>mysql.help_topic Table is already up to date</p><p class=MsoNormal>mysql.host Table is already up to date</p><p class=MsoNormal>mysql.index_stats Table is already up to date</p><p class=MsoNormal>mysql.innodb_index_stats OK</p><p class=MsoNormal>mysql.innodb_table_stats OK</p><p class=MsoNormal>mysql.plugin Table is already up to date</p><p class=MsoNormal>mysql.proc Table is already up to date</p><p class=MsoNormal>mysql.procs_priv Table is already up to date</p><p class=MsoNormal>mysql.proxies_priv Table is already up to date</p><p class=MsoNormal>mysql.roles_mapping Table is already up to date</p><p class=MsoNormal>mysql.servers Table is already up to date</p><p class=MsoNormal>mysql.table_stats Table is already up to date</p><p class=MsoNormal>mysql.tables_priv Table is already up to date</p><p class=MsoNormal>mysql.time_zone Table is already up to date</p><p class=MsoNormal>mysql.time_zone_leap_second Table is already up to date</p><p class=MsoNormal>mysql.time_zone_name Table is already up to date</p><p class=MsoNormal>mysql.time_zone_transition Table is already up to date</p><p class=MsoNormal>mysql.time_zone_transition_type Table is already up to date</p><p class=MsoNormal>mysql.transaction_registry OK</p><p class=MsoNormal>mysql.user Table is already up to date</p><p class=MsoNormal>volkszaehler.aggregate OK</p><p class=MsoNormal>volkszaehler.data OK</p><p class=MsoNormal>volkszaehler.entities OK</p><p class=MsoNormal>volkszaehler.entities_in_aggregator OK</p><p class=MsoNormal>volkszaehler.properties OK</p></div></div></blockquote><p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:3.75pt;margin-bottom:0cm;margin-left:3.75pt;margin-bottom:.0001pt'> </p><p class=MsoNormal><o:p> </o:p></p></div></body></html>