dummy-config.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. enabled: False
  12. host: "<AB PLC IP>"
  13. - Input: dummy
  14. message: Hello World!
  15. - Replay: replay_influxdb
  16. enabled: False
  17. url: "http://influxdb:8086"
  18. token: "<token>"
  19. org: "myorg"
  20. bucket: "energy-monitor"
  21. start_time: 01.01.2000 01:00:00
  22. Middlewares:
  23. - Warning: debug
  24. enabled: False
  25. enable_output: False
  26. - TimeCorrelation: time_correlation
  27. submodules:
  28. - MatchAny: filters
  29. series: plant
  30. enable_output: False
  31. table_move_up: 1
  32. - ComplexFilter: filters
  33. predicate: "measurement_480v and measurement_24v and avg(measurement_24v.current) > 0.6"
  34. submodules:
  35. - ComplexSelector: selectors
  36. selector: "avg(measurement_480v.current)"
  37. enable_output: False
  38. - Aggregate: aggregators
  39. series: 24v
  40. timespan: 0.1
  41. avg:
  42. - voltage
  43. min:
  44. - status
  45. - overload
  46. submodules:
  47. - PrintStats: debug
  48. enable_output: True
  49. Outputs:
  50. - CSVStorage: csv_file
  51. path: dummy-logs
  52. enabled: True
  53. - JSONOutput: stdout
  54. enabled: False
  55. Logging:
  56. version: 1
  57. formatters:
  58. standard:
  59. #format: "%(asctime)s [%(levelname)s] %(name)s: %(message)s"
  60. format: "[%(levelname)s] %(name)s: %(message)s"
  61. handlers:
  62. default:
  63. level: INFO
  64. formatter: standard
  65. class: logging.StreamHandler
  66. stream: ext://sys.stderr
  67. loggers:
  68. '':
  69. handlers:
  70. - default
  71. level: DEBUG
  72. propagate: false
  73. inputs.rockwell.allen_bradley_connect:
  74. handlers:
  75. - default
  76. level: WARNING
  77. propagate: false
  78. snap7.server:
  79. handlers:
  80. - default
  81. level: WARNING
  82. propagate: false
  83. __main__:
  84. handlers:
  85. - default
  86. level: DEBUG
  87. propagate: false