Advertisement
Guest User

vzlogger config

a guest
Nov 5th, 2014
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  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": true, /* run periodically */
  13. "foreground" : false, /* dont run in background (prevents forking) */
  14. "verbosity" : 15, /* between 0 and 15 */
  15. "log" : "/var/log/vzlogger.log", /* path to logfile, optional */
  16.  
  17. "local" : {
  18. "enabled" : false, /* should we start the local HTTPd for serving live readings? */
  19. "port" : 8080, /* 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" : [{
  26.  
  27. /* ACE3000 SMA Ertragszaehler */
  28. "enable" : true,
  29. "protocol" : "d0",
  30. "device" : "/dev/usb-ir-lesekopf0",
  31. "parity" : "7E1",
  32. "baudrate" : 300,
  33. "pullseq" : "2F3F210D0A",
  34. "channels": [{
  35. "uuid" : "XXXX",
  36. "middleware" : "http://localhost/middleware.php",
  37. "identifier" : "1.8.", /* Ertrag PV */
  38. }]
  39. },
  40. {
  41. /* ACE3000 Zweiwegezaehler */
  42. "enable" : true,
  43. "protocol" : "d0",
  44. "device" : "/dev/usb-ir-lesekopf1",
  45. "parity" : "7E1",
  46. "baudrate" : 300,
  47. "pullseq" : "2F3F210D0A",
  48. "channels" : [{
  49. "uuid" : "XXXX",
  50. "middleware" : "http://localhost/middleware.php",
  51. "identifier" : "1.8.", /* Bezug */
  52. }, {
  53. "uuid" : "XXXX",
  54. "middleware" : "http://localhost/middleware.php",
  55. "identifier" : "2.8.", /* Einspeisung */
  56. }]
  57. }
  58. ]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement