forked from jjposio/DHT22-TemperatureLogger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
49 lines (49 loc) · 1.15 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"mysql":[{
"host":"localhost",
"user":"logger",
"password":"password",
"database":"temperatures"
}],
"sensors":[{
"sensor1":"Outside",
"sensor2":"Inside"
}],
"triggerlimits":[{
"sensor1lowlimit":"-20",
"sensor2lowlimit":"5",
"sensor1highlimit":"35",
"sensor2highlimit":"20"
}],
"humiditytriggers":[{
"sensor1_humidity_low_limit":"40",
"sensor1_humidity_high_limit":"60",
"sensor2_humidity_low_limit":"40",
"sensor2_humidity_high_limit":"60"
}],
"sensorgpios":[{
"gpiosensor1":"22",
"gpiosensor2":"23"
}],
"mailinfo":[{
"senderaddress":"email address to sender field@gmail.com",
"receiveraddress":"email address where to send warnings@gmail.com",
"username":"username",
"password":"password",
"subjectmessage":"Info from temperature logger",
"subjectwarning":"Warning from temperature logger"
}],
"sqlBackupDump":[{
"backupDumpEnabled":"y",
"backupHour":"23"
}],
"connectionCheck":[{
"connectionCheckEnabled":"y",
"connectionCheckDay":"5",
"connectionCheckHour":"23"
}],
"sensortype":"22",
"sensoramount":"2",
"sqlbackuppath":"/home/pi/DHT22-TemperatureLogger/Backups/",
"adafruitpath":"/home/pi/Adafruit_Python_DHT/examples/AdafruitDHT.py"
}