Discussion:
[vz-users] S0-Zähler ziert sich noch
Erich Hagen
2015-10-10 14:57:20 UTC
Permalink
Hallo,



ich glaub, ich hab noch einen kleinen "Bug" in meinem vzlogger.config.

Wenn ich den random aktiviere, erhalte ich das Ergebnis auf dem Client.





Die Daten vom S0-ZÀhler sehe ich aber nicht.

Was habe ich noch vergessen/ÃŒbersehen?



Über einen Hinweis wÃŒrde ich mich freuen.



Schöne GrÌße

Erich Hagen



{

"retry": 1,



"meters": [

{

"enabled": false,

"allowskip": false,

"interval": -1,

"aggtime": -1,

"aggfixedinterval": false,

"channels": [

{

"uuid": "...620a",

"identifier": "",

"api": "volkszaehler",

"middleware": " <http://localhost/middleware.php> http://localhost/middleware.php",

"secretKey": "",

"type": "device",

"scaler": 1,

"aggmode": "none",

"duplicates": 0

}

],

"protocol": "random",

"min": 0.0,

"max": 10.0,

"device": "",

"gpio": -1,

"mmap": "",

"gpio_dir": -1,

"configureGPIO": false,

"resolution": 1000,

"send_zero": false,

"debounce_delay": 30,

"nonblocking_delay": 100000

},



{

"enabled": true,

"allowskip": false,

"interval": -1,

"aggtime": -1,

"aggfixedinterval": false,

"channels": [

{



"uuid": "...ea8df",

"identifier": "",

"api": "volkszaehler",

"middleware": " <http://localhost/middleware.php> http://localhost/middleware.php",

"secretKey": "",

"type": "device",

"scaler": 1,

"aggmode": "none",

"duplicates": 0

}

],

"protocol": "s0",

"device": "1.8.1",

"gpio": 4,

"mmap": "",

"gpio_dir": -1,

"configureGPIO": true,

"identifier":"impulse",

"resolution": 1600,

"send_zero": false,

"debounce_delay": 30,

"nonblocking_delay": 100000

}



]

}

==========================================================

***@raspberrypi ~ $ sudo vzlogger -v 15 -c /etc/vzlogger.conf -o /var/log/vzlogger.log [Oct 10 10:20:37][main] vzlogger v0.4.4 based on

heads/master-0-g084fa52872 from Mon, 3 Aug 2015 23:00:48 +0200 started.

[Oct 10 10:20:37] Start parsing configuration from /etc/vzlogger.conf

[Oct 10 10:20:37][mtr0] Creating new meter with protocol random.

[Oct 10 10:20:37][mtr0] Interval has to be set and positive!

[Oct 10 10:20:37][mtr0] Meter configured, disabled.

[Oct 10 10:20:37] New meter initialized (protocol=random)

[Oct 10 10:20:37] Configure channel.

[Oct 10 10:20:37][chn0] New channel initialized (uuid=...78620a api=volkszaehler id=) [Oct 10 10:20:37][mtr1] Creating new meter with protocol s0.

[Oct 10 10:20:37][s0] unknown option for mmap (). Falling back to

normal gpio.

[Oct 10 10:20:37][mtr1] Meter configured, enabled.

[Oct 10 10:20:37] New meter initialized (protocol=s0)

[Oct 10 10:20:37] Configure channel.

[Oct 10 10:20:37][chn1] New channel initialized (uuid=...3ea8df api=volkszaehler id=)

[Oct 10 10:20:37] Have 2 meters.

[Oct 10 10:20:37][main] log level is 15

[Oct 10 10:20:37][main] daemon=0, local=0

[Oct 10 10:20:37] Process not daemonized...

[Oct 10 10:20:37] Opened logfile /var/log/vzlogger.log

[Oct 10 10:20:37][push] No pushDataServer defined.

[Oct 10 10:20:37][] ===> Start meters

