-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.json
More file actions
218 lines (218 loc) · 6.84 KB
/
config.json
File metadata and controls
218 lines (218 loc) · 6.84 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
{
"AppName": "SaluminatorV4",
"Description": "Monitoring of Saluminator Fermentation System",
"Enable Cloud Telemetry": true,
"Telemetry Frequency In Seconds": 60,
"Read Delay In Seconds": 5,
"Temperature Format": "F",
"NameSpace": "saluminatorFermentationSystem",
"Database Naming Pattern": "active_recipe_{recipe_name}.db",
"Correct Recipe Checkpoint Drift": true,
"ServerUrlPattern": "opc.tcp://{ip}:{port}/Saluminator-Fermentation-System/Server",
"ClientUrlPattern": "opc.tcp://localhost:{port}/Saluminator-Fermentation-System/Server",
"Port": 4840,
"IPAddress": "0.0.0.0",
"ApplicationUri": "urn:saluminatorFermentationSystem:Server",
"DeviceCapabilityModelId": "urn:saluminatorFermentationSystem:Server:1",
"ServerDiscoveryName": "Saluminator Fermentation System",
"CacheAddrSpaceFileName": "cache.opc",
"ServerFrequencyInSeconds": 60,
"ClientFrequencyInSeconds": 15,
"Device": {
"Device Name Prefix": "saluminatorFermentationSystem-{id}",
"NameSpace": "saluminatorFermentationSystem",
"Default Component Id": "dtmi:saluminatorFermentationSystem:Saluminator;1"
},
"Status": {
"Pins": {
"Red": 5,
"Green": 6,
"Blue": 16
}
},
"Relays": {
"Pins": {
"Humidifier": 6,
"DeHumidifier": 17,
"Heater": 27,
"Chiller": 22,
"Fan": 5,
"Light": 26,
"Open1": 23,
"Open2": 24
}
},
"AmbientPin": 25,
"Simulation": {
"Loop Delay": 15,
"Ambient Temperature": {
"Minimum": 56,
"Maximum": 81
},
"Chamber Temperature": {
"Minimum": 61,
"Maximum": 80
},
"Ambient Humidity": {
"Minimum": 71,
"Maximum": 78
},
"Chamber Humidity": {
"Minimum": 72,
"Maximum": 85
}
},
"Nodes": [
{
"Name": "Ambient",
"InterfacelId": "urn:saluminatorFermentationSystem:AmbientInterface:1",
"InterfaceInstanceName": "AmbientInterface",
"Variables": [
{
"DisplayName": "Ambient Temperature",
"TelemetryName": "temperature",
"IoTCDataType": "float",
"SimulationRangeValues": [
72.45, 73.23, 85.9, 91.54, 73.28, 67.54, 69.28, 81.54, 73.68, 81.23
]
},
{
"DisplayName": "Ambient Humidity",
"TelemetryName": "humidity",
"IoTCDataType": "float",
"SimulationRangeValues": [68.8, 71.0, 72.3, 64.1, 89.2, 67.3]
}
]
},
{
"Name": "Saluminator",
"InterfacelId": "urn:saluminatorFermentationSystem:SaluminatorInterface:1",
"InterfaceInstanceName": "SaluminatorInterface",
"Variables": [
{
"DisplayName": "Chamber Temperature",
"TelemetryName": "temperature",
"IoTCDataType": "double",
"SimulationRangeValues": [
88.45, 88.23, 89.9, 86.54, 87.28, 88.23, 89.45, 91.23, 92.9, 86.54, 85.28, 84.23
]
},
{
"DisplayName": "Chamber Humidity",
"TelemetryName": "humidity",
"IoTCDataType": "double",
"SimulationRangeValues": [78.8, 79.0, 77.3, 88.1, 85.2, 87.3, 88.8, 89.0, 77.3, 78.1, 75.2, 67.3]
}
]
},
{
"Name": "Recipe",
"InterfacelId": "urn:saluminatorFermentationSystem:RecipeInterface:1",
"InterfaceInstanceName": "RecipeInterface",
"Variables": [
{
"DisplayName": "Telemetry Frequency Loop (Seconds)",
"TelemetryName": "tfls",
"IoTCDataType": "integer",
"SimulationRangeValues": [60]
},
{
"DisplayName": "Recipe Name",
"TelemetryName": "rn",
"IoTCDataType": "string",
"SimulationRangeValues": ["Tuscona"]
},
{
"DisplayName": "Total Cure Time (Hours)",
"TelemetryName": "tcth",
"IoTCDataType": "integer",
"SimulationRangeValues": [335]
},
{
"DisplayName": "Checkpoint Hour",
"TelemetryName": "checkpoint_hour",
"IoTCDataType": "integer",
"SimulationRangeValues": [1, 2, 3, 4, 5]
},
{
"DisplayName": "Last Reported from Device",
"TelemetryName": "last_reported_time",
"IoTCDataType": "double",
"SimulationRangeValues": [0.1, 0.2, 0.3]
},
{
"DisplayName": "Hourly Message Count",
"TelemetryName": "hmc",
"IoTCDataType": "double",
"SimulationRangeValues": [1, 2, 3]
},
{
"DisplayName": "Average Temperature",
"TelemetryName": "at",
"IoTCDataType": "double",
"SimulationRangeValues": [61.2, 61.3, 61.5, 61.6, 63.7, 64.3, 65.5, 66.6, 67.7, 68.3, 69.5, 70.6]
},
{
"DisplayName": "Average Humidity",
"TelemetryName": "ah",
"IoTCDataType": "double",
"SimulationRangeValues": [55.2, 55.3]
},
{
"DisplayName": "Incubation Started",
"TelemetryName": "incubation_started",
"IoTCDataType": "double",
"SimulationRangeValues": [55.2, 55.3]
},
{
"DisplayName": "Incubation Ended",
"TelemetryName": "incubation_ended",
"IoTCDataType": "double",
"SimulationRangeValues": [55.2, 55.3]
},
{
"DisplayName": "Incubation Percentage Completed",
"TelemetryName": "incubation_percentage",
"IoTCDataType": "double",
"SimulationRangeValues": [55.2, 55.3]
},
{
"DisplayName": "Cure Started",
"TelemetryName": "cure_started",
"IoTCDataType": "double",
"SimulationRangeValues": [55.2, 55.3]
},
{
"DisplayName": "Cure Ended",
"TelemetryName": "cure_ended",
"IoTCDataType": "double",
"SimulationRangeValues": [55.2, 55.3]
},
{
"DisplayName": "Cure Percentage Completed",
"TelemetryName": "cure_percentage",
"IoTCDataType": "double",
"SimulationRangeValues": [55.2, 55.3]
},
{
"DisplayName": "Finish Started",
"TelemetryName": "finish_started",
"IoTCDataType": "double",
"SimulationRangeValues": [55.2, 55.3]
},
{
"DisplayName": "Finish Ended",
"TelemetryName": "finish_ended",
"IoTCDataType": "double",
"SimulationRangeValues": [55.2, 55.3]
},
{
"DisplayName": "Finish Percentage Completed",
"TelemetryName": "finish_percentage",
"IoTCDataType": "double",
"SimulationRangeValues": [55.2, 55.3]
}
]
}
]
}