<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="">Mir fehlt der Nerv den Testfall umzubauen.. Fix ist drin!<div class=""><br class=""></div><div class="">Viele Grüße, Andreas</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 7. Apr 2020, at 13:08, Frank Richter <<a href="mailto:frank.richter83@gmail.com" class="">frank.richter83@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class="">Hi Andreas,<div dir="auto" class=""><br class=""></div><div dir="auto" class="">bei group=hour tritt der Fehler nicht auf: 10 * 3,6e6 / 3,6e6 bleibt 10. Sind dann zwar nicht mehr Watt sondern Wattstunden, aber der Zahlenwert bleibt gleich, und dein Test prüft keine Einheiten ;-)</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Viele Grüße</div><div dir="auto" class="">Frank</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Andreas Goetz <<a href="mailto:cpuidle@gmail.com" target="_blank" rel="noreferrer" class="">cpuidle@gmail.com</a>> schrieb am Di., 7. Apr. 2020, 12:37:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">Ich verstehe noch nicht warum dieser Test hier: <a href="https://github.com/volkszaehler/volkszaehler.org/blob/master/test/ConsumptionTest.php#L64" rel="noreferrer noreferrer" target="_blank" class="">https://github.com/volkszaehler/volkszaehler.org/blob/master/test/ConsumptionTest.php#L64</a> nicht vorher einen Fehler gezeigt hat. Irgendwas ist da noch faul. Ich hab leider keine Zeit mir das in Ruhe anzuschauen. Falls ihr rein schauen wollt: Tests lassen sich einfach mittels ./vendor/bin/phpunit starten…<div class=""><br class=""></div><div class="">Viele Grüße, </div><div class="">Andreas</div><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 7. Apr 2020, at 09:23, <a href="mailto:rgb@nord-com.net" rel="noreferrer noreferrer" target="_blank" class="">rgb@nord-com.net</a> wrote:</div><br class=""><div class=""><div style="font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class="">Tag Zusammen!<u class=""></u><u class=""></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class=""><u class=""></u> <u class=""></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class="">Ich kann bestätigen, dass es für meinen Fall (Betriebsstundensensoren) jetzt in allen Modi, ab via Frontend oder direkten MW Aufruf, exakt so funktioniert wie es sollte. Weiter Daten oder Tests gerne, sagt was ihr braucht!<u class=""></u><u class=""></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class=""><u class=""></u> <u class=""></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class="">Viele Grüsse,<u class=""></u><u class=""></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class="">Alex<u class=""></u><u class=""></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class=""><u class=""></u> <u class=""></u></span></div><div style="border-style:none none none solid;border-left-width:1.5pt;border-left-color:blue;padding:0in 0in 0in 4pt" class=""><div class=""><div style="border-style:solid none none;border-top-width:1pt;border-top-color:rgb(181,196,223);padding:3pt 0in 0in" class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><b class=""><span style="font-size:10pt;font-family:Tahoma,sans-serif" class="">From:</span></b><span style="font-size:10pt;font-family:Tahoma,sans-serif" class=""><span class=""> </span>volkszaehler-users [<a href="mailto:volkszaehler-users-bounces@demo.volkszaehler.org" rel="noreferrer noreferrer" target="_blank" class="">mailto:volkszaehler-users-bounces@demo.volkszaehler.org</a>]<span class=""> </span><b class="">On Behalf Of<span class=""> </span></b>Andreas Goetz<br class=""><b class="">Sent:</b><span class=""> </span>Tuesday, April 07, 2020 8:59 AM<br class=""><b class="">To:</b><span class=""> </span><a href="http://volkszaehler.org/" rel="noreferrer noreferrer" target="_blank" class="">volkszaehler.org</a> - users<br class=""><b class="">Subject:</b><span class=""> </span>Re: [vz-users] Frage zum Betriebsstundensensor<u class=""></u><u class=""></u></span></div></div></div><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Bingo. Hab ich behoben, jetzt laufen alle Tests durch. Könnt ihr das bestätigen?<u class=""></u><u class=""></u></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Aber: wir brauchen für diesen und evtl. auch die anderen Interpreter noch zusätzliche Tests die zeigen dass es jetzt richtig ist und v.a. vorher falsch war…<u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Viele Grüße, Andreas<u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><br class=""><br class=""><u class=""></u><u class=""></u></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">On 7. Apr 2020, at 08:41, Frank Richter <<a href="mailto:frank.richter83@gmail.com" style="color:purple;text-decoration:underline" rel="noreferrer noreferrer" target="_blank" class="">frank.richter83@gmail.com</a>> wrote:<u class=""></u><u class=""></u></div></div><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Moin Andreas,<u class=""></u><u class=""></u></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">denke auch dass die Einheiten nicht passen: das consumption tuple ist schon in Wh umgerechnet, aber $this->consumption erwartet an dieser Stelle mWs.<u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Grüße<u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Frank<u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div></div></div><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Andreas Goetz <<a href="mailto:cpuidle@gmail.com" style="color:purple;text-decoration:underline" rel="noreferrer noreferrer" target="_blank" class="">cpuidle@gmail.com</a>> schrieb am Di., 7. Apr. 2020, 08:30:<u class=""></u><u class=""></u></div></div><blockquote style="border-style:none none none solid;border-left-width:1pt;border-left-color:rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in" type="cite" class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Moin Frank!<u class=""></u><u class=""></u></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Deine Lösungszeiten mitten in der Nach sind atemberaubend… Ich habe mit gearbeitet: <a href="https://github.com/volkszaehler/volkszaehler.org/pull/801" style="color:purple;text-decoration:underline" rel="noreferrer noreferrer" target="_blank" class="">https://github.com/volkszaehler/volkszaehler.org/pull/801</a><u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Test wäre gut- ich habe das Gefühl da fehlt irgendwo noch ein Faktor?<u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Viele Grüße, Andreas<u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><br class=""><br class=""><u class=""></u><u class=""></u></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">On 6. Apr 2020, at 23:26, Frank Richter <<a href="mailto:frank.richter83@gmail.com" style="color:purple;text-decoration:underline" rel="noreferrer noreferrer" target="_blank" class="">frank.richter83@gmail.com</a>> wrote:<u class=""></u><u class=""></u></div></div><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div><div class=""><div class=""><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Hi zusammen,<u class=""></u><u class=""></u></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">ich glaub ich hab's gefunden:<u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span style="font-size:9pt;font-family:Consolas;color:rgb(0,92,197)" class="">$</span><span style="font-size:9pt;font-family:Consolas;color:rgb(36,41,46)" class="">this-></span><span style="font-size:9pt;font-family:Consolas;color:rgb(0,92,197)" class="">consumption</span><span style="font-size:9pt;font-family:Consolas;color:rgb(36,41,46)" class=""><span class=""> </span>+=<span class=""> </span></span><span style="font-size:9pt;font-family:Consolas;color:rgb(0,92,197)" class="">$</span><span style="font-size:9pt;font-family:Consolas;color:rgb(36,41,46)" class="">tuple[</span><span style="font-size:9pt;font-family:Consolas;color:rgb(0,92,197)" class="">1</span><span style="font-size:9pt;font-family:Consolas;color:rgb(36,41,46)" class="">] *<span class=""> </span></span><span style="font-size:9pt;font-family:Consolas;color:rgb(0,92,197)" class="">$</span><span style="font-size:9pt;font-family:Consolas;color:rgb(36,41,46)" class="">delta_ts;</span> (<a href="https://github.com/volkszaehler/volkszaehler.org/blob/master/lib/Interpreter/SensorInterpreter.php#L49" style="color:purple;text-decoration:underline" rel="noreferrer noreferrer" target="_blank" class="">https://github.com/volkszaehler/volkszaehler.org/blob/master/lib/Interpreter/SensorInterpreter.php#L49</a>) multipliziert immer mit dem Timestamp-Delta, auch wenn <span style="font-size:9pt;font-family:Consolas;color:rgb(111,66,193)" class="">convertRawTuple</span> im Consumption-Mode schon Energie (bzw. ein anderes Zeitintegral) zurückgibt (<a href="https://github.com/volkszaehler/volkszaehler.org/blob/master/lib/Interpreter/SensorInterpreter.php#L74-L75" style="color:purple;text-decoration:underline" rel="noreferrer noreferrer" target="_blank" class="">https://github.com/volkszaehler/volkszaehler.org/blob/master/lib/Interpreter/SensorInterpreter.php#L74-L75</a>).<u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Also bräuchten wir entweder in <span style="font-size:9pt;font-family:Consolas;color:rgb(111,66,193)" class="">generateData<span class=""> </span></span>nochmal eine Fallunterscheidung oder wir schieben die Zeilen für die Verbrauchswerte gleich dorthin. Variante 2) fände ich klarer.<u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">PR? Testen kann ich das allerdings nicht ohne weiteres, da keine passenden Daten.<u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Viele Grüße<u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Frank<u class=""></u><u class=""></u></div></div></div></div></div><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Am Mo., 6. Apr. 2020 um 17:46 Uhr schrieb Andreas Goetz <<a href="mailto:cpuidle@gmail.com" style="color:purple;text-decoration:underline" rel="noreferrer noreferrer" target="_blank" class="">cpuidle@gmail.com</a>>:<u class=""></u><u class=""></u></div></div><blockquote style="border-style:none none none solid;border-left-width:1pt;border-left-color:rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in" type="cite" class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Hi Alex,<u class=""></u><u class=""></u></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">kann gut sein, dass die MW das falsch macht. Da hilft nur die Analyse im Detail zu machen und den Fehler zu finden….<u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Mein Fokus liegt aktuell auf anderen Dingen, wenn Du Fragen zum debuggen hast kann ich gerne Tips geben.<u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Viele Grüße, <u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Andreas<u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><br class=""><br class=""><u class=""></u><u class=""></u></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">On 6. Apr 2020, at 14:00,<span class=""> </span><a href="mailto:rgb@nord-com.net" style="color:purple;text-decoration:underline" rel="noreferrer noreferrer" target="_blank" class="">rgb@nord-com.net</a><span class=""> </span>wrote:<u class=""></u><u class=""></u></div></div><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><u class=""></u> <u class=""></u></div><div class=""><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class="">Hallo Andreas,</span><u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class=""> </span><u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class="">Ich habe da noch mal reingeschaut. Die min, max und current Werte des Betriebsstundensensors scheinen in allen Modi (current, hourly, daily, monthly, yearly) zu stimmen, bestenfalls gibt es da ein paar Rundungsdifferenzen.</span><u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class=""> </span><u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class="">Was in keinem Fall (ausser im current) stimmt, sind die Durchschnitts- und Verbrauchswerte. Diese werden aber bereits falsch von der Middleware geliefert, so dass ich nicht von einem Fehler im Frontend ausgehe…</span><u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class=""> </span><u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class="">So gibt z.B. uuid.json?options=consumption&from=1577833200000&to=now&tuples=1&group=year </span><u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class="">die richtigen Werte für current, min und max (die 777 entsprechen in etwa dem was ich auch aus der Datenbank lesen kann (773)). Der Verbrauch müsste in allen Modi mit diesem Wert identisch sein.</span><u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class=""> </span><u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class="">Wenn Du da einen Tipp für mich hättest, versuche ich gerne dem Problem auf die Spur zu kommen.</span><u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class=""> </span><u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class="">Viele Grüsse,</span><u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class="">Alex</span><u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class=""> </span><u class=""></u><u class=""></u></div></div><div style="border-style:none none none solid;border-left-width:1.5pt;border-left-color:blue;padding:0in 0in 0in 4pt" class=""><div class=""><div style="border-style:solid none none;border-top-width:1pt;border-top-color:rgb(181,196,223);padding:3pt 0in 0in" class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><b class=""><span style="font-size:10pt;font-family:Tahoma,sans-serif" class="">From:</span></b><span style="font-size:10pt;font-family:Tahoma,sans-serif" class=""> volkszaehler-users [<a href="mailto:volkszaehler-users-bounces@demo.volkszaehler.org" style="color:purple;text-decoration:underline" rel="noreferrer noreferrer" target="_blank" class="">mailto:volkszaehler-users-bounces@demo.volkszaehler.org</a>] <b class="">On Behalf Of </b>Andreas Goetz<br class=""><b class="">Sent:</b> Friday, April 03, 2020 6:35 PM<br class=""><b class="">To:</b> <a href="http://volkszaehler.org/" style="color:purple;text-decoration:underline" rel="noreferrer noreferrer" target="_blank" class="">volkszaehler.org</a><span class=""> </span>- users<br class=""><b class="">Subject:</b> Re: [vz-users] Frage zum Betriebsstundensensor</span><u class=""></u><u class=""></u></div></div></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""> <u class=""></u><u class=""></u></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">…ich hab grad zuviele andere Themen. Irgendwo in der wui.js oder plot.js fehlt eine Fallunterscheidung für den Modus bevor ausmultipliziert wird. Die Suche ist mühsam, sollte sich aber finden lassen.<u class=""></u><u class=""></u></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""> <u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Hilfe wäre willkommen!<u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""> <u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">Viele Grüße, Andreas<u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""> <u class=""></u><u class=""></u></div></div><div class=""><div class=""><p class="MsoNormal" style="margin:0in 0in 12pt;font-size:12pt;font-family:"Times New Roman",serif"><u class=""></u> <u class=""></u></p></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class="">On 3. Apr 2020, at 18:15, <<a href="mailto:rgb@nord-com.net" style="color:purple;text-decoration:underline" rel="noreferrer noreferrer" target="_blank" class=""><span style="color:purple" class="">rgb@nord-com.net</span></a>> <<a href="mailto:rgb@nord-com.net" style="color:purple;text-decoration:underline" rel="noreferrer noreferrer" target="_blank" class=""><span style="color:purple" class="">rgb@nord-com.net</span></a>> wrote:<u class=""></u><u class=""></u></div></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""> <u class=""></u><u class=""></u></div></div><div class=""><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class="">Hallo Andreas,</span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class=""> </span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class="">Ja, das könnte hinkommen… werde mich da mal einklinken. Ist ja auch nichts, was eine sofortige Lösung braucht… ich habe es nur nicht verstanden und schon an meinem Setup gezweifelt.</span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class=""> </span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class="">Viele Grüße,</span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class="">Alex</span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" class=""> </span><u class=""></u><u class=""></u></div></div></div><div style="border-style:none none none solid;border-left-width:1.5pt;border-left-color:blue;padding:0in 0in 0in 4pt" class=""><div class=""><div style="border-style:solid none none;border-top-width:1pt;border-top-color:rgb(181,196,223);padding:3pt 0in 0in" class=""><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><b class=""><span lang="DE" style="font-size:10pt;font-family:Tahoma,sans-serif" class="">From:</span></b><span lang="DE" style="font-size:10pt;font-family:Tahoma,sans-serif" class=""> volkszaehler-users [<a href="mailto:volkszaehler-users-bounces@demo.volkszaehler.org" style="color:purple;text-decoration:underline" rel="noreferrer noreferrer" target="_blank" class=""><span style="color:purple" class="">mailto:volkszaehler-users-bounces@demo.volkszaehler.org</span></a>] <b class="">On Behalf Of </b></span><span style="font-size:10pt;font-family:Tahoma,sans-serif" class="">Andreas Goetz<br class=""><b class="">Sent:</b> Thursday, April 02, 2020 8:08 PM<br class=""><b class="">To:</b> <a href="http://volkszaehler.org/" style="color:purple;text-decoration:underline" rel="noreferrer noreferrer" target="_blank" class=""><span style="color:purple" class="">volkszaehler.org</span></a> - users<br class=""><b class="">Subject:</b> Re: [vz-users] Frage zum Betriebsstundensensor</span><u class=""></u><u class=""></u></div></div></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span style="font-size:11pt;font-family:Calibri,sans-serif" class=""> </span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span style="font-size:11pt;font-family:Calibri,sans-serif" class="">Sieht aus wie <a href="https://github.com/volkszaehler/volkszaehler.org/issues/772" style="color:purple;text-decoration:underline" rel="noreferrer noreferrer" target="_blank" class=""><span style="color:purple" class="">https://github.com/volkszaehler/volkszaehler.org/issues/772</span></a>?</span><u class=""></u><u class=""></u></div></div></div></div><div class=""><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span style="font-size:11pt;font-family:Calibri,sans-serif" class=""> </span><u class=""></u><u class=""></u></div></div></div></div><div class=""><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span style="font-size:11pt;font-family:Calibri,sans-serif" class="">Hatte noch niemand Muße den Fehler zu suchen </span><span style="font-size:11pt;font-family:"Segoe UI Symbol",sans-serif" class="">😩</span><u class=""></u><u class=""></u></div></div></div></div><div class=""><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span style="font-size:11pt;font-family:Calibri,sans-serif" class=""> </span><u class=""></u><u class=""></u></div></div></div></div><div class=""><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span style="font-size:11pt;font-family:Calibri,sans-serif" class="">Viele Grüße, Andreas </span><u class=""></u><u class=""></u></div></div></div></div><div class=""><div class=""><div class=""><p class="MsoNormal" style="margin:0in 0in 12pt;font-size:12pt;font-family:"Times New Roman",serif"><span style="font-size:11pt;font-family:Calibri,sans-serif" class=""><br class=""><br class=""></span><u class=""></u><u class=""></u></p></div></div><p class="MsoNormal" style="margin:0in 0in 12pt;font-size:12pt;font-family:"Times New Roman",serif"><span style="font-size:11pt;font-family:Calibri,sans-serif" class="">Am 02.04.2020 um 18:43 schrieb <a href="mailto:rgb@nord-com.net" style="color:purple;text-decoration:underline" rel="noreferrer noreferrer" target="_blank" class=""><span style="color:purple" class="">rgb@nord-com.net</span></a>:</span><u class=""></u><u class=""></u></p></div><blockquote style="margin-top:5pt;margin-bottom:5pt" type="cite" class=""><div class=""><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span style="font-size:11pt;font-family:Calibri,sans-serif" class=""></span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class="">Hallo liebe Volkszähler-Nutzer und -Experten,</span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class=""> </span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class="">habe da gerade ein Fragezeichen auf der Stirn…</span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class=""> </span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class="">Ich nutze (u.a.) zwei Betriebsstundensensoren, einen für die tägliche Laufzeit meiner Heizung und einer für die kumulierte Brennerlaufzeit. Meine Heizung liefert z.B. alle paar Sekunden eine 1, wenn sie im Heizbetrieb ist, eine 0 wenn in der Abschaltung, das schreibe ich 1:1 via Middleware-Aufruf in den VZ. Selbiges gilt für die Brennerlaufzeit.</span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class=""> </span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class="">Ich bekomme damit eine schöne graphische Anzeige (states) sowie exakte Zahlen. Für meine Tabelle importiere ich den täglichen type=3 Aggregate-Wert, der noch mal 24 gerechnet werden muss, dann stimmt es exakt mit der Anzeige im Frontend (und den Tatsachen) zusammen.</span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class=""> </span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class="">Wenn ich nun im Frontend die Heizzeit für’s Jahr ansehe, im Current-Modus, stimmt das in etwa mit dem überein, was ich auch aus der DB rauskitzeln kann, das sind vom 1.1.2020 bis jetzt z.B. 765 Stunden in der Spalte „Verbrauch“.</span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class=""> </span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class="">Gehe ich vom „current“ in den „hourly“ mode, sind es plötzlich 903 Stunden, unter „monthly“ 541393h, unter „yearly“ 1681297h. </span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class=""> </span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class="">Was genau berechnet der VZ denn da? Der Verbrauch sollte doch immer gleich bleiben...? Bei meinen Impulskanälen (Gas-S0 und Brennerstarts) ist das ja auch so… der Gesamtverbrauch bleibt unabhhängig ob Current oder Daily-Yearly beim gemessenen Maximum.</span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class=""> </span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class="">Gerne kann ich Bilder posten oder einen Link zum Frontend, aber ich denke Ihr glaubt mir auch so… bitte um Eure Ideen wie das zustande kommen kann.</span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class=""> </span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class="">Danke & Gruss,</span><u class=""></u><u class=""></u></div></div></div><div class=""><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><span lang="DE" style="font-size:11pt;font-family:Calibri,sans-serif" class="">Alex</span><u class=""></u><u class=""></u></div></div></div></div></blockquote></div></div></div><div class=""><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""> <u class=""></u><u class=""></u></div></div></div></div></div><div style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif" class=""><workinghourssensor.png></div></div></div></div></div></blockquote></div></div></div></div></div></blockquote></div></div></div></div></div></div></div></blockquote></div><br class=""></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></body></html>