[Oct 10 10:20:37][mtr0] Meter for protocol 'random' is disabled. Skipping.

[Oct 10 10:20:37][s0] counter_thread created

[Oct 10 10:20:37][s0] Counter thread started with blocking hwif

[Oct 10 10:20:37][mtr1] Meter connection established

[Oct 10 10:20:37][S0] MeterS0:HWIF_GPIO:first poll returned 1

[Oct 10 10:20:37][mtr1] Meter thread started [Oct 10 10:20:37][mtr1] Number of readers: 4 [Oct 10 10:20:37][mtr1] Meter is opened. Starting channels.

[Oct 10 10:20:37][mtr1] Config.daemon: 0 [Oct 10 10:20:37][mtr1] Config.local: 0 [Oct 10 10:20:37][chn1] Logging thread started [Oct 10 10:20:37][chn1] Start logging thread for volkszaehler-api.

Running as daemon: no

[Oct 10 10:20:37][] Startup done.

[Oct 10 10:20:37][chn1] Using default volkszaehler api.

[Oct 10 10:20:38][S0] MeterS0:HWIF_GPIO:first poll returned 1

[Oct 10 10:20:38][s0] Reading S0 - returning 2 readings (n=2 n_neg = 0)

[Oct 10 10:20:38][mtr1] Got 2 new readings from meter:

[Oct 10 10:20:38][mtr1] Reading: id=Power/StringItentifier:

value=1124.89 ts=1444465238923

[Oct 10 10:20:38][mtr1] Reading: id=Impulse/StringItentifier: value=2.00

ts=1444465238923

[Oct 10 10:20:38][chn1] Buffer dump (size=0): {} [Oct 10 10:20:38][chn1] ==> number of tuples: 0 [Oct 10 10:20:38][chn1] JSON request body is null. Nothing to send now.

[Oct 10 10:20:39][S0] MeterS0:HWIF_GPIO:first poll returned 1

[Oct 10 10:20:39][s0] Reading S0 - returning 2 readings (n=1 n_neg = 0)

[Oct 10 10:20:39][mtr1] Got 2 new readings from meter:

[Oct 10 10:20:39][mtr1] Reading: id=Power/StringItentifier:

value=2249.77 ts=1444465239923

[Oct 10 10:20:39][mtr1] Reading: id=Impulse/StringItentifier: value=1.00

ts=1444465239923

[Oct 10 10:20:39][chn1] Buffer dump (size=0): {} [Oct 10 10:20:39][chn1] ==> number of tuples: 0 [Oct 10 10:20:39][chn1] JSON request body is null. Nothing to send now.

[Oct 10 10:20:40][S0] MeterS0:HWIF_GPIO:first poll returned 1

[Oct 10 10:20:40][s0] Reading S0 - returning 2 readings (n=1 n_neg = 0)

[Oct 10 10:20:40][mtr1] Got 2 new readings from meter:

[Oct 10 10:20:40][mtr1] Reading: id=Power/StringItentifier:

value=2249.74 ts=1444465240923

[Oct 10 10:20:40][mtr1] Reading: id=Impulse/StringItentifier: value=1.00

ts=1444465240923

[Oct 10 10:20:40][chn1] Buffer dump (size=0): {} [Oct 10 10:20:40][chn1] ==> number of tuples: 0 [Oct 10 10:20:40][chn1] JSON request body is null. Nothing to send now.

[Oct 10 10:20:41][S0] MeterS0:HWIF_GPIO:first poll returned 1

[Oct 10 10:20:41][s0] Reading S0 - returning 2 readings (n=1 n_neg = 0)

[Oct 10 10:20:41][mtr1] Got 2 new readings from meter:

[Oct 10 10:20:41][mtr1] Reading: id=Power/StringItentifier:

value=2249.69 ts=1444465241923

[Oct 10 10:20:41][mtr1] Reading: id=Impulse/StringItentifier: value=1.00

ts=1444465241923

