s0meters.ini 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. [main]
  2. # add timestamps to console output in debug/verbose mode
  3. consoleAddTimestamp = true
  4. # additional YAML config files
  5. meters_config_yml = s0meters.yml
  6. influx_config_yml = s0meters_influxdb.yml
  7. [hardware]
  8. serialPort = /dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0
  9. serialBaud = 57600
  10. serialTout = 1
  11. [filelog]
  12. # needed for calculating today/yesterday totals, so only disable if that is not needed
  13. enable = True
  14. # storage path must be existing and writable for the user that runs s0meters.py (sub directories are created as needed)
  15. storage_path = /home/pi/s0meters
  16. [mqtt]
  17. enable = true
  18. server = mqtt.lan
  19. port = 1883
  20. keepalive = 60
  21. user = script
  22. password = rlAzqusqfbAy
  23. #user = "jeelink2mqtt"
  24. #password = "jFiUyMBuhOFX"
  25. # MQTT topics
  26. # Note: this is only for status infos and commands, meters Out-Topics must be defined in the meters configuration!
  27. # In-Topic for sending commands to the device
  28. topic_cmd = Top5/ImpCount/cmd
  29. # Out-Topic
  30. topic_stat = Top5/ImpCount/stat
  31. # Out-Topic for response to commands (can be the same as topic_stat)
  32. topic_cmdresponse = Top5/ImpCount/cmdResponse