<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hallo Karlheinz,<div class=""><br class=""></div><div class="">bitte Issue einstellen. Hab mir den Code grad noch mal angeschaut und auf den ersten Blick keinen Fehler gefunden.</div><div class=""><br class=""></div><div class="">Bitte Ausgabe von </div><div class="">vzlogger -V</div><div class="">trace mit verbose 15</div><div class="">und config anhängen.</div><div class=""><br class=""></div><div class="">Fixe ich dann gleich.</div><div class=""><br class=""></div><div class="">Probier vorher aber mal</div><div class="">aggtime bei Meter zu setzen und aggmode pro Channel. In deinem Beispiel ist aggtime bei Channel gesetzt, das ist so eigentlich nicht gedacht.</div><div class=""><br class=""></div><div class="">Danke!</div><div class=""><br class=""></div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">Am 25.09.2015 um 19:24 schrieb Matthias Behr <<a href="mailto:mbehr@mcbehr.de" class="">mbehr@mcbehr.de</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hallo Andreas,<div class=""><br class=""></div><div class="">local liefert die gleichen Werte, die auch an die Middleware geliefert werden.</div><div class="">(Anders als pushdata)</div><div class=""><br class=""></div><div class="">Gruß</div><div class="">Matthias<br class=""><div class=""><blockquote type="cite" class=""><div class="">Am 18.09.2015 um 18:36 schrieb Andreas Götz <<a href="mailto:cpuidle@gmail.com" class="">cpuidle@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class=""><div class=""></div><div class="">Hallo Matthias,</div><div class=""><br class=""></div><div class="">Wie ist das mit dem local httpd: werden hier aggregierte oder Rohwerte ausgegeben?</div><div class=""><br class=""></div><div class="">@Karlheinz: warum brauchst Du den local httpd und wofür?</div><div class=""><br class=""></div><div class="">Viele Grüße, Andreas </div><div class=""><br class="">Am 18.09.2015 um 15:46 schrieb Karlheinz <<a href="mailto:karlheinz.es@gmx.de" class="">karlheinz.es@gmx.de</a>>:<br class=""><br class=""></div><blockquote type="cite" class=""><div class="">
<meta http-equiv="content-type" content="text/html; charset=utf-8" class="">
<font size="-1" class="">Hallo,<br class="">
<br class="">
jetzt habe ich schon einiges probiert, aber leider noch nicht die
richtige Einstellung für eine Zusammenfassung (60 Sekunden) von
S0-Impulsen und Anzeige mit dem local-vzlogger-httpd gefunden.<br class="">
Mit <br class="">
"aggtime": 60, // aggregate all signals and give one
update to midd<br class="">
"aggmode": "SUM", <br class="">
unter channels werden die Impulse komplett addiert. Unter "value"
steht im Log immer nur 899.76 bei zwei Impulsen oder 1799.76 bei
einem Impuls??<br class="">
<br class="">
s. LOG:<br class="">
...<br class="">
[Sep 18 15:18:22][mtr1] Got 2 new readings from meter:<br class="">
[Sep 18 15:18:22][mtr1] Reading: id=Power/StringItentifier:
value=899.76 ts=1442<br class="">
[Sep 18 15:18:22][mtr1] Reading: id=Impulse/StringItentifier:
value=2.00 ts=1442<br class="">
[Sep 18 15:18:22][chn1] Adding reading to queue (value=2.00
ts=1442582302281)<br class="">
[Sep 18 15:18:22][SUM] 1506.000000 @ 1442582301280<br class="">
[Sep 18 15:18:22][SUM] 2.000000 @ 1442582302281<br class="">
[Sep 18 15:18:22][SUM] RESULT 1508.000000 @ 1442582302281<br class="">
[Sep 18 15:18:22][chn1] Buffer dump (size=1): {1508.0000,}<br class="">
[Sep 18 15:18:22][S0] MeterS0:HWIF_GPIO:first poll returned 1<br class="">
[Sep 18 15:18:23][s0] Reading S0 - returning 2 readings (n=1
n_neg = 0)<br class="">
[Sep 18 15:18:23][mtr1] Got 2 new readings from meter:<br class="">
[Sep 18 15:18:23][mtr1] Reading: id=Power/StringItentifier:
value=1799.76 ts=144<br class="">
[Sep 18 15:18:23][mtr1] Reading: id=Impulse/StringItentifier:
value=1.00 ts=1442<br class="">
[Sep 18 15:18:23][chn1] Adding reading to queue (value=1.00
ts=1442582303281)<br class="">
[Sep 18 15:18:23][SUM] 1508.000000 @ 1442582302281<br class="">
[Sep 18 15:18:23][SUM] 1.000000 @ 1442582303281<br class="">
[Sep 18 15:18:23][SUM] RESULT 1509.000000 @ 1442582303281<br class="">
[Sep 18 15:18:23][chn1] Buffer dump (size=1): {1509.0000,}<br class="">
[Sep 18 15:18:23][S0] MeterS0:HWIF_GPIO:first poll returned 1<br class="">
[Sep 18 15:18:23][S0] MeterS0:HWIF_GPIO:first poll returned 1<br class="">
...<br class="">
</font><font size="-1" class="">Der lokale vzlogger-daemon zeigt sekündlich
ändernde Werte anstatt pro Minute einen Wert:<br class="">
</font>
<pre class="">{ "version": "0.4.4", "generator": "vzlogger", "data": [ { "uuid": "7836dd20-00d5-11e0-bab1-856ed5f95918", "last": 0, "interval": -1, "protocol": "s0" }, { "uuid": "7836dd20-00d5-11e0-bab1-856ed5f95919", "last": 1442582613335, "interval": -1, "protocol": "s0", "tuples": [ [ 1442582554325, 1805.000000 ], [ 1442582555325, 1806.000000 ], [ 1442582556325, 1807.000000 ], [ 1442582557325, 1808.000000 ], [ 1442582558325, 1809.000000 ], [ 1442582559326, 1810.000000 ], [ 1442582560326, 1811.000000 ], [ 1442582561326, 1812.000000 ], [ 1442582562326, 1813.000000 ], [ 1442582563326, 1814.000000 ], [ 1442582564326, 1815.000000 ], [ 1442582565327, 1816.000000 ], [ 1442582566327, 1817.000000 ], [ 1442582567327, 1818.000000 ], [ 1442582568327, 1819.000000 ], [ 1442582569327, 1820.000000 ], [ 1442582570327, 1821.000000 ], [ 1442582571328, 1822.000000 ], [ 1442582572328, 1823.000000 ], [ 1442582573328, 1824.000000 ], [ 1442582574328, 1826.000000 ], [ 1442582576328, 1827.000000 ], [ 144258257
7329, 1828.000000 ], [ 1442582578329, 1829.000000 ], [ 1442582579329, 1830.000000 ], [ 1442582580329, 1831.000000 ], [ 1442582581329, 1832.000000 ], [ 1442582582330, 1833.000000 ], [ 1442582583330, 1834.000000 ], [ 1442582584330, 1835.000000 ], [ 1442582585330, 1836.000000 ], [ 1442582586330, 1837.000000 ], [ 1442582587330, 1838.000000 ], [ 1442582588331, 1840.000000 ], [ 1442582589331, 1841.000000 ], [ 1442582590331, 1842.000000 ], [ 1442582591331, 1843.000000 ], [ 1442582592331, 1844.000000 ], [ 1442582593332, 1845.000000 ], [ 1442582594332, 1846.000000 ], [ 1442582595332, 1847.000000 ], [ 1442582596332, 1848.000000 ], [ 1442582597332, 1849.000000 ], [ 1442582598332, 1850.000000 ], [ 1442582599333, 1851.000000 ], [ 1442582600333, 1852.000000 ], [ 1442582601333, 1854.000000 ], [ 1442582602333, 1855.000000 ], [ 1442582603333, 1856.000000 ], [ 1442582604333, 1857.000000 ], [ 1442582605334, 1858.000000 ], [ 1442582606334, 1859.000000 ], [ 1442582607334, 1860.000000 ], [ 1442582608334,
1862.000000 ], [ 1442582609334, 1863.000000 ], [ 1442582610335, 1864.000000 ], [ 1442582611335, 1865.000000 ], [ 1442582612335, 1866.000000 ], [ 1442582613335, 1867.000000 ] ] } ] }</pre>
Hat jemand einen Tip für mich?<br class="">
<br class="">
Gruß<br class="">
Karlheinz<br class="">
</div></blockquote><blockquote type="cite" class=""><div class=""><vzloggers0.conf></div></blockquote></div></div></blockquote></div><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Gruß</div><div class=""><br class=""></div><div class="">Matthias</div></div></span>
</div>
<br class=""></div></div></div></blockquote></div><br class=""><div class="">
<span class="Apple-style-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; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Gruß</div><div class=""><br class=""></div><div class="">Matthias</div></div></span>
</div>
<br class=""></body></html>