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

Karlheinz karlheinz.es at gmx.de
Fri Nov 6 21:03:40 CET 2015


------- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20151106/4408fa86/attachment.html>


More information about the volkszaehler-users mailing list