/**
 * 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" : true,          /* dont run in background (prevents forking) */
"verbosity" : 15,              /* between 0 and 15 */
//"log" : "/var/log/vzlogger_3.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" : [{
        "protocol" : "sml",     /* see 'vzlogger -h' for list of available protocols */
        "device" : "/dev/ttyUSB0",
        "channels": [{
		"uuid" : "ddfea5f0-713c-11e2-8667-8d4b408bc4f7",
		"middleware" : "http://localhost/middleware.php",
		"identifier" : "1-0:1.8.1", /* Tagesstromverbrauch Tarif 1 */
                }, {
		"uuid" : "7cf8cdd0-715f-11e2-9c6f-9d33db1fbdf1",
		"middleware" : "http://localhost/middleware.php",
		"identifier" : "1-0:1.8.2", /* Nachtstromverbrauch Tarif 2 */
                }, {
              "uuid" : "f7998900-713c-11e2-ada2-795d327a9fd6",
              "middleware" : "http://localhost/middleware.php",
              "identifier" : "1-0:2.8.0" /* Gesamtstromverbrauch Hauszaehler */
                }, {
		"uuid" : "ebdae520-713c-11e2-84eb-c1884cb92d66",
		"middleware" : "http://localhost/middleware.php",
		"identifier" : "1-0:16.7.0", /* Wirkleistung Total */
		}]
         }, {
	"protocol" : "sml",
	"device" : "/dev/ttyUSB1",
	"channels" :[{
		"uuid" : "04456200-713d-11e2-9b56-234cc60a13ef",
                  "middleware" : "http://localhost/middleware.php",
                  "identifier" : "1-0:16.7.0", /* Wirkleistung Total PV-Anlage */
                }, {
		"uuid" : "0e2c3850-713d-11e2-a384-4bda743e342c",
		"middleware" : "http://localhost/middleware.php",
		"identifier" : "1-0:2.8.0", /* Gesamtertrag PV Anlage */
		}]
        }
]}