config.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. Inputs:
  2. - SiemensCPU: siemens.snap7_connect
  3. enabled: False
  4. host: "<S7 PLC IP>"
  5. - SiemensServer: siemens.snap7_server
  6. enabled: False
  7. port: 102
  8. - Balluff: balluff.balluff_html
  9. enabled: False
  10. - AllenBradleyCPU: rockwell.allen_bradley_connect
  11. host: "<AB PLC IP>"
  12. enabled: True
  13. - Replay: replay_influxdb
  14. enabled: False
  15. url: "http://influxdb:8086"
  16. token: "<token>"
  17. org: "myorg"
  18. bucket: "energy-monitor"
  19. start_time: 01.01.2000 01:00:00
  20. Middlewares:
  21. - PrintStats: debug
  22. enabled: False
  23. - TimeCorrelation: time_correlation
  24. submodules:
  25. - PrintStats: debug
  26. Outputs:
  27. - CSVStorage: csv_file
  28. path: logs
  29. - InfluxDB: influxdb
  30. url: "http://influxdb:8086"
  31. token: "<token>"
  32. org: "myorg"
  33. bucket: "energy-monitor"
  34. Logging:
  35. version: 1
  36. formatters:
  37. standard:
  38. format: "%(asctime)s [%(levelname)s] \t%(name)s: \t%(message)s"
  39. handlers:
  40. default:
  41. level: INFO
  42. formatter: standard
  43. class: logging.StreamHandler
  44. stream: ext://sys.stderr
  45. loggers:
  46. '':
  47. handlers:
  48. - default
  49. level: DEBUG
  50. propagate: false
  51. inputs.rockwell.allen_bradley_connect:
  52. handlers:
  53. - default
  54. level: WARNING
  55. propagate: false
  56. snap7.server:
  57. handlers:
  58. - default
  59. level: WARNING
  60. propagate: false
  61. __main__:
  62. handlers:
  63. - default
  64. level: DEBUG
  65. propagate: false