jeelinklog.ini 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. [main]
  2. publish_on_mqtt = True
  3. store_in_influxdb = True
  4. sensors_config_yml = jeelinklog_sensors.yml
  5. influx_config_yml = jeelinklog_influxdb.yml
  6. log_path = /home/pi/logs/jeelinklog
  7. logfile_new_sensors = jeelink_new_sensors.log
  8. [jeelink]
  9. serialport = /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AL01MYTF-if00-port0
  10. baudrate = 57600
  11. [mqtt]
  12. enable = True
  13. server = 127.0.0.1
  14. port = 1883
  15. user =
  16. password =
  17. # topic prefix
  18. topic_prefix = LaCrosse
  19. topic_prefix_outside_temphum = wetter/atemphum
  20. # additional single topics for outside temp/hum
  21. topic_outside_temp = wetter/atemp
  22. topic_outside_hum = wetter/ahum
  23. topic_outside_dew = wetter/dewpoint
  24. topic_outside_abshum = wetter/abshum
  25. # topic for notifications (low battery, new sensor found...)
  26. subtopic_notify = NOTIFY
  27. publish_unknown_sensors = False
  28. publish_unknown_new_sensors = True
  29. [sensors]
  30. # average sensor values - average over that many received readings
  31. average_value_steps = 5
  32. max_off_value = 2.0
  33. ignore_off_value_timeout = 60
  34. # interval in s to report data via MQTT
  35. publish_interval = 60
  36. # interval in s to store data in InfluxDB
  37. store_interval = 300
  38. publish_interval_outside = 120
  39. store_interval_outside = 300
  40. data_maxage = 600
  41. outside_sensors_use_median = True
  42. # otherwise average is used
  43. calculate_dewpoint = True
  44. calculate_absolute_humidity = True
  45. write_dewpoint_to_influxdb = True
  46. write_abshum_to_influxdb = True
  47. # for calculated (averaged from multiple sensors)
  48. influxdb_instance_combined_outside_sensors = wetter
  49. influxdb_sensorname_combined_outside_sensors = Outside