[vz-dev] vzlogger schreibe keine daten in dir datenbank

Jürgen Herrmann juergen.herrmann at plugid.de
Mon Sep 29 21:56:27 CEST 2014


Am 29.09.2014 21:51, schrieb Udo1:
> Hallo,
>
> Am 29.09.2014 21:42, schrieb Jürgen Herrmann:
>> mein vzlogger 0.3.7 kennt keine Optoin -f 
> wo steht das? Link?
die Version mit -V
das es keine Option -f gibt ; vzlogger -h

>
>> wie kann ich das Problem beheben ? 
> Indem du uns sagst :
> was du auslesen willst,
> womit du ausliest,
> wie deine vzlogger.conf aussieht
> welche Kanäle du angelegt hast.
>
> Gruß
> Udo
>
  cat /etc/vzlogger.conf
/**
  * vzlogger configuration
  *
  * use proper encoded JSON with javascript comments
  *
  * take a look at the wiki for detailed information:
  * http://wiki.volkszaehler.org/software/controller/vzlogger#configuration
  */
{
"retry" : 30,                 /* how long to sleep between failed 
requests, in seconds */
"daemon": false,               /* run periodically */
"foreground" : false,          /* dont run in background (prevents 
forking) */
"verbosity" : 15,              /* between 0 and 15 */
"log" : "/var/log/vzlogger.log",/* path to logfile, optional */

"local" : {
         "enabled" : true,      /* should we start the local HTTPd for 
serving live readings? */
         "port" : 8080,          /* the TCP port for the local HTTPd */
         "index" : true,         /* should we provide a index listing of 
available channels if no UUID was requested? */
         "timeout" : 30,         /* timeout for long polling comet 
requests, 0 disables comet, in seconds */
         "buffer" : 600          /* how long to buffer readings for the 
local interface, in seconds */
},

"meters" : [{
         "enabled" : true,       /* disabled meters will be ignored */
         "protocol" : "sml",     /* see 'vzlogger -h' for list of 
available protocols */
         "host"  : "10.80.23.13:7970",
         "channels": [{
                 "uuid"  : "4a995650-4805-11e4-81ac-b900f00e2ca2",
                 "middleware" : 
"http://localhost/volkszaehler.org/htdocs/middleware.php",
                 "identifier" : "1-0:1.8.0" /* Gesamtstromverbrauch 
Hauszaehler */
                 }]
          }
]}



More information about the volkszaehler-dev mailing list