[Oct 10 10:20:41][chn1] Buffer dump (size=0): {} [Oct 10 10:20:41][chn1] ==> number of tuples: 0 [Oct 10 10:20:41][chn1] JSON request body is null. Nothing to send now.

[Oct 10 10:20:43][S0] MeterS0:HWIF_GPIO:first poll returned 1

[Oct 10 10:20:43][s0] Reading S0 - returning 2 readings (n=1 n_neg = 0)

[Oct 10 10:20:43][mtr1] Got 2 new readings from meter:

[Oct 10 10:20:43][mtr1] Reading: id=Power/StringItentifier:

value=1124.94 ts=1444465243923

[Oct 10 10:20:43][mtr1] Reading: id=Impulse/StringItentifier: value=1.00

ts=1444465243923

[Oct 10 10:20:43][chn1] Buffer dump (size=0): {} [Oct 10 10:20:43][chn1] ==> number of tuples: 0 [Oct 10 10:20:43][chn1] JSON request body is null. Nothing to send now.

[Oct 10 10:20:44][S0] MeterS0:HWIF_GPIO:first poll returned 1

[Oct 10 10:20:44][s0] Reading S0 - returning 2 readings (n=1 n_neg = 0)

[Oct 10 10:20:44][mtr1] Got 2 new readings from meter:

[Oct 10 10:20:44][mtr1] Reading: id=Power/StringItentifier:

value=2249.77 ts=1444465244923

[Oct 10 10:20:44][mtr1] Reading: id=Impulse/StringItentifier: value=1.00

ts=1444465244923

[Oct 10 10:20:44][chn1] Buffer dump (size=0): {} [Oct 10 10:20:44][chn1] ==> number of tuples: 0 [Oct 10 10:20:44][chn1] JSON request body is null. Nothing to send now.

[Oct 10 10:20:45][S0] MeterS0:HWIF_GPIO:first poll returned 1

[Oct 10 10:20:45][s0] Reading S0 - returning 2 readings (n=1 n_neg = 0)

[Oct 10 10:20:45][mtr1] Got 2 new readings from meter:

[Oct 10 10:20:45][mtr1] Reading: id=Power/StringItentifier:

value=2249.77 ts=1444465245923

[Oct 10 10:20:45][mtr1] Reading: id=Impulse/StringItentifier: value=1.00

ts=1444465245923

[Oct 10 10:20:45][chn1] Buffer dump (size=0): {} [Oct 10 10:20:45][chn1] ==> number of tuples: 0 [Oct 10 10:20:45][chn1] JSON request body is null. Nothing to send now.

[Oct 10 10:20:46][S0] MeterS0:HWIF_GPIO:first poll returned 1

[Oct 10 10:20:46][s0] Reading S0 - returning 2 readings (n=1 n_neg = 0)

[Oct 10 10:20:46][mtr1] Got 2 new readings from meter:

[Oct 10 10:20:46][mtr1] Reading: id=Power/StringItentifier:

value=2249.77 ts=1444465246923

[Oct 10 10:20:46][mtr1] Reading: id=Impulse/StringItentifier: value=1.00

ts=1444465246923

[Oct 10 10:20:46][chn1] Buffer dump (size=0): {} [Oct 10 10:20:46][chn1] ==> number of tuples: 0 [Oct 10 10:20:46][chn1] JSON request body is null. Nothing to send now.

[Oct 10 10:20:47][S0] MeterS0:HWIF_GPIO:first poll returned 1

[Oct 10 10:20:47][s0] Reading S0 - returning 2 readings (n=1 n_neg = 0)

[Oct 10 10:20:47][mtr1] Got 2 new readings from meter:

[Oct 10 10:20:47][mtr1] Reading: id=Power/StringItentifier:

value=2249.71 ts=1444465247924

[Oct 10 10:20:47][mtr1] Reading: id=Impulse/StringItentifier: value=1.00

ts=1444465247924

