-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.json
More file actions
100 lines (95 loc) · 1.85 KB
/
config.json
File metadata and controls
100 lines (95 loc) · 1.85 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"config_version": 2,
"use_random_data": false,
"sensor_kit": {
"bus0_enabled": true,
"bus1_enabled": true,
"i2c_freq": 100000
},
"sensors": {
"co2": {
"enabled": false,
"bus": 0
},
"spectral": {
"enabled": false,
"bus": 0
},
"light": {
"enabled": false,
"bus": 0
},
"soil": [
{
"enabled": true,
"type": "capacitive",
"sensor_index": 1,
"bus": 1,
"address": "0x37"
},
{
"enabled": false,
"type": "capacitive",
"sensor_index": 2,
"bus": 0,
"address": "0x37"
}
],
"screen": {
"enabled": false,
"bus": 0
},
"csv_logger": {
"enabled": false,
"filename": "sensor_log.csv",
"period_ms": 5000,
"max_rows": 5000
}
},
"controller": {
"enabled": true,
"pumps": [
{
"enabled": true,
"pump_index": 1,
"csv_filename": "water_pump_1_log.csv",
"max_duration_seconds": 60.0
},
{
"enabled": false,
"pump_index": 2,
"csv_filename": "water_pump_2_log.csv",
"max_duration_seconds": 60.0
}
],
"plant_systems": [
{
"enabled": true,
"sensor_index": 1,
"pump_index": 1,
"interval_hours": 0.5,
"threshold": 300.0,
"hysteresis": 20.0,
"duration_seconds": 3.0,
"pump_effort": 1.0
},
{
"enabled": false,
"sensor_index": 2,
"pump_index": 2,
"interval_hours": 0.5,
"threshold": 300.0,
"hysteresis": 20.0,
"duration_seconds": 3.0,
"pump_effort": 1.0
}
]
},
"webserver": {
"access_point": {
"ssid": "AgXRP_SensorKit",
"password": "sensor123"
}
},
"sensor_update_interval_seconds": 2
}