<div dir="ltr">Hallo,<div><br></div><div>ich wollte mal nachfragen, ob sich hier was getan hat. Kann man irgendwie unterstützen oder gar testen?</div><div><br></div><div>Viele Grüße</div><div>Bernd</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-05 12:10 GMT+02:00 Andreas Goetz <span dir="ltr"><<a href="mailto:cpuidle@gmail.com" target="_blank">cpuidle@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Merker dazu <a href="https://github.com/volkszaehler/vzlogger/issues/252" target="_blank">https://github.com/volkszaehler/vzlogger/issues/252</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-03 19:57 GMT+02:00 Matthias Behr <span dir="ltr"><<a href="mailto:mbehr@mcbehr.de" target="_blank">mbehr@mcbehr.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Ich überleg mal eine Lösung/Vorschlag.<div><div><div><br><div><blockquote type="cite"><div>Am 03.05.2016 um 19:24 schrieb Andreas Götz <<a href="mailto:cpuidle@gmail.com" target="_blank">cpuidle@gmail.com</a>>:</div><br><div><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"></div><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Hi Matthias,</div><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br>Am 03.05.2016 um 18:56 schrieb Matthias Behr <<a href="mailto:mbehr@mcbehr.de" target="_blank">mbehr@mcbehr.de</a>>:<br><br></div><blockquote type="cite" style="font-family:Helvetica;font-size:14px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>Hallo Andi,<div><br></div><div>du meinst:</div><div><br><div><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br>Dein Problem ist, dass du keine Impulse am S0-Eingang hast, sondern statische Zustände 1 oder 0.<br>vzlogger erfasst aber nur die Flanken einer Zustandsänderung. Also die Änderung von 0 nach 1 oder von 1 auf 0.<br></blockquote><div><br></div><div>@Udo/Matthias: genau dafür ist in der Middleware der Typ "Sensor" zuständig.<br><br></div><div>Ich überlege gerade ob uns da im vzlogger eine Funktion fehlt die als Protocol statt S0 (=Impulse) da so etwas wie "Sensor" anbietet mit dem also bei einer Statusänderung einfach der aktuelle Wert in die MW geschrieben wird.<br></div></div></div></div></blockquote><div><br></div><div>keine Impulse melden, sondern jeweils nur die Statusänderung melden? Könnte man schnell einbauen.</div></div></div></div></blockquote><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><span style="font-family:Helvetica;font-size:14px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Genau. Z.b. Bei w1-therm und sml machen wir das ja auch- nur bei S0 sind wir anders geeicht was für Impulse ja auch richtig ist, aber es gibt eben noch mehr Varianten. Man stelle sich nur ein analoges IO Pin vor :O</span><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Naming ist ein Thema- Iostate find ich gruselig. Dann fast lieber "Value" oder meinetwegen "Direct"- das wäre dann eine der Alternativen zu S0, Sml etc und würde fürs erste nur mit GPIO funktionieren?</div><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br><blockquote type="cite"><div><div><div><br><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>Habe ich jetzt einen Knoten im Kopf oder ist es nicht das was wir brauchen? Kann es sein dass und das bisher nur nicht aufgefallen ist weil die "Art" des Protokolls immer auch die Meßwerterfassung mit bestimmt hat (z.B. w1therm -> Sensor)?<span> </span><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">D.h. du bekommst einmal einen Impuls beim Einschalten der Pumpe und einmal beim Ausschalten der Pumpe.<br>Das funktioniert also nicht so wie du dir das vorstellst.<br>Du brauchst noch den Betriebsstundenzähler:<br><a href="http://wiki.volkszaehler.org/hardware/channels/meters/working_hours?s[]=betriebsstundenz%C3%A4hler" rel="noreferrer" target="_blank">http://wiki.volkszaehler.org/hardware/channels/meters/working_hours?s[]=betriebsstundenz%C3%A4hler</a><br><br>Der setzt dir den Zustand Pumpe An-Aus in Impulse um, die dann vzlogger erfassen kann.<br></blockquote><div><br></div><div>Ich frag mich ob das sein muss. Da wir GPIOs lesen können lässt sich auch ein 0/1 Wert loggen wenn wir statt "Schaltimpuls" auf "Schaltzustand" gehen.<br><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br>Das Problem ist, das vzlogger, wenn er statische Eingangszustände erfassen soll, die Eingänge ständig pollen müsste und nichts anderes mehr machen kann.<br></blockquote><div><br></div><div>Das ließe sich ja- wenn dem so ist ändern. Auch bei Logging von Zuständen reicht es ja diese zu loggen wenn sich der Eingang ändert. M.E. müssten wir daher gar nicht so viel anpassen.<br> <br>Was meint ihr?<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br>Gruß<br>Udo<br></blockquote></div><br></div><div class="gmail_extra">Viele Grüße,<br></div><div class="gmail_extra">Andreas<br><br></div></div></blockquote></div><br><div><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div style="word-wrap:break-word"><div>Gruß</div><div><br></div><div>Matthias</div></div></span></div></div></div></blockquote></div></div></blockquote></div><br></div></div><div>
<span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div style="word-wrap:break-word"><div>Gruß</div><span><font color="#888888"><div><br></div><div>Matthias</div></font></span></div></span>
</div>
<br></div></div></blockquote></div><br></div>
</blockquote></div><br></div>