<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="">Hi,<div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 20. Dec 2019, at 10:55, <<a href="mailto:rgb@nord-com.net" class="">rgb@nord-com.net</a>> <<a href="mailto:rgb@nord-com.net" class="">rgb@nord-com.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;"><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="">Hallo Thomas und Andreas,<o:p class=""></o:p></span></div><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=""><o:p class=""> </o:p></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 habe mal versucht, auf Eure beiden Emails zusammen zu antworten… ich hoffe es wird nicht zu verwirrend.</span></div></div></div></blockquote><div><br class=""></div>Vorweg: Dein Quoting ist kaputt was es ziemlich schwierig macht der Maildiskussion zu folgen.</div><div><span style="color: rgb(31, 73, 125); font-family: Calibri, sans-serif; font-size: 11pt;" class=""> </span><br class=""><blockquote type="cite" class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;"><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span lang="DE" style="font-family: Calibri, sans-serif;" class="">Die virtuellen Kanäle haben ein paar Einschränkungen.<span class="Apple-converted-space"> </span></span><span style="font-family: Calibri, sans-serif;" class="">Ganz vorne weg: sie funktionieren immer mit der Auflösung in der die Daten jeweils abgerufen werden. Das Ergebnis kann daher nach Zoomstufe im Frontend (oder api) variieren.<o:p class=""></o:p></span></div><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=""><o:p class=""> </o:p></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="">Wenn ich es richtig verstehe, müsste der virtuelle Kanal doch die Eingaben für die Berechnung erhalten, die vom Frontend in der entsprechenden Auswahl und Zoomstufe des Eingabekanals auch angezeigt werden?</span></div></div></div></blockquote><div><br class=""></div>Genau.</div><div><span style="color: rgb(31, 73, 125); font-family: Calibri, sans-serif; font-size: 11pt;" class=""> </span><br class=""><blockquote type="cite" class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;"><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span lang="DE" style="font-family: Calibri, sans-serif;" class="">Das mit dem *60 ist verwirrend.<span class="Apple-converted-space"> </span></span><span style="font-family: Calibri, sans-serif;" class="">Evtl. funktioniert hier links vor rechts nicht- das wäre ein Bug. Könntest Du mit Klammern testen.<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-family: Calibri, sans-serif; color: rgb(55, 96, 146);" class=""><br class=""></span><span lang="DE" style="font-family: Calibri, sans-serif; color: rgb(55, 96, 146);" class="">Das funktioniert soweit, dann bekomme ich eine Ausgabe.<o:p class=""></o:p></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(228, 108, 10);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-family: Calibri, sans-serif;" class="">Was fehlt Dir denn? Soweit in Deinem Chart zu sehen (es würde helfen alle irrelevanten Kanäle auszublenden) funktioniert die Rechnung prinzipiell: Dein Ergebniskanal schwankt abhängig von den Brennerstarts. Evtl. hast Du noch die beiden Eingänge in1/in2 vertauscht.<o:p class=""></o:p></span></div></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><o:p class=""> </o:p></div></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span lang="DE" style="font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Nein, ist nicht vertauscht. Ja, der Ergebniskanal schwankt abhängig von den Brennerstarts, die Kurve zeigt zusätzlich zu der von Brenner ein/aus in der Breite fast identische Fast-Rechtecke, deren Höhe von den Laufzeit abzuhängen scheint.<span class="Apple-converted-space"> </span><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span lang="DE" style="color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></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;" class="">Was für Ergebnisse (Beispiele) erwartest du? Wie soll die Kurve dazu Aussehen?<o:p class=""></o:p></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: Tahoma, sans-serif;" class=""><o:p class=""> </o:p></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(55, 96, 146);" class="">Optimal wäre eine Linie, je nach durchschnittlicher Brennerlaufzeit (sagen wir mal 4-5 Minuten im angezeigten Zeitraum) entsprechend schwankt, oder als Steps, so wie die Anzahl der Brennerstarts.</span></div></div></blockquote><div><br class=""></div>4-5 Minuten geht halt nicht. Es wird immer der nächste Wert verarbeitet falls in der Abfrage an die Middleware nicht irgendwo ein &group=hour oder ähnliches drin steht. Das ist prinzipbedingt und nicht änderbar. </div><div><br class=""></div><div>Wenn Du da mehr Flexibilität brauchst Daten mit dbcopy nach InfluxDB exportieren und dort mit Grafana, InfluxQL oder Flux rumspielen. An der Stelle wird es bei VZ auch keine Weiterentwicklungen mehr geben.</div><div><br class=""><blockquote type="cite" class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;"><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(55, 96, 146);" class=""><o:p class=""></o:p></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(55, 96, 146);" class="">Wichtig wäre mir aber weniger der Graph, sondern dass die Zahlen stimmen, und da komme ich immer noch nicht dahinter…</span></div></div></blockquote><div><br class=""></div>Ggf. fehlt da eine Faktor von 3,6 um von Sekunden auf Stunden zu kommen.</div><div><span style="color: rgb(55, 96, 146); font-family: Calibri, sans-serif; font-size: 11pt;" class=""> </span><br class=""><blockquote type="cite" class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span lang="DE" style="font-family: Calibri, sans-serif;" class="">Das könnte der Denkfehler sein. VZ addiert nicht auf, das Frontend interpretiert die Daten im Zeitraum from= to=. </span></div></div></blockquote><div><br class=""></div>VZ addiert sehr wohl- nicht sicher was hier gemeint ist. </div><div><br class=""><blockquote type="cite" class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span lang="DE" style="font-family: Calibri, sans-serif;" class="">Für deinen Betriebsstundensensor sind das Summe-N*f(Faktor), für die Brennerstarts nur Summe-N.  In deiner Grafik siehst du max=1 für beide Sensoren. Ein weiteres Problem könnte die Einheit von Brennerstarts sein.  <o:p class=""></o:p></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(55, 96, 146);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span lang="DE" style="font-family: Calibri, sans-serif; color: rgb(55, 96, 146);" class="">Im angehängten Beispiel sieht man 4 mal Brenner ein/aus, gesamte Laufzeit 0,283, geteilt durch 4 Starts, mal 60 sind 4,245 Minuten durchschnittliche Laufzeit. So ermittle ich das momentan mit dem Taschenrechner, was ja korrekte Ergebnisse liefert.</span></div></div></blockquote></div><div><br class=""></div><div>Im Zweifel Rohwerte aus dem API holen und Rechnung mit den Werten in Excel aufmachen.</div><div><br class=""></div><div><blockquote type="cite" class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span lang="DE" style="font-family: Calibri, sans-serif; color: rgb(55, 96, 146);" class=""><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span lang="DE" style="font-family: Calibri, sans-serif; color: rgb(55, 96, 146);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span lang="DE" style="font-family: Calibri, sans-serif; color: rgb(55, 96, 146);" class="">Ich stehe da irgendwo auf dem Schlauch…</span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span lang="DE" style="font-family: Calibri, sans-serif; color: rgb(55, 96, 146);" class="">Viele Grüsse, Alex</span></div></div></blockquote><div><br class=""></div>Viele Grüße, Andreas</div><div><br class=""><blockquote type="cite" class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); 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; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span lang="DE" style="font-family: Calibri, sans-serif; color: rgb(55, 96, 146);" class=""><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span lang="DE" style="font-family: Calibri, sans-serif; color: rgb(55, 96, 146);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span lang="DE" style="font-family: Calibri, sans-serif; color: rgb(55, 96, 146);" class=""><o:p class=""> </o:p></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=""><o:p class=""> </o:p></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;" class=""><o:p class=""> </o:p></span></div></div><span id="cid:68D274F7-3131-49FC-AF3A-13B2F6A79CD9@fritz.box"><testkanal-settings.png></span><span id="cid:037C60A0-9D2F-4556-919F-1900A29CD60B@fritz.box"><testkanal-3.png></span></blockquote></div><br class=""></div></body></html>