Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * 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": true, /* 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" : false, /* 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" : [{
- /* ACE3000 SMA Ertragszaehler */
- "enable" : true,
- "protocol" : "d0",
- "device" : "/dev/usb-ir-lesekopf0",
- "parity" : "7E1",
- "baudrate" : 300,
- "pullseq" : "2F3F210D0A",
- "channels": [{
- "uuid" : "XXXX",
- "middleware" : "http://localhost/middleware.php",
- "identifier" : "1.8.", /* Ertrag PV */
- }]
- },
- {
- /* ACE3000 Zweiwegezaehler */
- "enable" : true,
- "protocol" : "d0",
- "device" : "/dev/usb-ir-lesekopf1",
- "parity" : "7E1",
- "baudrate" : 300,
- "pullseq" : "2F3F210D0A",
- "channels" : [{
- "uuid" : "XXXX",
- "middleware" : "http://localhost/middleware.php",
- "identifier" : "1.8.", /* Bezug */
- }, {
- "uuid" : "XXXX",
- "middleware" : "http://localhost/middleware.php",
- "identifier" : "2.8.", /* Einspeisung */
- }]
- }
- ]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement