[vz-dev] Konfiguration vzlogger mit lokaler serieller Schnittstelle (WAS: IR-Datenkopf und vzlogger anschließen)
Martin Werthmöller
mw+volkszaehler.org at werthmoeller.de
Thu Dec 22 21:34:06 CET 2011
Am Do, 22 Dez 2011 um 21:00 GMT +0100 schrieb Udo1:
Hallo Udo,
> Versuch mal diese:
> ------------------------------------------------------------------------------------------------------------------------------
> {
> "retry" : 30, /* how long to sleep between failed
> requests, in seconds */
> "log" : "/var/log/vzlogger.log",/* path to logfile, optional */
> "meters" : [{
> "enabled" : true, /* disabled meters will be ignored */
> "protocol" : "sml", /* use 'vzlogger -h' for list of
> available protocols */
> "connection" : "/dev/ttyUSB0",
> "channels": [{
> "uuid" : "ure UUID",
> "middleware" : "http://localhost/volkszaehler/middleware.php",
> "identifier" : "power" /* OBIS alias for '1-0:1.7.ff' */
> }]
> }]
> }
UUID habe ich eingetragen. vzlogger startet erst gar nicht.
# /usr/local/bin/vzlogger --config /usr/local/etc/vzlogger.conf -v 20
[Dec 22 21:31:36] Start parsing configuration from /usr/local/etc/vzlogger.conf
[Dec 22 21:31:36][mtr0] Missing host and port
[Dec 22 21:31:36][mtr0] Failed to initialize meter. Arborting.
# vzlogger -V
0.3.2
Viele Gruesse,
martin!
More information about the volkszaehler-dev
mailing list