[Oct 10 10:20:47][chn1] Buffer dump (size=0): {} [Oct 10 10:20:47][chn1] ==> number of tuples: 0 [Oct 10 10:20:47][chn1] JSON request body is null. Nothing to send now.

[Oct 10 10:20:49][S0] MeterS0:HWIF_GPIO:first poll returned 1

[Oct 10 10:20:49][s0] Reading S0 - returning 2 readings (n=1 n_neg = 0)

[Oct 10 10:20:49][mtr1] Got 2 new readings from meter:

[Oct 10 10:20:49][mtr1] Reading: id=Power/StringItentifier:

value=1124.94 ts=1444465249924

[Oct 10 10:20:49][mtr1] Reading: id=Impulse/StringItentifier: value=1.00

ts=1444465249924

[Oct 10 10:20:49][chn1] Buffer dump (size=0): {} [Oct 10 10:20:49][chn1] ==> number of tuples: 0 [Oct 10 10:20:49][chn1] JSON request body is null. Nothing to send now.

[Oct 10 10:20:50][S0] MeterS0:HWIF_GPIO:first poll returned 1

[Oct 10 10:20:50][s0] Reading S0 - returning 2 readings (n=1 n_neg = 0)

[Oct 10 10:20:50][mtr1] Got 2 new readings from meter:

[Oct 10 10:20:50][mtr1] Reading: id=Power/StringItentifier:

value=2249.77 ts=1444465250924

[Oct 10 10:20:50][mtr1] Reading: id=Impulse/StringItentifier: value=1.00

ts=1444465250924

[Oct 10 10:20:50][chn1] Buffer dump (size=0): {} [Oct 10 10:20:50][chn1] ==> number of tuples: 0 [Oct 10 10:20:50][chn1] JSON request body is null. Nothing to send now.

[Oct 10 10:20:51][S0] MeterS0:HWIF_GPIO:first poll returned 1

^C[Oct 10 10:20:51] terminating on signal 2.

[Oct 10 10:20:51] Closing connections to terminate

*** glibc detected *** vzlogger: free(): corrupted unsorted chunks:

0x00a14fc8 ***

***@raspberrypi ~ $
Udo1
2015-10-10 15:33:48 UTC
Permalink
Post by Erich Hagen
"identifier": "",
Fehlt. Für S0: 'Impulse'.

Gruß
Udo
Erich Hagen
2015-10-10 16:15:16 UTC
Permalink
Hllo Udo,

danke fÃŒr die Info.

Hab den Identifier auf „Impulse“ gesetzt.
Am Ergebnis Àndert sich nichts.
Es wird nichts angezeigt.

Gruß, Erich

PS:
Gibt es eine Beschreibung der Parameter, die ich zu Rate ziehen könnte?
Ich möchte deine UnterstÌtzung nicht mit trivialen Dingen Ìberstrapazieren.
Ich meine so etwas wie ein Wiki, in dem alle Parameter incl. der gegenseitigen AbhÀngigkeiten beschrieben sind.


