-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.sample.json
58 lines (58 loc) · 1.62 KB
/
config.sample.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
50
51
52
53
54
55
56
57
58
{
"db": {
"username": "smartgarden",
"password": "sg2021sg",
"name": "smartgarden",
"host": "tu.direccion.ip.raspberry",
"dialect": "mariadb"
},
"api": {
"topic": "http://tu.direccion.ip.cloud:3000/v1/topics",
"sensor": "http://tu.direccion.ip.cloud:3000/v1/sensors",
"image": "http://tu.direccion.ip.cloud:3000/v1/images"
},
"limits": {
"maximumImageFiles": 10,
"dataCollectionTimeMs": 60000,
"imageCollectionTimeMs": 900000
},
"storagePath": {
"ambient": {
"image": "db/ambient/image"
}
},
"mqtt": {
"settings": {
"host": "tu.direccion.ip.raspberry",
"port": 1883,
"username": "smartgarden",
"password": "sg2021sg"
},
"topics": {
"log": {
"esp32cam": "log/esp32cam"
},
"sensors": {
"ambient": {
"image": "sensors/ambient/image",
"temperature": "sensors/ambient/temperature"
},
"soil": {
"moisture": "sensors/soil/moisture"
}
},
"actuators": {
"waterPump": {
"state": "actuators/waterPump/state",
"flow": "actuators/waterPump/flow"
}
},
"garden": {
"request": {
"image": "garden/request/image",
"sensors": "garden/request/sensors"
}
}
}
}
}