<div dir="ltr">Jetzt habt ihr mich verwirrt.<div><br></div><div>Also vzlogger sendet die 2 an die middleware:</div><div><div><br></div><div>[May 12 21:36:02][s0]   Reading S0 - n=2 power=37.584392</div><div>[May 12 21:36:02][mtr0] Got 2 new readings from meter:</div><div>[May 12 21:36:02][mtr0] Reading: id=Power/StringItentifier: value=37.58 ts=1431459362092</div><div>[May 12 21:36:02][mtr0] Reading: id=Impulse/StringItentifier: value=2.00 ts=1431459362092</div><div>[May 12 21:36:02][chn0] Adding reading to queue (value=2.00 ts=1431459362092)</div><div>[May 12 21:36:02][SUM]  2.000000 @ 1431459362092</div><div>[May 12 21:36:02][SUM]  RESULT 2.000000 @ 1431459362092</div><div>[May 12 21:36:02][chn0] Buffer dump (size=1): {2.0000,}</div><div>[May 12 21:36:02][chn0] ==> number of tuples: 1</div><div>[May 12 21:36:02][chn0] compare: 1431459174383 1431459362092</div><div>[May 12 21:36:02][chn0] JSON request body: [ [ 1431459362092, 2 ] ]</div><div>[May 12 21:36:02][chn0] CURL: Connection #0 seems to be dead!</div><div>[May 12 21:36:02][chn0] CURL: Closing connection #0</div><div>[May 12 21:36:02][chn0] CURL: About to connect() to woodstock port 80 (#0)</div><div>[May 12 21:36:02][chn0] CURL:   Trying 127.0.1.1...</div><div>[May 12 21:36:02][chn0] CURL: connected</div><div>[May 12 21:36:02][chn0] CURL: Sent 24 bytes..</div><div>[May 12 21:36:02][chn0] CURL: Sent '[ [ 1431459362092, 2 ] ]' bytes</div><div>[May 12 21:36:02][chn0] CURL: upload completely sent off: 24out of 24 bytes</div><div>[May 12 21:36:02][chn0] CURL: Received 26 bytes</div><div>[May 12 21:36:02][chn0] CURL: Received '{"version":"0.3","rows":1}' bytes</div><div>[May 12 21:36:02][chn0] CURL: Connection #0 to host woodstock left intact</div><div>[May 12 21:36:02][chn0] CURL Request succeeded with code: 200</div></div><div><br></div><div>in meiner Datenbank steht auch immer ein value von "2" für den Kanal.</div><div><br></div><div>Wenn ich den Sourcecode richtig versteht, ist der MeterInterperter für die Umrechnung verantwortlich. Darin steht</div><div><br></div><div><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">(</span><span style="color:rgb(167,29,93);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">float</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">) (</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">$row</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">[</span><span style="color:rgb(0,134,179);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">1</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">] </span><span style="color:rgb(167,29,93);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">*</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap"> </span><span style="color:rgb(0,134,179);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">3.6e6</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap"> </span><span style="color:rgb(167,29,93);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">*</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap"> </span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">$this</span><span style="color:rgb(167,29,93);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">-></span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">scale</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">) </span><span style="color:rgb(167,29,93);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">/</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap"> (</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">$this</span><span style="color:rgb(167,29,93);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">-></span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">resolution</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap"> </span><span style="color:rgb(167,29,93);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">*</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap"> </span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">$delta</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap">)</span><br></div><div><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap"><br></span></div>Wenn ich das jetzt mal für zwei Impulse ausrechne:<div><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre-wrap"><br></span></div><div><div style="font-size:12.8000001907349px">[May 12 21:53:27][chn0] Adding reading to queue (value=2.00 ts=1431460407277)</div><div style="font-size:12.8000001907349px">[May 12 22:13:47][chn0] Adding reading to queue (value=2.00 ts=1431461627548)</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">(2 * 3.6e6 * 1000) / (75 * 1220271) = 78,67</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Und das zeigt mir das frontend auch bei Ausflösung 75 an. Aber in diesem Delta hat sich die Scheibe ja nur ein mal gedreht. Müsste deshalb die Rechnung nicht</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">(1 * 3.6e6 * 1000) / (75 * 1220271) = 39,34</span><br></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">sein?</span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Ich werde heute abend nochmal den Zähler ablesen, und schauen, wo mein Denkfehler ist.</span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Vielleicht liegt es auch an meiner alten middleware (ich glaube die ist von Oktober 2014)</span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Schönen Gruß</span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Nils</span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">Am 13. Mai 2015 um 09:04 schrieb 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"><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">2015-05-13 8:59 GMT+02:00 Udo1 <span dir="ltr"><<a href="mailto:udo1@gmx.net" target="_blank">udo1@gmx.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Moin,<span><br>
<br>
Am 13.05.2015 um 08:55 schrieb Andreas Goetz:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
    Das heißt, ich stelle in der middleware die Auflösung einfach auf<br>
    150 statt 75 und alles ist gut? Damit kann ich leben.<br>
<br>
<br>
Nein, es bleibt bei 150. M.E. sendet vzlogger den "Wert" 1 der sich aus "Count" 2 Impulsen errechnet hat. Ich besprech das mal mit den Entwicklern ob sinnvoll.<br>
</blockquote></span>
Nein, auf 75, also die Zählerkonstante.<br></blockquote><div><br></div></div></div><div>Entschuldigung, natürlich- trotz der etwas verwirrenden 2 bleibt es bei 75 wie Udo schreibt. Keine Umrechnungen.<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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>