jeelinklog.ini 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. initTimeout = 2
  12. # JeeLink Init Command
  13. # <n>a set to 0 if the blue LED bothers
  14. # <n>f initial frequency in kHz (5 kHz steps, 860480 ... 879515) (for RFM #1)
  15. # <n>F initial frequency in kHz (5 kHz steps, 860480 ... 879515) (for RFM #2)
  16. # <n>h altituide above sea level
  17. # <n>m bits 1: 17.241 kbps, 2 : 9.579 kbps, 4 : 8.842 kbps (for RFM #1)
  18. # <n>M bits 1: 17.241 kbps, 2 : 9.579 kbps, 4 : 8.842 kbps (for RFM #2)
  19. # <n>r use one of the possible data rates (for RFM #1)
  20. # <n>R use one of the possible data rates (for RFM #2)
  21. # <n>t 0=no toggle, else interval in seconds (for RFM #1)
  22. # <n>T 0=no toggle, else interval in seconds (for RFM #2)
  23. # v show version
  24. # <n>y if 1 all received packets will be retransmitted (Relay mode)
  25. # init cmd for TX29 AND TX35 sensors (17.241 and 9.579 kbps, toggle every 30s)
  26. initCmd = 30t 3m v
  27. # init cmd for TX29 sensors only (17.241 kbps, no toggle)
  28. #initCmd = 0t 1m v
  29. [mqtt]
  30. enable = True
  31. server = 127.0.0.1
  32. port = 1883
  33. user =
  34. password =
  35. # topic prefix
  36. topic_prefix = LaCrosse
  37. topic_prefix_outside_temphum = wetter/atemphum
  38. # additional single topics for outside temp/hum
  39. topic_outside_temp = wetter/atemp
  40. topic_outside_hum = wetter/ahum
  41. topic_outside_dew = wetter/dewpoint
  42. topic_outside_abshum = wetter/abshum
  43. # topic for notifications (low battery, new sensor found...)
  44. subtopic_notify = NOTIFY
  45. publish_unknown_sensors = False
  46. publish_unknown_new_sensors = True
  47. [sensors]
  48. # average sensor values - average over that many received readings
  49. average_value_steps = 5
  50. max_off_value = 2.0
  51. ignore_off_value_timeout = 60
  52. # interval in s to report data via MQTT
  53. publish_interval = 60
  54. # interval in s to store data in InfluxDB
  55. store_interval = 300
  56. publish_interval_outside = 120
  57. store_interval_outside = 300
  58. data_maxage = 600
  59. outside_sensors_use_median = True
  60. # otherwise average is used
  61. calculate_dewpoint = True
  62. calculate_absolute_humidity = True
  63. write_dewpoint_to_influxdb = True
  64. write_abshum_to_influxdb = True
  65. # for calculated (averaged from multiple sensors)
  66. influxdb_instance_combined_outside_sensors = wetter
  67. influxdb_sensorname_combined_outside_sensors = Outside