===========================
***@raspberrypi ~ $ sudo vzlogger -c /etc/vzlogger.conf -v 15
[Oct 10 17:51:07][main] vzlogger v0.4.4 based on heads/master-0-g084fa52872 from Mon, 3 Aug 2015 23:00:48 +0200 started.
[Oct 10 17:51:07] Start parsing configuration from /etc/vzlogger.conf
[Oct 10 17:51:07][mtr0] Creating new meter with protocol random.
[Oct 10 17:51:07][mtr0] Interval has to be set and positive!
[Oct 10 17:51:07][mtr0] Meter configured, disabled.
[Oct 10 17:51:07] New meter initialized (protocol=random)
[Oct 10 17:51:07] Configure channel.
[Oct 10 17:51:07][chn0] New channel initialized (uuid=...78620a api=volkszaehler id=)
[Oct 10 17:51:07][mtr1] Creating new meter with protocol s0.
[Oct 10 17:51:07][s0] unknown option for mmap (). Falling back to normal gpio.
[Oct 10 17:51:07][mtr1] Meter configured, enabled.
[Oct 10 17:51:07] New meter initialized (protocol=s0)
[Oct 10 17:51:07] Configure channel.
[Oct 10 17:51:07][chn1] New channel initialized (uuid=...3ea8df api=volkszaehler id=impulse)
[Oct 10 17:51:07] Have 2 meters.
[Oct 10 17:51:07][main] log level is 15
[Oct 10 17:51:07][main] daemon=0, local=0
[Oct 10 17:51:07] Process not daemonized...
[Oct 10 17:51:07][push] No pushDataServer defined.
[Oct 10 17:51:07][] ===> Start meters
[Oct 10 17:51:07][mtr0] Meter for protocol 'random' is disabled. Skipping.
[Oct 10 17:51:07][s0] counter_thread created
[Oct 10 17:51:07][s0] Counter thread started with blocking hwif
[Oct 10 17:51:07][mtr1] Meter connection established
[Oct 10 17:51:07][mtr1] [Oct 10 17:51:07][S0] Meter thread startedMeterS0:HWIF_GPIO:first poll returned 1
[Oct 10 17:51:07][mtr1] Number of readers: 4

[Oct 10 17:51:07][mtr1] Config.daemon: 0
[Oct 10 17:51:07][mtr1] Meter is opened. Starting channels.
[Oct 10 17:51:07][mtr1] Config.local: 0
[Oct 10 17:51:07][chn1] Logging thread started
[Oct 10 17:51:07][chn1] Start logging thread for volkszaehler-api. Running as daemon: no
[Oct 10 17:51:07][] Startup done.
[Oct 10 17:51:07][chn1] Using default volkszaehler api.
[Oct 10 17:51:08][s0] Reading S0 - returning 2 readings (n=1 n_neg = 0)
[Oct 10 17:51:08][mtr1] Got 2 new readings from meter:
[Oct 10 17:51:08][mtr1] Reading: id=Power/StringItentifier: value=2249.69 ts=1444492268257
[Oct 10 17:51:08][mtr1] Reading: id=Impulse/StringItentifier: value=1.00 ts=1444492268257


==============================


{
"retry": 1,

"meters": [
{
"enabled": false,
"allowskip": false,
"interval": -1,
"aggtime": -1,
"aggfixedinterval": false,
"channels": [
{
"uuid": „...620a",
"identifier": "",
"api": "volkszaehler",
"middleware": "http://localhost/middleware.php <http://localhost/middleware.php>",
"secretKey": "",
"type": "device",
"scaler": 1,
"aggmode": "none",
"duplicates": 0
}
],
"protocol": "random",
"min": 0.0,
"max": 10.0,
"device": "",
"gpio": -1,
"mmap": "",
"gpio_dir": -1,
"configureGPIO": false,
"resolution": 1000,
"send_zero": false,
"debounce_delay": 30,
"nonblocking_delay": 100000
},

{
"enabled": true,
"allowskip": false,
"interval": -1,
"aggtime": 5,
"aggfixedinterval": true,
"aggmode": "SUM",
"channels": [
{

"uuid": „...ea8df",
"identifier": "impulse",
"api": "volkszaehler",
"middleware": "http://localhost/middleware.php <http://localhost/middleware.php>",
"secretKey": "",
"type": "device",
"scaler": 1,
"aggmode": "none",
"duplicates": 0
}
],
"protocol": "s0",
"device": "1.8.1",
"gpio": 4,
"mmap": "",
"gpio_dir": -1,
"configureGPIO": true,
"identifier":"impulse",
"resolution": 1600,
"send_zero": false,
"debounce_delay": 30,
"nonblocking_delay": 100000
}

]
}
===========================
Post by Erich Hagen
"identifier": "",
Fehlt. FÃŒr S0: 'Impulse'.
Gruß
Udo
Matthias Behr
2015-10-10 16:42:26 UTC
Permalink
Schreib „Impulse“ in der Config mal mit großem I. Ich weiß nicht, die die Suche case-insensitive ist.
Post by Erich Hagen
"uuid": „...ea8df",
"identifier": "impulse“,
Hllo Udo,
danke fÃŒr die Info.
Hab den Identifier auf „Impulse“ gesetzt.
Am Ergebnis Àndert sich nichts.
Es wird nichts angezeigt.
Gruß, Erich
Gibt es eine Beschreibung der Parameter, die ich zu Rate ziehen könnte?
Ich möchte deine UnterstÌtzung nicht mit trivialen Dingen Ìberstrapazieren.
Ich meine so etwas wie ein Wiki, in dem alle Parameter incl. der gegenseitigen AbhÀngigkeiten beschrieben sind.
===========================
[Oct 10 17:51:07][main] vzlogger v0.4.4 based on heads/master-0-g084fa52872 from Mon, 3 Aug 2015 23:00:48 +0200 started.
[Oct 10 17:51:07] Start parsing configuration from /etc/vzlogger.conf
[Oct 10 17:51:07][mtr0] Creating new meter with protocol random.
[Oct 10 17:51:07][mtr0] Interval has to be set and positive!
[Oct 10 17:51:07][mtr0] Meter configured, disabled.
[Oct 10 17:51:07] New meter initialized (protocol=random)
[Oct 10 17:51:07] Configure channel.
[Oct 10 17:51:07][chn0] New channel initialized (uuid=...78620a api=volkszaehler id=)
[Oct 10 17:51:07][mtr1] Creating new meter with protocol s0.
[Oct 10 17:51:07][s0] unknown option for mmap (). Falling back to normal gpio.
[Oct 10 17:51:07][mtr1] Meter configured, enabled.
[Oct 10 17:51:07] New meter initialized (protocol=s0)
[Oct 10 17:51:07] Configure channel.
[Oct 10 17:51:07][chn1] New channel initialized (uuid=...3ea8df api=volkszaehler id=impulse)
[Oct 10 17:51:07] Have 2 meters.
[Oct 10 17:51:07][main] log level is 15
[Oct 10 17:51:07][main] daemon=0, local=0
[Oct 10 17:51:07] Process not daemonized...
[Oct 10 17:51:07][push] No pushDataServer defined.
[Oct 10 17:51:07][] ===> Start meters
[Oct 10 17:51:07][mtr0] Meter for protocol 'random' is disabled. Skipping.
[Oct 10 17:51:07][s0] counter_thread created
[Oct 10 17:51:07][s0] Counter thread started with blocking hwif
[Oct 10 17:51:07][mtr1] Meter connection established
[Oct 10 17:51:07][mtr1] [Oct 10 17:51:07][S0] Meter thread startedMeterS0:HWIF_GPIO:first poll returned 1
[Oct 10 17:51:07][mtr1] Number of readers: 4
[Oct 10 17:51:07][mtr1] Config.daemon: 0
[Oct 10 17:51:07][mtr1] Meter is opened. Starting channels.
[Oct 10 17:51:07][mtr1] Config.local: 0
[Oct 10 17:51:07][chn1] Logging thread started
[Oct 10 17:51:07][chn1] Start logging thread for volkszaehler-api. Running as daemon: no
[Oct 10 17:51:07][] Startup done.
[Oct 10 17:51:07][chn1] Using default volkszaehler api.
[Oct 10 17:51:08][s0] Reading S0 - returning 2 readings (n=1 n_neg = 0)
[Oct 10 17:51:08][mtr1] Reading: id=Power/StringItentifier: value=2249.69 ts=1444492268257
[Oct 10 17:51:08][mtr1] Reading: id=Impulse/StringItentifier: value=1.00 ts=1444492268257
==============================
{
"retry": 1,
"meters": [
{
"enabled": false,
"allowskip": false,
"interval": -1,
"aggtime": -1,
"aggfixedinterval": false,
"channels": [
{
"uuid": „...620a",
"identifier": "",
"api": "volkszaehler",
"middleware": "http://localhost/middleware.php <http://localhost/middleware.php>",
"secretKey": "",
"type": "device",
"scaler": 1,
"aggmode": "none",
"duplicates": 0
}
],
"protocol": "random",
"min": 0.0,
"max": 10.0,
"device": "",
"gpio": -1,
"mmap": "",
"gpio_dir": -1,
"configureGPIO": false,
"resolution": 1000,
"send_zero": false,
"debounce_delay": 30,
"nonblocking_delay": 100000
},
{
"enabled": true,
"allowskip": false,
"interval": -1,
"aggtime": 5,
"aggfixedinterval": true,
"aggmode": "SUM",
"channels": [
{
"uuid": „...ea8df",
"identifier": "impulse",
"api": "volkszaehler",
"middleware": "http://localhost/middleware.php <http://localhost/middleware.php>",
"secretKey": "",
"type": "device",
"scaler": 1,
"aggmode": "none",
"duplicates": 0
}
],
"protocol": "s0",
"device": "1.8.1",
"gpio": 4,
"mmap": "",
"gpio_dir": -1,
"configureGPIO": true,
"identifier":"impulse",
"resolution": 1600,
"send_zero": false,
"debounce_delay": 30,
"nonblocking_delay": 100000
}
]
}
===========================
Post by Erich Hagen
"identifier": "",
Fehlt. FÃŒr S0: 'Impulse'.
Gruß
Udo
Gruß

