[vz-users] Landis&Gyr am VZLOGGER
Michael Wulz
michael.wulz at gmail.com
Mon Aug 25 12:45:06 CEST 2014
Am 25.08.14 12:34, schrieb Udo1:
>
> Am 25.08.2014 09:44, schrieb Udo1:
>> "identifier" : "1-0:1.8.1" /* alias for '1-0:1.8.1', see 'vzlogger -h'
>> for list of available aliases */
>> },
> Es könnte höchstens hier fehlen.
hatte ich auch gedacht, isses aber nicht.
hier die config:
1 /**
2 * vzlogger configuration
3 *
4 * use proper encoded JSON with javascript comments
5 *
6 * take a look at the wiki for detailed information:
7 *
http://wiki.volkszaehler.org/software/controller/vzlogger#configuration
8 */
9
10 {
11 "retry" : 30, /* how long to sleep between
failed requests, in seconds */
12 "daemon": false, /* run periodically */
13 "foreground" : true, /* run in background */
14 "verbosity" : 9999, /* between 0 and 9999, je
höher desto mehr Infos */
15 "log" : "/var/log/vzlogger.log", /* path to logfile, optional */
16
17 "local" : {
18 "enabled" : false, /* local HTTPd for serving live
readings, 'false' für Daten an die middleware !!! */
19 "port" : 80, /* the TCP port for the local HTTPd */
20 "index" : true, /* should we provide a index listing
of available channels if no UUID was requested? */
21 "timeout" : 30, /* timeout for long polling comet
requests, 0 disables comet, in seconds */
22 "buffer" : 600 /* how long to buffer readings for
the local interface, in seconds */
23 },
24
25 "meters" : [{ /* Beispiel-Meter */
26 "enabled" : true, /* disabled meters will be
ignored (default) */
27 "protocol" : "d0", /* see 'vzlogger -h' for
list of available protocols */
28 "device" : "/dev/ttyUSB0",
29 "parity" : "7E1", /* oder 8N1 */
30 "baudrate" : 300, /* oder 300 */
31 "interval": 6, /*
Wartezeit in Sekunden bis neue Werte in die middleware übertragen werden */
32 "channel": { /*
Beispiel-channel */
33 "uuid" :
"a02ea060-1e18-11e4-a178-5be9227ad291",
34 "middleware" :
""http://127.0.0.1/middleware.php"",
35 "identifier" : "1-0:1.8.1", /*
alias for '1-0:1.8.1', see 'vzlogger -h' for list of available aliases */
36 },
37 }]
38 }
39
More information about the volkszaehler-users
mailing list