<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" 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 name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@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;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.E-MailFormatvorlage18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Kurzes Update:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Ich habe herausgefunden das es am [mtr2] lag.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Dieses ist wie folgt konfiguriert und so auch bisher problemlos gelaufen:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><i><span style='color:#1F497D'> // Gartenwasserzähler via IR-Sensor an S0/2<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='color:#1F497D'> </span></i><i><span lang=EN-US style='color:#1F497D'>{<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> "enabled": true,<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> "allowskip": true,<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> "interval": -1,<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> "aggtime": 30,<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> "aggfixedinterval": false,<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> "channels": [<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> {<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> "api": "volkszaehler",<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> "uuid": "5ae2c260-*******",<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> "identifier": "Impulse",<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> "middleware": "http://localhost/middleware.php",<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> "aggmode": "sum",<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> "duplicates": 0<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> }<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> ],<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> "protocol": "s0",<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> "device": "",<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> "gpio": 17,<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> "mmap": "",<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> "gpio_dir": -1,<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='color:#1F497D'> </span></i><i><span style='color:#1F497D'>"configureGPIO": true,<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='color:#1F497D'> "resolution": 1,<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='color:#1F497D'> "send_zero": true, //jede Sekunde Nullwerte senden (keine Nullwerte = false)<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='color:#1F497D'> "debounce_delay": 0,<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='color:#1F497D'> "nonblocking_delay": 100000<o:p></o:p></span></i></p><p class=MsoNormal><i><span style='color:#1F497D'> },<o:p></o:p></span></i></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Nachdem dem ich VZlogger mit deaktiviertem [mrt2] neu gestartet habe lief er. Ich habe [mtr2] dann wieder aktiviert und VZlogger ein weiteres Mal neu gestartet. Jetzt läuft er ebenfalls wieder mit aktiviertem Zähler…<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Fällt jemandem an der Config etwas auf, was ein Problem machen könnte?<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Liebe Grüße<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Micha<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:DE'>Von:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:DE'> volkszaehler-users [mailto:volkszaehler-users-bounces@demo.volkszaehler.org] <b>Im Auftrag von </b>Michael Hartmann<br><b>Gesendet:</b> Samstag, 30. April 2022 20:56<br><b>An:</b> 'volkszaehler.org - users'<br><b>Betreff:</b> [vz-users] VZLogger: Startup failed<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hallo,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>heute morgen ist VZlogger bei mir plötzlich ausgestiegen und lässt sich auch nicht wieder starten. Es wurden keine Änderungen vorgenommen. Das System lief lange Zeit stabil.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 05:43:27][main] vzlogger v0.8.0 based on heads/master-0-g8d06176360 from Sat, 18 Jan 2020 09:23:08 +0100 started.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 05:43:27][push] Ignoring push entry due to empty array or duplicate section<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 05:43:27][s0] unknown option for mmap (). Falling back to normal gpio.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 05:43:27][s0] unknown option for mmap (). Falling back to normal gpio.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 05:43:27][s0] unknown option for mmap (). Falling back to normal gpio.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 05:43:27][main] log level is 1<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US style='color:red'>[Apr 30 05:43:28][] Startup failed: open direction failed<o:p></o:p></span></i></b></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal>Ich habe versucht VZlogger manuell wieder zu starten und auch einen reboot des Raspis durchgeführt ohne Erfolg:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][main] vzlogger v0.8.0 based on heads/master-0-g8d06176360 from Sat, 18 Jan 2020 09:23:08 +0100 started.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][push] Ignoring push entry due to empty array or duplicate section<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr0] Creating new meter with protocol s0.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][s0] unknown option for mmap (). Falling back to normal gpio.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr0] Meter configured, enabled.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26] New meter initialized (protocol=s0)<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26] Configure channel.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][chn0] New channel initialized (uuid=...1ba5b0 api=volkszaehler id=Impulse)<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr1] Creating new meter with protocol s0.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][s0] unknown option for mmap (). Falling back to normal gpio.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr1] Meter configured, enabled.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26] New meter initialized (protocol=s0)<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26] Configure channel.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][chn1] New channel initialized (uuid=...422d2a api=volkszaehler id=Impulse)<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr2] Creating new meter with protocol s0.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][s0] unknown option for mmap (). Falling back to normal gpio.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr2] Meter configured, enabled.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26] New meter initialized (protocol=s0)<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26] Configure channel.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][chn2] New channel initialized (uuid=...558970 api=volkszaehler id=Impulse)<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr3] Creating new meter with protocol exec.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][exec] MeterExec::MeterExec: Parsed format string "$t: $i = $v" => "%3$lf: %2$ms = %1$lf"<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr3] Meter configured, enabled.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26] New meter initialized (protocol=exec)<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26] Configure channel.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][chn3] New channel initialized (uuid=...0fd740 api=volkszaehler id=power)<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr4] Creating new meter with protocol exec.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][exec] MeterExec::MeterExec: Parsed format string "$t: $i = $v" => "%3$lf: %2$ms = %1$lf"<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr4] Meter configured, enabled.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26] New meter initialized (protocol=exec)<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26] Configure channel.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][chn4] New channel initialized (uuid=...0ba673 api=volkszaehler id=temp)<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr5] Creating new meter with protocol sml.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][sml] pullseq len:0 found<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr5] Meter configured, enabled.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26] New meter initialized (protocol=sml)<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26] Configure channel.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][chn5] New channel initialized (uuid=...d3ccbe api=volkszaehler id=1-0:16.7.0)<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26] Have 6 meters.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][main] log level is 15<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][main] daemon=1, local=0<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26] Daemonize process...<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26] Opened logfile /var/log/vzlogger.log<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][push] No pushDataServer defined.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][] ===> Start meters<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][s0] counter_thread created<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][s0] Counter thread started with blocking hwif<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr0] Meter connection established<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr0] Meter thread started<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr0] Meter is opened. Starting channels.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr0] Number of readers: 4<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr0] Config.daemon: 1<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr0] Config.local: 0<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][chn0] Start logging thread for volkszaehler-api. Running as daemon: yes<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][chn0] Logging thread started<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][chn0] Using default volkszaehler api.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][s0] counter_thread created<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][s0] Counter thread started with blocking hwif<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr1] Meter connection established<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr1] Meter thread started<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr1] Meter is opened. Starting channels.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][chn1] Logging thread started<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][chn1] Start logging thread for volkszaehler-api. Running as daemon: yes<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][chn1] Using default volkszaehler api.<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr1] Number of readers: 4<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr1] Config.daemon: 1<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[Apr 30 20:48:26][mtr1] Config.local: 0<o:p></o:p></span></i></b></p><p class=MsoNormal><b><i><span lang=EN-US>[<span style='color:red'>Apr 30 20:48:26][] Startup failed: open direction failed</span><o:p></o:p></span></i></b></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal>Ich kann selbst bei verbosity = 15 nicht erkennen wo da etwas hängt.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Kann mir jemand weiterhelfen?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Grüße<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Micha<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>