Matthias
Erich Hagen
2015-10-11 07:46:44 UTC
Permalink
Hallo Matthias,

vielen Dank fÃŒr deinen Tipp.
Der war genau richtig. Das kleine „i“ war eben zu wenig.

Schöne GrÌße,
Erich
Post by Matthias Behr
Schreib „Impulse“ in der Config mal mit großem I. Ich weiß nicht, die die Suche case-insensitive ist.
Post by Erich Hagen
"uuid": „...ea8df",
"identifier": "impulse“,
Hllo Udo,
danke fÃŒr die Info.
Hab den Identifier auf „Impulse“ gesetzt.
Am Ergebnis Àndert sich nichts.
Es wird nichts angezeigt.
Gruß, Erich
Gibt es eine Beschreibung der Parameter, die ich zu Rate ziehen könnte?
Ich möchte deine UnterstÌtzung nicht mit trivialen Dingen Ìberstrapazieren.
Ich meine so etwas wie ein Wiki, in dem alle Parameter incl. der gegenseitigen AbhÀngigkeiten beschrieben sind.
===========================
[Oct 10 17:51:07][main] vzlogger v0.4.4 based on heads/master-0-g084fa52872 from Mon, 3 Aug 2015 23:00:48 +0200 started.
[Oct 10 17:51:07] Start parsing configuration from /etc/vzlogger.conf
[Oct 10 17:51:07][mtr0] Creating new meter with protocol random.
[Oct 10 17:51:07][mtr0] Interval has to be set and positive!
[Oct 10 17:51:07][mtr0] Meter configured, disabled.
[Oct 10 17:51:07] New meter initialized (protocol=random)
[Oct 10 17:51:07] Configure channel.
[Oct 10 17:51:07][chn0] New channel initialized (uuid=...78620a api=volkszaehler id=)
[Oct 10 17:51:07][mtr1] Creating new meter with protocol s0.
[Oct 10 17:51:07][s0] unknown option for mmap (). Falling back to normal gpio.
[Oct 10 17:51:07][mtr1] Meter configured, enabled.
[Oct 10 17:51:07] New meter initialized (protocol=s0)
[Oct 10 17:51:07] Configure channel.
[Oct 10 17:51:07][chn1] New channel initialized (uuid=...3ea8df api=volkszaehler id=impulse)
[Oct 10 17:51:07] Have 2 meters.
[Oct 10 17:51:07][main] log level is 15
[Oct 10 17:51:07][main] daemon=0, local=0
[Oct 10 17:51:07] Process not daemonized...
[Oct 10 17:51:07][push] No pushDataServer defined.
[Oct 10 17:51:07][] ===> Start meters
[Oct 10 17:51:07][mtr0] Meter for protocol 'random' is disabled. Skipping.
[Oct 10 17:51:07][s0] counter_thread created
[Oct 10 17:51:07][s0] Counter thread started with blocking hwif
[Oct 10 17:51:07][mtr1] Meter connection established
[Oct 10 17:51:07][mtr1] [Oct 10 17:51:07][S0] Meter thread startedMeterS0:HWIF_GPIO:first poll returned 1
[Oct 10 17:51:07][mtr1] Number of readers: 4
[Oct 10 17:51:07][mtr1] Config.daemon: 0
[Oct 10 17:51:07][mtr1] Meter is opened. Starting channels.
[Oct 10 17:51:07][mtr1] Config.local: 0
[Oct 10 17:51:07][chn1] Logging thread started
[Oct 10 17:51:07][chn1] Start logging thread for volkszaehler-api. Running as daemon: no
[Oct 10 17:51:07][] Startup done.
[Oct 10 17:51:07][chn1] Using default volkszaehler api.
[Oct 10 17:51:08][s0] Reading S0 - returning 2 readings (n=1 n_neg = 0)
[Oct 10 17:51:08][mtr1] Reading: id=Power/StringItentifier: value=2249.69 ts=1444492268257
[Oct 10 17:51:08][mtr1] Reading: id=Impulse/StringItentifier: value=1.00 ts=1444492268257
==============================
{
"retry": 1,
"meters": [
{
"enabled": false,
"allowskip": false,
"interval": -1,
"aggtime": -1,
"aggfixedinterval": false,
"channels": [
{
"uuid": „...620a",
"identifier": "",
"api": "volkszaehler",
"middleware": "http://localhost/middleware.php <http://localhost/middleware.php>",
"secretKey": "",
"type": "device",
"scaler": 1,
"aggmode": "none",
"duplicates": 0
}
],
"protocol": "random",
"min": 0.0,
"max": 10.0,
"device": "",
"gpio": -1,
"mmap": "",
"gpio_dir": -1,
"configureGPIO": false,
"resolution": 1000,
"send_zero": false,
"debounce_delay": 30,
"nonblocking_delay": 100000
},
{
"enabled": true,
"allowskip": false,
"interval": -1,
"aggtime": 5,
"aggfixedinterval": true,
"aggmode": "SUM",
"channels": [
{
"uuid": „...ea8df",
"identifier": "impulse",
"api": "volkszaehler",
"middleware": "http://localhost/middleware.php <http://localhost/middleware.php>",
"secretKey": "",
"type": "device",
"scaler": 1,
"aggmode": "none",
"duplicates": 0
}
],
"protocol": "s0",
"device": "1.8.1",
"gpio": 4,
"mmap": "",
"gpio_dir": -1,
"configureGPIO": true,
"identifier":"impulse",
"resolution": 1600,
"send_zero": false,
"debounce_delay": 30,
"nonblocking_delay": 100000
}
]
}
===========================
Post by Erich Hagen
"identifier": "",
Fehlt. FÃŒr S0: 'Impulse'.
Gruß
Udo
Gruß
Matthias
Lesen Sie weiter auf narkive:
Suchergebnisse für '[vz-users] S0-Zähler ziert sich noch' (Fragen und Antworten)
20
Antworten
Kann man das Sinken des Rentenniveaus in Deutschland verhindern?
gestartet 2013-10-16 14:31:02 UTC
politik
Loading...