-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig_new.json
38 lines (38 loc) · 1018 Bytes
/
config_new.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
{
"VERSION": "v.0.9-beta",
"CONFIGURATION": {
"SSID": "ssid",
"PASS": "pass",
"MQTT_SERVER": "192.168.0.17",
"MQTT_ID": "123",
"MQTT_USER": "123",
"MQTT_PASS": "123",
"HARDWARE_CONFIGURATION": {
"SENSOR_TEMP": "greenhouse/sensor",
"GPIO_CONTROLLERS": [
{
"ADDRES": "100",
"GPIOS": [
{ "TYPE": "OUT", "TOPIC": "greenhouse/output/light" },
{ "TYPE": "OUT", "TOPIC": "greenhouse/output/fan" },
{ "TYPE": "OUT", "TOPIC": "greenhouse/output/pump" },
{ "TYPE": "IN", "TOPIC": "greenhouse/input/floodsensor" }
]
},
{
"ADDRES": "010",
"GPIOS": [
{ "TYPE": "OUT", "TOPIC": "greenhouse/pump" },
{ "TYPE": "IN", "TOPIC": "greenhouse/floodsensor" }
]
}
],
"ANALOG_CONTROLLERS": [
{
"ADDRES": "001",
"INPUTS": [{ "TOPIC": "greenhouse/input/moisture" }]
}
]
}
}
}