1234567891011121314151617181920212223242526272829303132333435363738 |
- [main]
- # add timestamps to console output in debug/verbose mode
- consoleAddTimestamp = true
- # additional YAML config files
- meters_config_yml = s0meters.yml
- influx_config_yml = s0meters_influxdb.yml
- [hardware]
- serialPort = /dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0
- serialBaud = 57600
- serialTout = 1
- [filelog]
- # needed for calculating today/yesterday totals, so only disable if that is not needed
- enable = True
- # storage path must be existing and writable for the user that runs s0meters.py (sub directories are created as needed)
- storage_path = /home/pi/s0meters
- [mqtt]
- enable = true
- server = mqtt.lan
- port = 1883
- keepalive = 60
- user = script
- password = rlAzqusqfbAy
- #user = "jeelink2mqtt"
- #password = "jFiUyMBuhOFX"
- # MQTT topics
- # Note: this is only for status infos and commands, meters Out-Topics must be defined in the meters configuration!
- # In-Topic for sending commands to the device
- topic_cmd = Top5/ImpCount/cmd
- # Out-Topic
- topic_stat = Top5/ImpCount/stat
- # Out-Topic for response to commands (can be the same as topic_stat)
- topic_cmdresponse = Top5/ImpCount/cmdResponse
|