Advertisement
oz1sej

Untitled

Apr 6th, 2020
447
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.45 KB | None | 0 0
  1. [config]
  2. ws type = 1080
  3. usb activity margin = 3.0
  4. pressure offset = 30
  5. logdata sync = 1
  6. day end hour = 0
  7. rain day threshold = 0.2
  8. asynchronous = False
  9. frequent writes = False
  10. gnuplot version = 4.2
  11. gnuplot encoding = iso_8859_1
  12. template encoding = iso-8859-1
  13.  
  14. [paths]
  15. work = /tmp/weather
  16. templates = /home/pi/weather/templates/
  17. graph_templates = /home/pi/weather/graph_templates/
  18. local_files = /home/pi/weather/results/
  19.  
  20. [ftp]
  21. local site = False
  22. site = ftp.username.your_isp.co.uk
  23. user = username
  24. password = secret
  25. directory = public_html/weather/data/
  26. secure = False
  27. port = 21
  28.  
  29. [live]
  30. services = ['mqtt','underground_rf']
  31. plot = []
  32. text = []
  33.  
  34. [logged]
  35. services = ['mqtt','underground']
  36. text = []
  37. plot = []
  38.  
  39. [hourly]
  40. services = []
  41. text = []
  42. plot = []
  43.  
  44. [12 hourly]
  45. services = []
  46. text = []
  47. plot = []
  48.  
  49. [daily]
  50. services = []
  51. text = []
  52. plot = []
  53.  
  54. [underground]
  55. station = <removed>
  56. password = <removed>
  57. template = default
  58.  
  59. [mqtt]
  60. topic = /weather/pywws
  61. hostname = data
  62. port = 1883
  63. client_id = pywws
  64. retain = False
  65. user = <removed>
  66. password = <removed>
  67. multi_topic = False
  68. auth = unknown
  69. template = default
  70. template_txt = ('\n'
  71. '#idx \'"idx" : "%Y-%m-%d %H:%M:%S",\'#\n'
  72. '#wind_dir \'"wind_dir_degrees" : "%.d",\' \'\' \'winddir_degrees(x)\'#\n'
  73. '#wind_dir \'"wind_dir_text" : "%s",\' \'\' \'winddir_text(x)\'#\n'
  74. '#wind_ave \'"wind_ave_mps" : "%.2f",\'#\n'
  75. '#wind_gust \'"wind_gust_mps" : "%.2f",\'#\n'
  76. '#calc \'wind_chill(data["temp_out"],data["wind_ave"])\' \'"wind_chill_c" : "%.1f",\'#\n'
  77. '#calc \'dew_point(data["temp_out"],data["hum_out"])\' \'"dew_point_c" : "%.1f",\'#\n'
  78. '#hum_out \'"hum_out" : "%.d",\'#\n'
  79. '#hum_in \'"hum_in" : "%.d",\'#\n'
  80. '#temp_in \'"temp_in_c" : "%.1f",\'#\n'
  81. '#temp_out \'"temp_out_c" : "%.1f",\'#\n'
  82. '#calc \'apparent_temp(data["temp_out"],data["hum_out"],data["wind_ave"])\' \'"temp_out_realfeel_c" : "%.1f",\'#\n'
  83. '#rel_pressure \'"pressure_rel_hpa": "%.1f",\'#\n'
  84. '#abs_pressure \'"pressure_abs_hpa": "%.1f",\'#\n'
  85. '#rain \'"rain_mm" : "%.1f",\'#\n'
  86. '#calc \'rain_hour(data)\' \'"rain_last_hour_mm": "%.1f",\'#\n'
  87. '#calc \'rain_24hr(data)\' \'"rain_last_24hours_mm": "%.1f",\'#\n'
  88. '#calc \'rain_day(data)\' \'"rain_day_mm": "%.1f",\'#\n'
  89. '\n')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement