-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
40 lines (40 loc) · 1.21 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
{
"SOAKING_DELAY": 10,
"MOISTURE_POWER_GPIO": 11,
"MIN_VALID_MOISTURE": 1000,
"MAX_VALID_MOISTURE": 30000,
"PLANTS": [
{
"PLANT_ID": 1,
"PLANT_NAME": "Grapefruit tree",
"MOISTURE_SENSOR_CHANNEL": 0,
"WATER_PUMP_GPIO": 7,
"WATERING_DURATION": 3,
"MOISTURE_THRESHOLD": 15000
},
{
"PLANT_ID": 2,
"PLANT_NAME": "Pineapple",
"MOISTURE_SENSOR_CHANNEL": 1,
"WATER_PUMP_GPIO": 15,
"WATERING_DURATION": 3,
"MOISTURE_THRESHOLD": 15000
},
{
"PLANT_ID": 3,
"PLANT_NAME": "Banana",
"MOISTURE_SENSOR_CHANNEL": 2,
"WATER_PUMP_GPIO": 18,
"WATERING_DURATION": 3,
"MOISTURE_THRESHOLD": 15000
},
{
"PLANT_ID": 4,
"PLANT_NAME": "Mango",
"MOISTURE_SENSOR_CHANNEL": 3,
"WATER_PUMP_GPIO": 22,
"WATERING_DURATION": 3,
"MOISTURE_THRESHOLD": 15000
}
]
}