[vz-users] Raspberry Volkszähler mit Erweiterung ohne Schaltausgänge - S0 zeigt Sägezahn

Matthias Behr mbehr at mcbehr.de
Fri Nov 6 22:04:02 CET 2015


Hmm. Sieht alles gut aus. Ich kann auch keine Rundungsfehler, o.ä. entdecken.

Bist du sicher, dass dein Webfront-end nicht auch bereits Durchschnittswerte liefert?

> Am 06.11.2015 um 21:03 schrieb Karlheinz <karlheinz.es at gmx.de>:
> 
> 
> ------- Original Nachricht --------
> Betreff: Re: [vz-users] Raspberry Volkszähler mit Erweiterung ohne Schaltausgänge - S0 zeigt Sägezahn
> 
>> Startest du vzlogger als root („sudo vzlogger…“)?
> Ja
>> Siehst du folgende Fehlermeldung gleich nach Start: (der Log beginnt erst später)
>> 
>> 			print(log_error, "failed to set policy to SCHED_FIFO for counter_thread", name().c_str());
>> 
> Nein, folgendes erscheint:
> root at raspberrypi:/home/pi# ./vzloggers0.sh
> [Nov 06 20:57:21][main] vzlogger v0.4.7 based on heads/s0216-0-g074d340909 from Tue, 3 Nov 2015 19:42:33 +0100 started.
> [Nov 06 20:57:21][mtr0] Creating new meter with protocol s0.
> [Nov 06 20:57:21][mtr0] Meter configured, disabled.
> [Nov 06 20:57:21]       New meter initialized (protocol=s0)
> [Nov 06 20:57:21]       Configure channel.
> [Nov 06 20:57:21][chn0] New channel initialized (uuid=...f95918 api=NULL id=Impulse)
> [Nov 06 20:57:21][mtr1] Creating new meter with protocol s0.
> [Nov 06 20:57:21][mtr1] Meter configured, enabled.
> [Nov 06 20:57:21]       New meter initialized (protocol=s0)
> [Nov 06 20:57:21]       Configure channel.
> [Nov 06 20:57:21][chn1] New channel initialized (uuid=...int api=NULL id=Power)
> [Nov 06 20:57:21]       Have 2 meters.
> [Nov 06 20:57:21][main] log level is 15
> [Nov 06 20:57:21][main] daemon=0, local=1
> [Nov 06 20:57:21]       Daemonize process...
> 
> Die ersten Zeilen im Log:
> [Nov 06 20:57:21][push] No pushDataServer defined.
> [Nov 06 20:57:21][]     ===> Start meters
> [Nov 06 20:57:21][mtr0] Meter for protocol 's0' is disabled. Skipping.
> [Nov 06 20:57:21][s0]   counter_thread created
> [Nov 06 20:57:21][mtr1] Meter connection established
> [Nov 06 20:57:21][mtr1] Meter thread started
> [Nov 06 20:57:21][mtr1] Meter is opened. Starting channels.
> [Nov 06 20:57:21][chn1] Logging thread not started
> [Nov 06 20:57:21][http] Starting local interface HTTPd on port 8081
> [Nov 06 20:57:21][]     Startup done.
> [Nov 06 20:57:21][s0]   Counter thread started with blocking hwif
> [Nov 06 20:57:21][S0]   MeterS0:HWIF_GPIO:first poll returned 1
> [Nov 06 20:57:21][mtr1] Number of readers: 4
> [Nov 06 20:57:21][mtr1] Config.daemon: 0
> [Nov 06 20:57:21][mtr1] Config.local: 1
> [Nov 06 20:57:22][s0]   Reading S0 - returning 1 readings (n=1 n_neg = 0)
> ...
> 
> Gruß
> Karlheinz

Gruß

Matthias



More information about the volkszaehler-users mailing list