-
Notifications
You must be signed in to change notification settings - Fork 1
/
lifebase_meter-.conf.stub
105 lines (88 loc) · 3.74 KB
/
lifebase_meter-.conf.stub
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
101
102
103
104
105
##### Device specific values #####
###### Identity ######
SUBJECT_NAME=""
SUBJECT_UUID=""
SUBJECT_TYPE_NAME=""
SUBJECT_TYPE_UUID=""
###### Connectivity ######
BLE_ENABLE="on"
WIFI_ENABLE="off"
WIFI_DEFAULT_SSID=""
WIFI_DEFAULT_PASSWORD=""
WIFI_MQTT_DEFAULT_BROKER=""
WIFI_MQTT_DEFAULT_PORT=1883
WIFI_MQTT_DEFAULT_NAMESPACE=""
WIFI_MQTT_DEFAULT_USER=""
WIFI_MQTT_DEFAULT_PASSWORD=""
###### Functionality ######
SUBJECT_SERVICE="on" # is always on..
LIGHT_SERVICE=""
LIGHT_EXPOSURE_SENSOR=2561
AIR_SERVICE=""
WATER_SERVICE=""
SOIL_SERVICE=""
EXTRA_SERVICE=""
###### PIN Configuration ######
SUBJECT_LED_RED_PIN=14
SUBJECT_LED_GREEN_PIN=27
SUBJECT_LED_BLUE_PIN=12
AIR_DHT_PIN=13
WATER_CONTAINER_LEVEL_TRIGGER_PIN=26
WATER_CONTAINER_LEVEL_ECHO_PIN=25
WATER_CONTAINER_LEVEL_MIN_PIN=4
WATER_CONTAINER_LEVEL_MAX_PIN=15
WATER_PUMP_PIN=2
SOIL_MOISTURE_PIN=32
EXTRA_LEAK_PIN=33
#### Those values should probably not be changed.. ####
##### This might change for test setups #####
MAIN_LOOP_DELAY=60000
PUMP_LOOP_DELAY=2000
# PUMP_MODE continouus '0', pump on as per default;
# PUMP_MODE interval '1', pump only on request;
PUMP_MODE=0
##### This is LifeBase specific #####
LB_TAG="LifeBaseMeter"
SUBJECT_SERVICE_UUID="54000000-e337-46ca-9690-cdd6d309e7b1"
SUBJECT_NAME_UUID="54000001-e337-46ca-9690-cdd6d309e7b1"
SUBJECT_UUID_UUID="54000002-e337-46ca-9690-cdd6d309e7b1"
SUBJECT_TYPE_NAME_UUID="54000003-e337-46ca-9690-cdd6d309e7b1"
SUBJECT_TYPE_UUID_UUID="54000004-e337-46ca-9690-cdd6d309e7b1"
SUBJECT_LED_HEALTH_UUID="54000010-e337-46ca-9690-cdd6d309e7b1"
SUBJECT_LED_WARN_UUID="54000011-e337-46ca-9690-cdd6d309e7b1"
SUBJECT_LED_IDENTIFY_UUID="54000012-e337-46ca-9690-cdd6d309e7b1"
LIGHT_SERVICE_UUID="54010000-e337-46ca-9690-cdd6d309e7b1"
LIGHT_EXPOSURE_UUID="54010010-e337-46ca-9690-cdd6d309e7b1"
LIGHT_COLOR_UUID="54010020-e337-46ca-9690-cdd6d309e7b1"
AIR_SERVICE_UUID="54020000-e337-46ca-9690-cdd6d309e7b1"
AIR_TEMPERATURE_UUID="2a6e"
AIR_TEMPERATURE_MIN_CRIT_UUID="54020011-e337-46ca-9690-cdd6d309e7b1"
AIR_TEMPERATURE_MIN_WARN_UUID="54020012-e337-46ca-9690-cdd6d309e7b1"
AIR_TEMPERATURE_MAX_WARN_UUID="54020013-e337-46ca-9690-cdd6d309e7b1"
AIR_TEMPERATURE_MAX_CRIT_UUID="54020014-e337-46ca-9690-cdd6d309e7b1"
AIR_HUMIDITY_UUID="2a6f"
AIR_TEMPERATURE_MIN_CRIT_UUID="54020021-e337-46ca-9690-cdd6d309e7b1"
AIR_TEMPERATURE_MIN_WARN_UUID="54020022-e337-46ca-9690-cdd6d309e7b1"
AIR_TEMPERATURE_MAX_WARN_UUID="54020023-e337-46ca-9690-cdd6d309e7b1"
AIR_TEMPERATURE_MAX_CRIT_UUID="54020024-e337-46ca-9690-cdd6d309e7b1"
WATER_SERVICE_UUID="54030000-e337-46ca-9690-cdd6d309e7b1"
WATER_CONTAINER_DISTANCE_UUID="54030010-e337-46ca-9690-cdd6d309e7b1"
WATER_CONTAINER_LEVEL_UUID="54030011-e337-46ca-9690-cdd6d309e7b1"
WATER_CONTAINER_DEPTH_UUID="54030012-e337-46ca-9690-cdd6d309e7b1"
WATER_CONTAINER_MIN_CRIT_UUID="54030013-e337-46ca-9690-cdd6d309e7b1"
WATER_CONTAINER_MIN_WARN_UUID="54030014-e337-46ca-9690-cdd6d309e7b1"
WATER_CONTAINER_MAX_WARN_UUID="54030015-e337-46ca-9690-cdd6d309e7b1"
WATER_CONTAINER_MAX_CRIT_UUID="54030016-e337-46ca-9690-cdd6d309e7b1"
WATER_CONTAINER_MIN_LEVEL_UUID="54030017-e337-46ca-9690-cdd6d309e7b1"
WATER_CONTAINER_MAX_LEVEL_UUID="54030018-e337-46ca-9690-cdd6d309e7b1"
WATER_CONTAINER_PUMP_UUID="54030019-e337-46ca-9690-cdd6d309e7b1"
SOIL_SERVICE_UUID="54040000-e337-46ca-9690-cdd6d309e7b1"
SOIL_MOISTURE_UUID="54040010-e337-46ca-9690-cdd6d309e7b1"
SOIL_MOISTURE_MIN_CRIT_UUID="54040011-e337-46ca-9690-cdd6d309e7b1"
SOIL_MOISTURE_MIN_WARN_UUID="54040012-e337-46ca-9690-cdd6d309e7b1"
SOIL_MOISTURE_MAX_WARN_UUID="54040013-e337-46ca-9690-cdd6d309e7b1"
SOIL_MOISTURE_MAX_CRIT_UUID="54040014-e337-46ca-9690-cdd6d309e7b1"
EXTRA_SERVICE_UUID="54050000-e337-46ca-9690-cdd6d309e7b1"
EXTRA_LEAK_UUID="54050010-e337-46ca-9690-cdd6d309e7b1"
## only used internally for compatibility checks
config_version="0.5"