config.yaml 995 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. mqtt:
  2. debug: false
  3. broker_address: "10.1.1.131"
  4. port: 1883
  5. subscribe_prefix: "cells_inserted"
  6. publish_prefix: "measurement_done"
  7. client_id: "measure_ctrl"
  8. keepalive: 60
  9. username: "robot"
  10. password: "robot"
  11. i2c:
  12. debug: false
  13. bus_number: 1
  14. polling_interval_ms: 250 # Pause between polling I2C devices
  15. retry_count: 3 # Number of retries for failed I2C communications # TODO implement
  16. timeout_ms: 100 # Timeout for I2C communications # TODO implement
  17. http:
  18. debug: false
  19. server_url: "https://batteries-int.up-cell.de"
  20. timeout: 5
  21. endpoint: "cells"
  22. username: "" # Optional, if authentication is needed
  23. password: "" # Optional, if authentication is needed
  24. measurement:
  25. cycles: 3
  26. c_rate: 0.25
  27. cut_off_curr: 100 # in mA
  28. min_voltage: 2.5 # in Volts
  29. max_voltage: 4.2 # in Volts
  30. devices:
  31. - id: 1
  32. i2c_address: 0x20
  33. num_slots: 4
  34. logging:
  35. level: "DEBUG"
  36. mode: "a" # a: append, w: overwrite
  37. max_bytes: 1000000
  38. file: "measure_ctrl.log"