-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.json
More file actions
58 lines (58 loc) · 1.14 KB
/
Copy pathconfig.example.json
File metadata and controls
58 lines (58 loc) · 1.14 KB
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
50
51
52
53
54
55
56
57
58
{
"deviceName": "SQM-ESP32",
"timezone": "UTC",
"wifi": {
"ssid": "YourWiFiSSID",
"password": "YourWiFiPassword",
"hostname": "sqm-esp32",
"autoReconnect": true,
"reconnectDelayMs": 1000,
"maxReconnectDelayMs": 300000
},
"mqtt": {
"enabled": false,
"broker": "mqtt.example.com",
"port": 1883,
"username": "",
"password": "",
"topic": "sqm/data",
"publishIntervalMs": 60000
},
"ota": {
"enabled": false,
"password": ""
},
"rain": {
"enabled": false,
"rxPin": 18,
"txPin": 19,
"baudRate": 9600,
"debugUart": false,
"mode": "polling",
"resolution": "high",
"units": "metric"
},
"sensor": {
"readIntervalMs": 5000,
"i2cSDA": 21,
"i2cSCL": 22,
"i2cFrequency": 100000
},
"skyAveraging": {
"windowSeconds": 90
},
"skyCalibration": {
"enabled": false,
"sqmOffset": 0,
"darkVisibleOffset": 0,
"darkFullOffset": 0,
"darkIrOffset": 0,
"darkSampleCount": 0,
"darkCalibratedAt": 0
},
"cloudDetection": {
"clearSkyThreshold": -13.0,
"cloudyThreshold": -3.0,
"humidityCorrection": 0.75
}
}