Advertisement
altech6983

settings.lua

Sep 5th, 2016
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.98 KB | None | 0 0
  1. -- WIFI Credentials
  2. SSID = ""
  3. SSID_PASS = ""
  4.  
  5. -- InfluxDB Database Credentials
  6. LOG_USER = ""
  7. LOG_PASS = ""
  8.  
  9. -- Where to store data in database and with what tag
  10. MEASUREMENT = "temperature"
  11. UNIT = "AnovaOne"
  12.  
  13. -- InfluxDB address and api
  14. -- HOST = "192.168.1.6"
  15. HOST = ""
  16. URI = "/write?db=AnovaStats&u=" .. LOG_USER .. "&p=" .. LOG_PASS
  17.  
  18. -- Pin the temperature sensors are connected to
  19. TEMPERATUREPIN = 1
  20.  
  21. -- Probe calibration values, NEED TO CHANGE
  22. --PROBE1_CAL = -0.11
  23. --PROBE2_CAL = 0.56
  24. PROBE1_CAL = 0
  25. PROBE2_CAL = 0
  26.  
  27. -- The device ids of each probe
  28. --PROBE1_ROMCODE = string.char(40,255,184,96,3,21,2,226)
  29. --PROBE2_ROMCODE = string.char(40,255,186,108,3,21,2,115)
  30. PROBE1_ROMCODE = string.char()
  31. PROBE2_ROMCODE = string.char()
  32.  
  33. -- How often updates are sent to influxdb (in ms)
  34. TEMP_UPDATE = 10000
  35.  
  36. -- Number of samples to average (this doesn't seem to be needed, sensors are really stable)
  37. -- Delay between samples (in ms)
  38. TEMP_SAMPLES = 5
  39. TEMP_SAMP_DELAY = 50
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement