[prev in list] [next in list] [prev in thread] [next in thread] 

List:       volkszaehler-dev
Subject:    Re: [vz-users] =?utf-8?q?Ferraris-Lesekopf_z=C3=A4hlt_doppelt=3F?=
From:       Nils op den Winkel <nils () kusemuckl ! de>
Date:       2015-05-13 18:28:33
Message-ID: CAK1_Amoovo-NHcWzD=h703XZ6ZLMuhLik_zP+aSvFCn_p6nLng () mail ! gmail ! com
[Download RAW message or body]

Somit wäre der Knoten in meinem Kopf auch gelöst. Vielen Dank dafür!

Am 13. Mai 2015 um 19:49 schrieb Matthias Behr <mbehr@mcbehr.de>:

> Hintergrund ist, dass der Code jeweils auf 2 Impulse wartet und gleich
> noch den zeitl. Abstand auswertet (für Identifier „Power"). Wenn du
> Identifier „Impulse" nutzt, bekommst du daher immer gleich 2 Impulse auf
> einmal geliefert. Es sind aber auch 2 angefallen, dürfte von der
> Zählart/-auflösung daher korrekt sein.
>
> Am 13.05.2015 um 08:05 schrieb Nils op den Winkel <nils@kusemuckl.de>:
>
> Hallo zusammen!
>
> Ich habe gestern einen Ferrariszähler-Lesekopf von Udo montiert und habe
> zwei Fragen:
>
> a) Ist es normal, dass vzlogger immer zwei Impulse an die Middleware
> meldet, wenn die rote Markierung vorbei kommt?
> [May 12 21:42:14][chn0] Adding reading to queue (value=2.00
> ts=1431459734229)
> [May 12 21:53:27][chn0] Adding reading to queue (value=2.00
> ts=1431460407277)
> [May 12 22:13:47][chn0] Adding reading to queue (value=2.00
> ts=1431461627548)
> [May 12 22:44:50][chn0] Adding reading to queue (value=2.00
> ts=1431463490165)
> [May 12 23:40:56][chn0] Adding reading to queue (value=2.00
> ts=1431466856590)
> [May 13 00:10:03][chn0] Adding reading to queue (value=2.00
> ts=1431468603918)
> [May 13 00:18:09][chn0] Adding reading to queue (value=2.00
> ts=1431469089860)
> [May 13 00:37:06][chn0] Adding reading to queue (value=2.00
> ts=1431470226231)
> [May 13 00:46:24][chn0] Adding reading to queue (value=2.00
> ts=1431470784908)
>
> b) Bei mir geht die rote led nie ganz aus. Sie wird nur dunkler. Ist das
> ein Problem? Hängt das eine mit dem anderen zusammen?
>
> Ich benutze vzlogger aus git von gestern unter Ubuntu 12.04 kompiliert mit
> install.sh:
> vzlogger -V
> 0.4.0
>  based on git version: heads/master-0-g19eb2d0ebf
>  last commit date: Sun, 19 Apr 2015 08:29:22 +0200
>
> Ich habe mich bei der vzlogger.conf weitestgehend an das beispiel im Wiki (
> http://wiki.volkszaehler.org/hardware/controllers/ferrariszaehler_lesekopf#installation)
> gehalten:
>
> {
> "retry" : 30,                      /* how long to sleep between failed
> requests, in seconds */
> "daemon": false,                    /* run periodically */
> "verbosity" : 5,                /* between 0 and 9999, je höher desto mehr
> Infos */
> "log" : "/var/log/vzlogger.log",   /* path to logfile, optional */
>
> "local" :  {
>             "enabled" : false,      /* local HTTPd for serving live
> readings, 'false' für Daten an die middleware !!! */
>             "port" : 8080,            /* the TCP port for the local HTTPd
> */
>             "index" : true,         /* should we provide a index listing
> of available channels if no UUID was requested? */
>             "timeout" : 30,         /* timeout for long polling comet
> requests, 0 disables comet, in seconds */
>             "buffer" : 600          /* how long to buffer readings for the
> local interface, in seconds */
>            },
>
> "meters" : [{                            /* Beispiel-Ferraris-Meter */
>              "enabled" : true,
>              "protocol" : "s0",
>              "device" : "/dev/ttyUSB0",
>              "aggtime" : 30,             /* aggregate all signals and give
> one update to middleware every 'aggtime' seconds */
>              "aggfixedinterval" : false, /* round all timestamps to
> middleware to nearest aggtime, reduces accuracy, use only when needed */
>              "channel" : {
>                            "uuid" : "45408de0-f8ac-11e4-a96d-0ba585b4d063",
>                            "middleware" : "
> http://woodstock/volkszaehler.org/middleware.php", /* http://IP
> <http://ip/> auf dem die Middleware läuft(normally: 127.0.0.1)
> /middleware.php */
>                            "identifier": "Impulse",        /* counts the
> S0 impulses. Can also supply "Power" readings */
>                            "aggmode" : "SUM"           /* add all s0
> intervals in the aggregation. Possible Modes: SUM, AVG, MAXIMUM and NONE*/
>                          }
>            }]
> }
>
> Mein Zähler hat 75U/kwh. Die Scheibe dreht sich also recht langsam.
>
> Ich hoffe ich habe keine relevanten Informationen unterschlagen.
>
> Schönen Gruß
>
> Nils
>
>
> Gruß
>
> Matthias
>
>

[Attachment #3 (text/html)]

<div dir="ltr">Somit wäre der Knoten in meinem Kopf auch gelöst. Vielen Dank \
dafür!</div><div class="gmail_extra"><br><div class="gmail_quote">Am 13. Mai 2015 um \
19:49 schrieb Matthias Behr <span dir="ltr">&lt;<a href="mailto:mbehr@mcbehr.de" \
target="_blank">mbehr@mcbehr.de</a>&gt;</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">Hintergrund ist, dass der Code jeweils auf 2 Impulse \
wartet und gleich noch den zeitl. Abstand auswertet (für Identifier „Power"). Wenn \
du Identifier „Impulse" nutzt, bekommst du daher immer gleich 2 Impulse auf einmal \
geliefert. Es sind aber auch 2 angefallen, dürfte von der Zählart/-auflösung daher \
korrekt sein.<div><div><div class="h5"><br><div><blockquote type="cite"><div>Am \
13.05.2015 um 08:05 schrieb Nils op den Winkel &lt;<a href="mailto:nils@kusemuckl.de" \
target="_blank">nils@kusemuckl.de</a>&gt;:</div><br><div><div dir="ltr">Hallo \
zusammen!<div><br></div><div><div>Ich habe gestern einen Ferrariszähler-Lesekopf von \
Udo montiert und habe zwei Fragen:<br></div><div><br></div><div>a) Ist es normal, \
dass vzlogger immer zwei Impulse an die Middleware meldet, wenn die rote Markierung \
vorbei kommt?</div><div><div>[May 12 21:42:14][chn0] Adding reading to queue \
(value=2.00 ts=1431459734229)</div><div>[May 12 21:53:27][chn0] Adding reading to \
queue (value=2.00 ts=1431460407277)</div><div>[May 12 22:13:47][chn0] Adding reading \
to queue (value=2.00 ts=1431461627548)</div><div>[May 12 22:44:50][chn0] Adding \
reading to queue (value=2.00 ts=1431463490165)</div><div>[May 12 23:40:56][chn0] \
Adding reading to queue (value=2.00 ts=1431466856590)</div><div>[May 13 \
00:10:03][chn0] Adding reading to queue (value=2.00 ts=1431468603918)</div><div>[May \
13 00:18:09][chn0] Adding reading to queue (value=2.00 \
ts=1431469089860)</div><div>[May 13 00:37:06][chn0] Adding reading to queue \
(value=2.00 ts=1431470226231)</div><div>[May 13 00:46:24][chn0] Adding reading to \
queue (value=2.00 ts=1431470784908)</div></div><div><br></div><div>b) Bei mir geht \
die rote led nie ganz aus. Sie wird nur dunkler. Ist das ein Problem? Hängt das eine \
mit dem anderen zusammen?</div><div><br></div><div>Ich benutze vzlogger aus git von \
gestern unter Ubuntu 12.04 kompiliert mit install.sh:</div><div><div>vzlogger \
-V</div><div>0.4.0</div><div>  based on git version: \
heads/master-0-g19eb2d0ebf</div><div>  last commit date: Sun, 19 Apr 2015 08:29:22 \
+0200</div></div></div><div><br></div><div>Ich habe mich bei der vzlogger.conf \
weitestgehend an das beispiel im Wiki (<a \
href="http://wiki.volkszaehler.org/hardware/controllers/ferrariszaehler_lesekopf#installation" \
target="_blank">http://wiki.volkszaehler.org/hardware/controllers/ferrariszaehler_lesekopf#installation</a>) \
gehalten:</div><div><br></div><div><div>{</div><div>&quot;retry&quot; : 30,           \
/* how long to sleep between failed requests, in seconds \
*/</div><div>&quot;daemon&quot;: false,                              /* run \
periodically */</div><div>&quot;verbosity&quot; : 5,                        /* \
between 0 and 9999, je höher desto mehr Infos */</div><div>&quot;log&quot; : \
&quot;/var/log/vzlogger.log&quot;,    /* path to logfile, optional \
*/</div><div><br></div><div>&quot;local&quot; :   {</div><div>                  \
&quot;enabled&quot; : false,         /* local HTTPd for serving live readings, \
&#39;false&#39; für Daten an die middleware !!! */</div><div>                  \
&quot;port&quot; : 8080,                  /* the TCP port for the local HTTPd \
*/</div><div>                  &quot;index&quot; : true,             /* should we \
provide a index listing of available channels if no UUID was requested? */</div><div> \
&quot;timeout&quot; : 30,             /* timeout for long polling comet requests, 0 \
disables comet, in seconds */</div><div>                  &quot;buffer&quot; : 600    \
/* how long to buffer readings for the local interface, in seconds */</div><div>      \
},</div><div><br></div><div>&quot;meters&quot; : [{                                   \
/* Beispiel-Ferraris-Meter */</div><div>                    &quot;enabled&quot; : \
true,</div><div>                    &quot;protocol&quot; : &quot;s0&quot;,</div><div> \
&quot;device&quot; : &quot;/dev/ttyUSB0&quot;,</div><div>                    \
&quot;aggtime&quot; : 30,                   /* aggregate all signals and give one \
update to middleware every &#39;aggtime&#39; seconds */</div><div>                    \
&quot;aggfixedinterval&quot; : false, /* round all timestamps to middleware to \
nearest aggtime, reduces accuracy, use only when needed */</div><div>                 \
&quot;channel&quot; : {</div><div>                                         \
&quot;uuid&quot; : &quot;45408de0-f8ac-11e4-a96d-0ba585b4d063&quot;,</div><div>       \
&quot;middleware&quot; : &quot;<a \
href="http://woodstock/volkszaehler.org/middleware.php" \
target="_blank">http://woodstock/volkszaehler.org/middleware.php</a>&quot;, /* <a \
href="http://ip/" target="_blank">http://IP</a> auf dem die Middleware \
läuft(normally: 127.0.0.1) /middleware.php */</div><div>                             \
&quot;identifier&quot;: &quot;Impulse&quot;,            /* counts the S0 impulses. \
Can also supply &quot;Power&quot; readings */</div><div>                              \
&quot;aggmode&quot; : &quot;SUM&quot;                /* add all s0 intervals in the \
aggregation. Possible Modes: SUM, AVG, MAXIMUM and NONE*/</div><div>                  \
}</div><div>                 }]</div><div>}</div></div><div><br></div><div>Mein \
Zähler hat 75U/kwh. Die Scheibe dreht sich also recht \
langsam.</div><div><br></div><div>Ich hoffe ich habe keine relevanten Informationen \
unterschlagen.</div><div><br></div><div>Schönen \
Gruß</div><div><br></div><div>Nils</div><div><br></div></div> \
</div></blockquote></div><br></div></div><div> <span \
style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:norm \
al;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;tex \
t-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div \
style="word-wrap:break-word"><div>Gruß</div><span class="HOEnZb"><font \
color="#888888"><div><br></div><div>Matthias</div></font></span></div></span> </div>
<br></div></div></blockquote></div><br></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic