Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- WIFI Credentials
- SSID = ""
- SSID_PASS = ""
- -- InfluxDB Database Credentials
- LOG_USER = ""
- LOG_PASS = ""
- -- Where to store data in database and with what tag
- MEASUREMENT = "temperature"
- UNIT = "AnovaOne"
- -- InfluxDB address and api
- -- HOST = "192.168.1.6"
- HOST = ""
- URI = "/write?db=AnovaStats&u=" .. LOG_USER .. "&p=" .. LOG_PASS
- -- Pin the temperature sensors are connected to
- TEMPERATUREPIN = 1
- -- Probe calibration values, NEED TO CHANGE
- --PROBE1_CAL = -0.11
- --PROBE2_CAL = 0.56
- PROBE1_CAL = 0
- PROBE2_CAL = 0
- -- The device ids of each probe
- --PROBE1_ROMCODE = string.char(40,255,184,96,3,21,2,226)
- --PROBE2_ROMCODE = string.char(40,255,186,108,3,21,2,115)
- PROBE1_ROMCODE = string.char()
- PROBE2_ROMCODE = string.char()
- -- How often updates are sent to influxdb (in ms)
- TEMP_UPDATE = 10000
- -- Number of samples to average (this doesn't seem to be needed, sensors are really stable)
- -- Delay between samples (in ms)
- TEMP_SAMPLES = 5
- TEMP_SAMP_DELAY = 50
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement