3 #set -x # echo invoked commands to std out
5 # Base dir should point to the experimental_result folder which contains the subfolders:
6 # - 'smarthome' which contains the traces collected while other devices are idle
7 # - 'standalone' which contains signatures and the traces used to generate the signatures.
9 # TODO: This script has been used to extract signatures from the public dataset
10 # TODO: provided at https://moniotrlab.ccis.neu.edu/imc19/
12 # TODO: Please download the dataset yourself if you want to try this script.
13 # TODO: Please don't forget to preprocess the dataset using the instructions
14 # TODO: in PingPong/evaluation-datasets/public-dataset/smarthome/README
16 # TODO: For a number of devices the CLUSTER_BOUNDS_MULTIPLIER should be as high as 0.9 or 0.99 due to
17 # TODO: inconsistent network traces (see SignatureGenerator.java).
18 # TODO: For most cases, INCLUSION_WINDOW_MILLIS needs to be 30_000 (see TriggerTrafficExtractor.java).
26 SIGNATURES_BASE_DIR="$BASE_DIR/standalone"
27 readonly SIGNATURES_BASE_DIR
29 # ================================================== BLINK HUB PHOTO ===================================================
30 INPUT_PCAP="$SIGNATURES_BASE_DIR/blink-hub/blink-hub-photo/wlan/blink-hub-photo.wlan.pcap"
32 OUTPUT_PCAP="$OUTPUT_DIR/blink-hub/blink-hub-photo/wlan/blink-hub-photo-processed.pcap"
33 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/blink-hub/blink-hub-photo/timestamps/blink-hub-photo.timestamps"
34 DEVICE_IP="192.168.10.207"
35 ON_SIGNATURE="$OUTPUT_DIR/blink-hub/blink-hub-photo/signatures/blink-hub-photo-onSignature-device-side.sig"
36 OFF_SIGNATURE="$OUTPUT_DIR/blink-hub/blink-hub-photo/signatures/blink-hub-photo-offSignature-device-side.sig"
37 ON_ANALYSIS="$OUTPUT_DIR/blink-hub/blink-hub-photo/analyses/blink-hub-photo-onClusters-device-side.cls"
38 OFF_ANALYSIS="$OUTPUT_DIR/blink-hub/blink-hub-photo/analyses/blink-hub-photo-offClusters-device-side.cls"
40 DELETED_SEQUENCES_ON="-1"
41 DELETED_SEQUENCES_OFF="-1"
43 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
44 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
45 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
46 # ======================================================================================================================
48 # ================================================== BLINK HUB WATCH ===================================================
49 INPUT_PCAP="$SIGNATURES_BASE_DIR/blink-hub/blink-hub-watch/wlan/blink-hub-watch.wlan.pcap"
51 OUTPUT_PCAP="$OUTPUT_DIR/blink-hub/blink-hub-watch/wlan/blink-hub-watch-processed.pcap"
52 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/blink-hub/blink-hub-watch/timestamps/blink-hub-watch.timestamps"
53 DEVICE_IP="192.168.10.207"
54 ON_SIGNATURE="$OUTPUT_DIR/blink-hub/blink-hub-watch/signatures/blink-hub-watch-onSignature-device-side.sig"
55 OFF_SIGNATURE="$OUTPUT_DIR/blink-hub/blink-hub-watch/signatures/blink-hub-watch-offSignature-device-side.sig"
56 ON_ANALYSIS="$OUTPUT_DIR/blink-hub/blink-hub-watch/analyses/blink-hub-watch-onClusters-device-side.cls"
57 OFF_ANALYSIS="$OUTPUT_DIR/blink-hub/blink-hub-watch/analyses/blink-hub-watch-offClusters-device-side.cls"
59 DELETED_SEQUENCES_ON="-1"
60 DELETED_SEQUENCES_OFF="-1"
62 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
63 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
64 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
65 # ======================================================================================================================
67 # =============================================== BLINK CAMERA PHOTO ===================================================
68 INPUT_PCAP="$SIGNATURES_BASE_DIR/blink-camera/blink-camera-photo/wlan/blink-camera-photo.wlan.pcap"
70 OUTPUT_PCAP="$OUTPUT_DIR/blink-camera/blink-camera-photo/wlan/blink-camera-photo-processed.pcap"
71 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/blink-camera/blink-camera-photo/timestamps/blink-camera-photo.timestamps"
72 DEVICE_IP="192.168.10.208"
73 ON_SIGNATURE="$OUTPUT_DIR/blink-camera/blink-camera-photo/signatures/blink-camera-photo-onSignature-device-side.sig"
74 OFF_SIGNATURE="$OUTPUT_DIR/blink-camera/blink-camera-photo/signatures/blink-camera-photo-offSignature-device-side.sig"
75 ON_ANALYSIS="$OUTPUT_DIR/blink-camera/blink-camera-photo/analyses/blink-camera-photo-onClusters-device-side.cls"
76 OFF_ANALYSIS="$OUTPUT_DIR/blink-camera/blink-camera-photo/analyses/blink-camera-photo-offClusters-device-side.cls"
78 DELETED_SEQUENCES_ON="-1"
79 DELETED_SEQUENCES_OFF="-1"
81 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
82 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
83 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
84 # ======================================================================================================================
86 # =============================================== BLINK CAMERA WATCH ===================================================
87 INPUT_PCAP="$SIGNATURES_BASE_DIR/blink-camera/blink-camera-watch/wlan/blink-camera-watch.wlan.pcap"
89 OUTPUT_PCAP="$OUTPUT_DIR/blink-camera/blink-camera-watch/wlan/blink-camera-watch-processed.pcap"
90 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/blink-camera/blink-camera-watch/timestamps/blink-camera-watch.timestamps"
91 DEVICE_IP="192.168.10.208"
92 ON_SIGNATURE="$OUTPUT_DIR/blink-camera/blink-camera-watch/signatures/blink-camera-watch-onSignature-device-side.sig"
93 OFF_SIGNATURE="$OUTPUT_DIR/blink-camera/blink-camera-watch/signatures/blink-camera-watch-offSignature-device-side.sig"
94 ON_ANALYSIS="$OUTPUT_DIR/blink-camera/blink-camera-watch/analyses/blink-camera-watch-onClusters-device-side.cls"
95 OFF_ANALYSIS="$OUTPUT_DIR/blink-camera/blink-camera-watch/analyses/blink-camera-watch-offClusters-device-side.cls"
97 DELETED_SEQUENCES_ON="-1"
98 DELETED_SEQUENCES_OFF="-1"
100 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
101 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
102 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
103 # ======================================================================================================================
105 # ================================================== HUE BULB ON/OFF ===================================================
106 INPUT_PCAP="$SIGNATURES_BASE_DIR/hue-bulb/hue-bulb-onoff/wlan/hue-bulb-onoff.wlan.pcap"
108 OUTPUT_PCAP="$OUTPUT_DIR/hue-bulb/hue-bulb-onoff/wlan/hue-bulb-processed.pcap"
109 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/hue-bulb/hue-bulb-onoff/timestamps/hue-bulb-onoff.timestamps"
110 DEVICE_IP="192.168.10.142"
111 ON_SIGNATURE="$OUTPUT_DIR/hue-bulb/hue-bulb-onoff/signatures/hue-bulb-onoff-onSignature-device-side.sig"
112 OFF_SIGNATURE="$OUTPUT_DIR/hue-bulb/hue-bulb-onoff/signatures/hue-bulb-onoff-offSignature-device-side.sig"
113 ON_ANALYSIS="$OUTPUT_DIR/hue-bulb/hue-bulb-onoff/analyses/hue-bulb-onoff-onClusters-device-side.cls"
114 OFF_ANALYSIS="$OUTPUT_DIR/hue-bulb/hue-bulb-onoff/analyses/hue-bulb-onoff-offClusters-device-side.cls"
116 DELETED_SEQUENCES_ON="-1"
117 DELETED_SEQUENCES_OFF="-1"
119 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
120 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
121 # ======================================================================================================================
123 # ================================================= HUE BULB INTENSITY =================================================
124 INPUT_PCAP="$SIGNATURES_BASE_DIR/hue-bulb/hue-bulb-intensity/wlan/hue-bulb-intensity.wlan.pcap"
126 OUTPUT_PCAP="$OUTPUT_DIR/hue-bulb/hue-bulb-intensity/wlan/hue-bulb-processed.pcap"
127 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/hue-bulb/hue-bulb-intensity/timestamps/hue-bulb-intensity.timestamps"
128 DEVICE_IP="192.168.10.142"
129 ON_SIGNATURE="$OUTPUT_DIR/hue-bulb/hue-bulb-intensity/signatures/hue-bulb-intensity-onSignature-device-side.sig"
130 OFF_SIGNATURE="$OUTPUT_DIR/hue-bulb/hue-bulb-intensity/signatures/hue-bulb-intensity-offSignature-device-side.sig"
131 ON_ANALYSIS="$OUTPUT_DIR/hue-bulb/hue-bulb-intensity/analyses/hue-bulb-intensity-onClusters-device-side.cls"
132 OFF_ANALYSIS="$OUTPUT_DIR/hue-bulb/hue-bulb-intensity/analyses/hue-bulb-intensity-offClusters-device-side.cls"
134 DELETED_SEQUENCES_ON="-1"
135 DELETED_SEQUENCES_OFF="-1"
137 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
138 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
139 # ======================================================================================================================
141 # =================================================== HUE BULB COLOR ===================================================
142 INPUT_PCAP="$SIGNATURES_BASE_DIR/hue-bulb/hue-bulb-color/wlan/hue-bulb-color.wlan.pcap"
144 OUTPUT_PCAP="$OUTPUT_DIR/hue-bulb/hue-bulb-color/wlan/hue-bulb-processed.pcap"
145 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/hue-bulb/hue-bulb-color/timestamps/hue-bulb-color.timestamps"
146 DEVICE_IP="192.168.10.142"
147 ON_SIGNATURE="$OUTPUT_DIR/hue-bulb/hue-bulb-color/signatures/hue-bulb-color-onSignature-device-side.sig"
148 OFF_SIGNATURE="$OUTPUT_DIR/hue-bulb/hue-bulb-color/signatures/hue-bulb-color-offSignature-device-side.sig"
149 ON_ANALYSIS="$OUTPUT_DIR/hue-bulb/hue-bulb-color/analyses/hue-bulb-color-onClusters-device-side.cls"
150 OFF_ANALYSIS="$OUTPUT_DIR/hue-bulb/hue-bulb-color/analyses/hue-bulb-color-offClusters-device-side.cls"
152 DELETED_SEQUENCES_ON="2"
153 DELETED_SEQUENCES_OFF="2"
155 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
156 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
157 # ======================================================================================================================
159 # ==================================================== INSTEON HUB =====================================================
160 # TODO: SIGNATURE NOT FOUND HERE (BIG CLUSTERS)
161 INPUT_PCAP="$SIGNATURES_BASE_DIR/insteon-hub/wlan/insteon-hub.wlan.pcap"
163 OUTPUT_PCAP="$OUTPUT_DIR/insteon-hub/wlan/insteon-hub-processed.pcap"
164 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/insteon-hub/timestamps/insteon-hub.timestamps"
165 DEVICE_IP="192.168.10.241"
166 ON_SIGNATURE="$OUTPUT_DIR/insteon-hub/signatures/insteon-hub-onSignature-device-side.sig"
167 OFF_SIGNATURE="$OUTPUT_DIR/insteon-hub/signatures/insteon-hub-offSignature-device-side.sig"
168 ON_ANALYSIS="$OUTPUT_DIR/insteon-hub/analyses/insteon-hub-onClusters-device-side.cls"
169 OFF_ANALYSIS="$OUTPUT_DIR/insteon-hub/analyses/insteon-hub-offClusters-device-side.cls"
171 DELETED_SEQUENCES_ON="-1"
172 DELETED_SEQUENCES_OFF="-1"
174 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
175 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
176 # ======================================================================================================================
178 # ====================================================== IKETTLE =======================================================
179 INPUT_PCAP="$SIGNATURES_BASE_DIR/ikettle/wlan/ikettle.wlan.pcap"
181 OUTPUT_PCAP="$OUTPUT_DIR/ikettle/wlan/ikettle-processed.pcap"
182 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/ikettle/timestamps/ikettle.timestamps"
183 DEVICE_IP="192.168.10.162"
184 ON_SIGNATURE="$OUTPUT_DIR/ikettle/signatures/ikettle-onSignature-device-side.sig"
185 OFF_SIGNATURE="$OUTPUT_DIR/ikettle/signatures/ikettle-offSignature-device-side.sig"
186 ON_ANALYSIS="$OUTPUT_DIR/ikettle/analyses/ikettle-onClusters-device-side.cls"
187 OFF_ANALYSIS="$OUTPUT_DIR/ikettle/analyses/ikettle-offClusters-device-side.cls"
189 DELETED_SEQUENCES_ON="-1"
190 DELETED_SEQUENCES_OFF="-1"
192 # TODO: SIGNATURE NOT FOUND HERE (BIG CLUSTERS)
193 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
194 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
195 # ======================================================================================================================
197 # ================================================= LIGHTIFY BULB ON/OFF ===============================================
198 INPUT_PCAP="$SIGNATURES_BASE_DIR/lightify-hub/lightify-hub-onoff/wlan/lightify-hub-onoff.wlan.pcap"
200 OUTPUT_PCAP="$OUTPUT_DIR/lightify-hub/lightify-hub-onoff/wlan/lightify-hub-onoff-processed.pcap"
201 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/lightify-hub/lightify-hub-onoff/timestamps/lightify-hub-onoff.timestamps"
202 DEVICE_IP="192.168.10.149"
203 ON_SIGNATURE="$OUTPUT_DIR/lightify-hub/lightify-hub-onoff/signatures/lightify-hub-onoff-onSignature-device-side.sig"
204 OFF_SIGNATURE="$OUTPUT_DIR/lightify-hub/lightify-hub-onoff/signatures/lightify-hub-onoff-offSignature-device-side.sig"
205 ON_ANALYSIS="$OUTPUT_DIR/lightify-hub/lightify-hub-onoff/analyses/lightify-hub-onoff-onClusters-device-side.cls"
206 OFF_ANALYSIS="$OUTPUT_DIR/lightify-hub/lightify-hub-onoff/analyses/lightify-hub-onoff-offClusters-device-side.cls"
208 DELETED_SEQUENCES_ON="-1"
209 DELETED_SEQUENCES_OFF="1"
211 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
212 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
213 # ======================================================================================================================
215 # ================================================= LIGHTIFY BULB COLOR ================================================
216 INPUT_PCAP="$SIGNATURES_BASE_DIR/lightify-hub/lightify-hub-color/wlan/lightify-hub-color.wlan.pcap"
218 OUTPUT_PCAP="$OUTPUT_DIR/lightify-hub/lightify-hub-color/wlan/lightify-hub-color-processed.pcap"
219 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/lightify-hub/lightify-hub-color/timestamps/lightify-hub-color.timestamps"
220 DEVICE_IP="192.168.10.149"
221 ON_SIGNATURE="$OUTPUT_DIR/lightify-hub/lightify-hub-color/signatures/lightify-hub-color-onSignature-device-side.sig"
222 OFF_SIGNATURE="$OUTPUT_DIR/lightify-hub/lightify-hub-color/signatures/lightify-hub-color-offSignature-device-side.sig"
223 ON_ANALYSIS="$OUTPUT_DIR/lightify-hub/lightify-hub-color/analyses/lightify-hub-color-onClusters-device-side.cls"
224 OFF_ANALYSIS="$OUTPUT_DIR/lightify-hub/lightify-hub-color/analyses/lightify-hub-color-offClusters-device-side.cls"
226 DELETED_SEQUENCES_ON="-1"
227 DELETED_SEQUENCES_OFF="-1"
229 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
230 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
231 # ======================================================================================================================
233 # =============================================== MAGICHOME STRIP ON/OFF ===============================================
234 # TODO: SIGNATURE NOT FOUND HERE (BIG CLUSTERS)
235 INPUT_PCAP="$SIGNATURES_BASE_DIR/magichome-strip/magichome-strip-onoff/wlan/magichome-strip-onoff.wlan.pcap"
237 OUTPUT_PCAP="$OUTPUT_DIR/magichome-strip/magichome-strip-onoff/wlan/magichome-strip-processed.pcap"
238 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/magichome-strip/magichome-strip-onoff/timestamps/magichome-strip-onoff.timestamps"
239 DEVICE_IP="192.168.10.186"
240 ON_SIGNATURE="$OUTPUT_DIR/magichome-strip/magichome-strip-onoff/signatures/magichome-strip-onoff-onSignature-device-side.sig"
241 OFF_SIGNATURE="$OUTPUT_DIR/magichome-strip/magichome-strip-onoff/signatures/magichome-strip-onoff-offSignature-device-side.sig"
242 ON_ANALYSIS="$OUTPUT_DIR/magichome-strip/magichome-strip-onoff/analyses/magichome-strip-onoff-onClusters-device-side.cls"
243 OFF_ANALYSIS="$OUTPUT_DIR/magichome-strip/magichome-strip-onoff/analyses/magichome-strip-onoff-offClusters-device-side.cls"
245 DELETED_SEQUENCES_ON="-1"
246 DELETED_SEQUENCES_OFF="-1"
248 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
249 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
250 # ======================================================================================================================
252 # =============================================== NEST THERMOSTAT ON/OFF ===============================================
253 # TODO: WE EXTRACTED DIFFERENT FEATURES FOR NEST
254 INPUT_PCAP="$SIGNATURES_BASE_DIR/nest-thermostat/nest-thermostat-onoff/wlan/nest-thermostat-onoff.wlan.pcap"
256 OUTPUT_PCAP="$OUTPUT_DIR/nest-thermostat/nest-thermostat-onoff/wlan/nest-thermostat-processed.pcap"
257 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/nest-thermostat/nest-thermostat-onoff/timestamps/nest-thermostat-onoff.timestamps"
258 DEVICE_IP="192.168.10.246"
259 ON_SIGNATURE="$OUTPUT_DIR/nest-thermostat/nest-thermostat-onoff/signatures/nest-thermostat-onoff-onSignature-phone-side.sig"
260 OFF_SIGNATURE="$OUTPUT_DIR/nest-thermostat/nest-thermostat-onoff/signatures/nest-thermostat-onoff-offSignature-phone-side.sig"
261 ON_ANALYSIS="$OUTPUT_DIR/nest-thermostat/nest-thermostat-onoff/analyses/nest-thermostat-onoff-onClusters-phone-side.cls"
262 OFF_ANALYSIS="$OUTPUT_DIR/nest-thermostat/nest-thermostat-onoff/analyses/nest-thermostat-onoff-offClusters-phone-side.cls"
264 DELETED_SEQUENCES_ON="-1"
265 DELETED_SEQUENCES_OFF="-1"
267 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
268 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
269 # ======================================================================================================================
271 # =============================================== SENGLED BULB ON/OFF ==================================================
272 INPUT_PCAP="$SIGNATURES_BASE_DIR/sengled-hub/sengled-hub-onoff/wlan/sengled-hub-onoff.wlan.pcap"
274 OUTPUT_PCAP="$OUTPUT_DIR/sengled-hub/sengled-hub-onoff/wlan/sengled-hub-onoff-processed.pcap"
275 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/sengled-hub/sengled-hub-onoff/timestamps/sengled-hub-onoff.timestamps"
276 DEVICE_IP="192.168.10.202"
277 ON_SIGNATURE="$OUTPUT_DIR/sengled-hub/sengled-hub-onoff/signatures/sengled-hub-onoff-onSignature-device-side.sig"
278 OFF_SIGNATURE="$OUTPUT_DIR/sengled-hub/sengled-hub-onoff/signatures/sengled-hub-onoff-offSignature-device-side.sig"
279 ON_ANALYSIS="$OUTPUT_DIR/sengled-hub/sengled-hub-onoff/analyses/sengled-hub-onoff-onClusters-device-side.cls"
280 OFF_ANALYSIS="$OUTPUT_DIR/sengled-hub/sengled-hub-onoff/analyses/sengled-hub-onoff-offClusters-device-side.cls"
282 DELETED_SEQUENCES_ON="0"
283 DELETED_SEQUENCES_OFF="3"
285 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
286 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
287 # ======================================================================================================================
289 # =============================================== SENGLED BULB INTENSITY ===============================================
290 INPUT_PCAP="$SIGNATURES_BASE_DIR/sengled-hub/sengled-hub-intensity/wlan/sengled-hub-intensity.wlan.pcap"
292 OUTPUT_PCAP="$OUTPUT_DIR/sengled-hub/sengled-hub-intensity/wlan/sengled-hub-intensity-processed.pcap"
293 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/sengled-hub/sengled-hub-intensity/timestamps/sengled-hub-intensity.timestamps"
294 DEVICE_IP="192.168.10.202"
295 ON_SIGNATURE="$OUTPUT_DIR/sengled-hub/sengled-hub-intensity/signatures/sengled-hub-intensity-onSignature-device-side.sig"
296 OFF_SIGNATURE="$OUTPUT_DIR/sengled-hub/sengled-hub-intensity/signatures/sengled-hub-intensity-offSignature-device-side.sig"
297 ON_ANALYSIS="$OUTPUT_DIR/sengled-hub/sengled-hub-intensity/analyses/sengled-hub-intensity-onClusters-device-side.cls"
298 OFF_ANALYSIS="$OUTPUT_DIR/sengled-hub/sengled-hub-intensity/analyses/sengled-hub-intensity-offClusters-device-side.cls"
300 DELETED_SEQUENCES_ON="-1"
301 DELETED_SEQUENCES_OFF="-1"
303 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
304 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
305 # ======================================================================================================================
307 # ================================================= SENGLED BULB COLOR =================================================
308 INPUT_PCAP="$SIGNATURES_BASE_DIR/sengled-hub/sengled-hub-color/wlan/sengled-hub-color.wlan.pcap"
310 OUTPUT_PCAP="$OUTPUT_DIR/sengled-hub/sengled-hub-color/wlan/sengled-hub-color-processed.pcap"
311 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/sengled-hub/sengled-hub-color/timestamps/sengled-hub-color.timestamps"
312 DEVICE_IP="192.168.10.202"
313 ON_SIGNATURE="$OUTPUT_DIR/sengled-hub/sengled-hub-color/signatures/sengled-hub-color-onSignature-device-side.sig"
314 OFF_SIGNATURE="$OUTPUT_DIR/sengled-hub/sengled-hub-color/signatures/sengled-hub-color-offSignature-device-side.sig"
315 ON_ANALYSIS="$OUTPUT_DIR/sengled-hub/sengled-hub-color/analyses/sengled-hub-color-onClusters-device-side.cls"
316 OFF_ANALYSIS="$OUTPUT_DIR/sengled-hub/sengled-hub-color/analyses/sengled-hub-color-offClusters-device-side.cls"
318 DELETED_SEQUENCES_ON="0,0,2"
319 DELETED_SEQUENCES_OFF="0,0,0,2"
321 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
322 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
323 # ======================================================================================================================
325 # ================================================= TP LINK BULB ON/OFF ================================================
326 INPUT_PCAP="$SIGNATURES_BASE_DIR/tplink-bulb/tplink-bulb-onoff/wlan/tplink-bulb-onoff.wlan.pcap"
328 # It seems that ON and OFF clusters are swapped
329 OUTPUT_PCAP="$OUTPUT_DIR/tplink-bulb/tplink-bulb-onoff/wlan/tplink-bulb-onoff-processed.pcap"
330 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/tplink-bulb/tplink-bulb-onoff/timestamps/tplink-bulb-onoff.timestamps"
331 DEVICE_IP="192.168.10.146"
332 ON_SIGNATURE="$OUTPUT_DIR/tplink-bulb/tplink-bulb-onoff/signatures/tplink-bulb-onoff-onSignature-phone-side.sig"
333 OFF_SIGNATURE="$OUTPUT_DIR/tplink-bulb/tplink-bulb-onoff/signatures/tplink-bulb-onoff-offSignature-phone-side.sig"
334 ON_ANALYSIS="$OUTPUT_DIR/tplink-bulb/tplink-bulb-onoff/analyses/tplink-bulb-onoff-onClusters-phone-side.cls"
335 OFF_ANALYSIS="$OUTPUT_DIR/tplink-bulb/tplink-bulb-onoff/analyses/tplink-bulb-onoff-offClusters-phone-side.cls"
337 DELETED_SEQUENCES_ON="3,0,1"
338 DELETED_SEQUENCES_OFF="4,1,1,1"
340 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
341 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
342 # ======================================================================================================================
344 # ================================================= TP LINK BULB COLOR =================================================
345 INPUT_PCAP="$SIGNATURES_BASE_DIR/tplink-bulb/tplink-bulb-color/wlan/tplink-bulb-color.wlan.pcap"
347 OUTPUT_PCAP="$OUTPUT_DIR/tplink-bulb/tplink-bulb-color/wlan/tplink-bulb-color-processed.pcap"
348 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/tplink-bulb/tplink-bulb-color/timestamps/tplink-bulb-color.timestamps"
349 DEVICE_IP="192.168.10.146"
350 ON_SIGNATURE="$OUTPUT_DIR/tplink-bulb/tplink-bulb-color/signatures/tplink-bulb-color-onSignature-phone-side.sig"
351 OFF_SIGNATURE="$OUTPUT_DIR/tplink-bulb/tplink-bulb-color/signatures/tplink-bulb-color-offSignature-phone-side.sig"
352 ON_ANALYSIS="$OUTPUT_DIR/tplink-bulb/tplink-bulb-color/analyses/tplink-bulb-color-onClusters-phone-side.cls"
353 OFF_ANALYSIS="$OUTPUT_DIR/tplink-bulb/tplink-bulb-color/analyses/tplink-bulb-color-offClusters-phone-side.cls"
355 DELETED_SEQUENCES_ON="0"
356 DELETED_SEQUENCES_OFF="0"
358 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
359 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
360 # ======================================================================================================================
362 # =============================================== TP LINK BULB INTENSITY ===============================================
363 INPUT_PCAP="$SIGNATURES_BASE_DIR/tplink-bulb/tplink-bulb-intensity/wlan/tplink-bulb-intensity.wlan.pcap"
365 OUTPUT_PCAP="$OUTPUT_DIR/tplink-bulb/tplink-bulb-intensity/wlan/tplink-bulb-intensity-processed.pcap"
366 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/tplink-bulb/tplink-bulb-intensity/timestamps/tplink-bulb-intensity.timestamps"
367 DEVICE_IP="192.168.10.146"
368 ON_SIGNATURE="$OUTPUT_DIR/tplink-bulb/tplink-bulb-intensity/signatures/tplink-bulb-intensity-onSignature-phone-side.sig"
369 OFF_SIGNATURE="$OUTPUT_DIR/tplink-bulb/tplink-bulb-intensity/signatures/tplink-bulb-intensity-offSignature-phone-side.sig"
370 ON_ANALYSIS="$OUTPUT_DIR/tplink-bulb/tplink-bulb-intensity/analyses/tplink-bulb-intensity-onClusters-phone-side.cls"
371 OFF_ANALYSIS="$OUTPUT_DIR/tplink-bulb/tplink-bulb-intensity/analyses/tplink-bulb-intensity-offClusters-phone-side.cls"
373 DELETED_SEQUENCES_ON="0"
374 DELETED_SEQUENCES_OFF="0"
376 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
377 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
378 # ======================================================================================================================
380 # ==================================================== TP-LINK PLUG ====================================================
381 INPUT_PCAP="$SIGNATURES_BASE_DIR/tplink-plug/wlan/tplink-plug.wlan.pcap"
383 # It seems that ON and OFF clusters are swapped (ON should have been odd and OFF should have been even numbers).
384 OUTPUT_PCAP="$OUTPUT_DIR/tplink-plug/wlan/tplink-plug-processed.pcap"
385 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/tplink-plug/timestamps/tplink-plug.timestamps"
386 DEVICE_IP="192.168.10.247"
387 ON_SIGNATURE="$OUTPUT_DIR/tplink-plug/signatures/tplink-plug-onSignature-device-side.sig"
388 OFF_SIGNATURE="$OUTPUT_DIR/tplink-plug/signatures/tplink-plug-offSignature-device-side.sig"
389 ON_ANALYSIS="$OUTPUT_DIR/tplink-plug/analyses/tplink-plug-onClusters-device-side.cls"
390 OFF_ANALYSIS="$OUTPUT_DIR/tplink-plug/analyses/tplink-plug-offClusters-device-side.cls"
392 DELETED_SEQUENCES_ON="2"
393 DELETED_SEQUENCES_OFF="-1"
395 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
396 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
397 # ======================================================================================================================
399 # ================================================== WEMO INSIGHT PLUG =================================================
400 INPUT_PCAP="$SIGNATURES_BASE_DIR/wemo-insight-plug/wlan/wemo-insight-plug.wlan.pcap"
402 OUTPUT_PCAP="$OUTPUT_DIR/wemo-insight-plug/wlan/wemo-insight-plug-processed.pcap"
403 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/wemo-insight-plug/timestamps/wemo-insight-plug.timestamps"
404 DEVICE_IP="192.168.10.143"
405 ON_SIGNATURE="$OUTPUT_DIR/wemo-insight-plug/signatures/wemo-insight-plug-onSignature-device-side.sig"
406 OFF_SIGNATURE="$OUTPUT_DIR/wemo-insight-plug/signatures/wemo-insight-plug-offSignature-device-side.sig"
407 ON_ANALYSIS="$OUTPUT_DIR/wemo-insight-plug/analyses/wemo-insight-plug-onClusters-device-side.cls"
408 OFF_ANALYSIS="$OUTPUT_DIR/wemo-insight-plug/analyses/wemo-insight-plug-offClusters-device-side.cls"
410 DELETED_SEQUENCES_ON="0"
411 DELETED_SEQUENCES_OFF="-1"
413 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
414 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
415 # ======================================================================================================================
417 # TODO: MORE SIGNATURE EXTRACTIONS
418 # ================================================ ALLURE SPEAKER ON/OFF ===============================================
419 INPUT_PCAP="$SIGNATURES_BASE_DIR/allure-speaker/allure-speaker-audio-onoff/wlan/allure-speaker-audio-onoff.wlan.pcap"
421 OUTPUT_PCAP="$OUTPUT_DIR/allure-speaker/allure-speaker-audio-onoff/wlan/allure-speaker-audio-onoff-processed.pcap"
422 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/allure-speaker/allure-speaker-audio-onoff/timestamps/allure-speaker-audio-onoff.timestamps"
423 DEVICE_IP="192.168.20.132"
424 ON_SIGNATURE="$OUTPUT_DIR/allure-speaker/allure-speaker-audio-onoff/signatures/allure-speaker-audio-onoff-onSignature-device-side.sig"
425 OFF_SIGNATURE="$OUTPUT_DIR/allure-speaker/allure-speaker-audio-onoff/signatures/allure-speaker-audio-onoff-offSignature-device-side.sig"
426 ON_ANALYSIS="$OUTPUT_DIR/allure-speaker/allure-speaker-audio-onoff/analyses/allure-speaker-audio-onoff-onClusters-device-side.cls"
427 OFF_ANALYSIS="$OUTPUT_DIR/allure-speaker/allure-speaker-audio-onoff/analyses/allure-speaker-audio-onoff-offClusters-device-side.cls"
429 DELETED_SEQUENCES_ON="2,0"
430 DELETED_SEQUENCES_OFF="2,0"
432 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.9 and INCLUSION_WINDOW_MILLIS = 30_000
433 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
434 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
435 # ======================================================================================================================
437 # ================================================ ALLURE SPEAKER VOICE ================================================
438 INPUT_PCAP="$SIGNATURES_BASE_DIR/allure-speaker/allure-speaker-voice/wlan/allure-speaker-voice.wlan.pcap"
440 OUTPUT_PCAP="$OUTPUT_DIR/allure-speaker/allure-speaker-voice/wlan/allure-speaker-voice-processed.pcap"
441 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/allure-speaker/allure-speaker-voice/timestamps/allure-speaker-voice.timestamps"
442 DEVICE_IP="192.168.20.132"
443 ON_SIGNATURE="$OUTPUT_DIR/allure-speaker/allure-speaker-voice/signatures/allure-speaker-voice-onSignature-device-side.sig"
444 OFF_SIGNATURE="$OUTPUT_DIR/allure-speaker/allure-speaker-voice/signatures/allure-speaker-voice-offSignature-device-side.sig"
445 ON_ANALYSIS="$OUTPUT_DIR/allure-speaker/allure-speaker-voice/analyses/allure-speaker-voice-onClusters-device-side.cls"
446 OFF_ANALYSIS="$OUTPUT_DIR/allure-speaker/allure-speaker-voice/analyses/allure-speaker-voice-offClusters-device-side.cls"
448 DELETED_SEQUENCES_ON="-1"
449 DELETED_SEQUENCES_OFF="-1"
451 # TODO: NO RELEVANT CLUSTERS
452 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
453 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
454 # ======================================================================================================================
456 # ================================================ ALLURE SPEAKER VOLUME ===============================================
457 INPUT_PCAP="$SIGNATURES_BASE_DIR/allure-speaker/allure-speaker-volume/wlan/allure-speaker-volume.wlan.pcap"
459 OUTPUT_PCAP="$OUTPUT_DIR/allure-speaker/allure-speaker-volume/wlan/allure-speaker-volume-processed.pcap"
460 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/allure-speaker/allure-speaker-volume/timestamps/allure-speaker-volume.timestamps"
461 DEVICE_IP="192.168.20.132"
462 ON_SIGNATURE="$OUTPUT_DIR/allure-speaker/allure-speaker-volume/signatures/allure-speaker-volume-onSignature-device-side.sig"
463 OFF_SIGNATURE="$OUTPUT_DIR/allure-speaker/allure-speaker-volume/signatures/allure-speaker-volume-offSignature-device-side.sig"
464 ON_ANALYSIS="$OUTPUT_DIR/allure-speaker/allure-speaker-volume/analyses/allure-speaker-volume-onClusters-device-side.cls"
465 OFF_ANALYSIS="$OUTPUT_DIR/allure-speaker/allure-speaker-volume/analyses/allure-speaker-volume-offClusters-device-side.cls"
467 DELETED_SEQUENCES_ON="1"
468 DELETED_SEQUENCES_OFF="-1"
470 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
471 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
472 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
473 # ======================================================================================================================
475 # ================================================ AMAZON CAMERA WATCH =================================================
476 INPUT_PCAP="$SIGNATURES_BASE_DIR/amazon-camera/amazon-camera-watch/wlan/amazon-camera-watch.wlan.pcap"
478 OUTPUT_PCAP="$OUTPUT_DIR/amazon-camera/amazon-camera-watch/wlan/amazon-camera-watch-processed.pcap"
479 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/amazon-camera/amazon-camera-watch/timestamps/amazon-camera-watch.timestamps"
480 DEVICE_IP="192.168.10.203"
481 ON_SIGNATURE="$OUTPUT_DIR/amazon-camera/amazon-camera-watch/signatures/amazon-camera-watch-onSignature-device-side.sig"
482 OFF_SIGNATURE="$OUTPUT_DIR/amazon-camera/amazon-camera-watch/signatures/amazon-camera-watch-offSignature-device-side.sig"
483 ON_ANALYSIS="$OUTPUT_DIR/amazon-camera/amazon-camera-watch/analyses/amazon-camera-watch-onClusters-device-side.cls"
484 OFF_ANALYSIS="$OUTPUT_DIR/amazon-camera/amazon-camera-watch/analyses/amazon-camera-watch-offClusters-device-side.cls"
486 DELETED_SEQUENCES_ON="2,1"
487 DELETED_SEQUENCES_OFF="2,0"
489 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
490 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
491 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
492 # ======================================================================================================================
494 # ================================================ BOSIWO CAMERA RECORDING =============================================
495 INPUT_PCAP="$SIGNATURES_BASE_DIR/bosiwo-camera/bosiwo-camera-recording/wlan/bosiwo-camera-recording.wlan.pcap"
497 OUTPUT_PCAP="$OUTPUT_DIR/bosiwo-camera/bosiwo-camera-recording/wlan/bosiwo-camera-recording-processed.pcap"
498 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/bosiwo-camera/bosiwo-camera-recording/timestamps/bosiwo-camera-recording.timestamps"
499 DEVICE_IP="192.168.20.115"
500 ON_SIGNATURE="$OUTPUT_DIR/bosiwo-camera/bosiwo-camera-recording/signatures/bosiwo-camera-recording-onSignature-device-side.sig"
501 OFF_SIGNATURE="$OUTPUT_DIR/bosiwo-camera/bosiwo-camera-recording/signatures/bosiwo-camera-recording-offSignature-device-side.sig"
502 ON_ANALYSIS="$OUTPUT_DIR/bosiwo-camera/bosiwo-camera-recording/analyses/bosiwo-camera-recording-onClusters-device-side.cls"
503 OFF_ANALYSIS="$OUTPUT_DIR/bosiwo-camera/bosiwo-camera-recording/analyses/bosiwo-camera-recording-offClusters-device-side.cls"
505 DELETED_SEQUENCES_ON="-1"
506 DELETED_SEQUENCES_OFF="-1"
508 # TODO: UDP based device
509 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
510 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
511 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
512 # ======================================================================================================================
514 # ================================================ BOSIWO CAMERA WATCH =================================================
515 INPUT_PCAP="$SIGNATURES_BASE_DIR/bosiwo-camera/bosiwo-camera-watch/wlan/bosiwo-camera-watch.wlan.pcap"
517 OUTPUT_PCAP="$OUTPUT_DIR/bosiwo-camera/bosiwo-camera-watch/wlan/bosiwo-camera-watch-processed.pcap"
518 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/bosiwo-camera/bosiwo-camera-watch/timestamps/bosiwo-camera-watch.timestamps"
519 DEVICE_IP="192.168.20.115"
520 ON_SIGNATURE="$OUTPUT_DIR/bosiwo-camera/bosiwo-camera-watch/signatures/bosiwo-camera-watch-onSignature-device-side.sig"
521 OFF_SIGNATURE="$OUTPUT_DIR/bosiwo-camera/bosiwo-camera-watch/signatures/bosiwo-camera-watch-offSignature-device-side.sig"
522 ON_ANALYSIS="$OUTPUT_DIR/bosiwo-camera/bosiwo-camera-watch/analyses/bosiwo-camera-watch-onClusters-device-side.cls"
523 OFF_ANALYSIS="$OUTPUT_DIR/bosiwo-camera/bosiwo-camera-watch/analyses/bosiwo-camera-watch-offClusters-device-side.cls"
525 DELETED_SEQUENCES_ON="-1"
526 DELETED_SEQUENCES_OFF="-1"
528 # TODO: UDP based device
529 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
530 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
531 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
532 # ======================================================================================================================
534 # ================================================== BEHMOR BREWER =====================================================
535 INPUT_PCAP="$SIGNATURES_BASE_DIR/brewer/wlan/brewer.wlan.pcap"
537 OUTPUT_PCAP="$OUTPUT_DIR/brewer/wlan/brewer-processed.pcap"
538 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/brewer/timestamps/brewer.timestamps"
539 DEVICE_IP="192.168.10.227"
540 ON_SIGNATURE="$OUTPUT_DIR/brewer/signatures/brewer-onSignature-device-side.sig"
541 OFF_SIGNATURE="$OUTPUT_DIR/brewer/signatures/brewer-offSignature-device-side.sig"
542 ON_ANALYSIS="$OUTPUT_DIR/brewer/analyses/brewer-onClusters-device-side.cls"
543 OFF_ANALYSIS="$OUTPUT_DIR/brewer/analyses/brewer-offClusters-device-side.cls"
545 DELETED_SEQUENCES_ON="-1"
546 DELETED_SEQUENCES_OFF="-1"
548 # TODO: Big clusters (did not extract anything)---they seem to have their proprietary protocol over TCP
549 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
550 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
551 # ======================================================================================================================
553 # ================================================ CHARGER CAMERA WATCH ================================================
554 INPUT_PCAP="$SIGNATURES_BASE_DIR/charger-camera/charger-camera-watch/wlan/charger-camera-watch.wlan.pcap"
556 OUTPUT_PCAP="$OUTPUT_DIR/charger-camera/charger-camera-watch/wlan/charger-camera-watch-processed.pcap"
557 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/charger-camera/charger-camera-watch/timestamps/charger-camera-watch.timestamps"
558 DEVICE_IP="192.168.20.158"
559 ON_SIGNATURE="$OUTPUT_DIR/charger-camera/charger-camera-watch/signatures/charger-camera-watch-onSignature-device-side.sig"
560 OFF_SIGNATURE="$OUTPUT_DIR/charger-camera/charger-camera-watch/signatures/charger-camera-watch-offSignature-device-side.sig"
561 ON_ANALYSIS="$OUTPUT_DIR/charger-camera/charger-camera-watch/analyses/charger-camera-watch-onClusters-device-side.cls"
562 OFF_ANALYSIS="$OUTPUT_DIR/charger-camera/charger-camera-watch/analyses/charger-camera-watch-offClusters-device-side.cls"
564 DELETED_SEQUENCES_ON="-1"
565 DELETED_SEQUENCES_OFF="-1"
567 # TODO: UDP based device
568 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
569 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
570 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
571 # ======================================================================================================================
573 # ============================================== ECHO DOT AUDIO ON/OFF =================================================
574 INPUT_PCAP="$SIGNATURES_BASE_DIR/echodot/echodot-audio-onoff/wlan/echodot-audio-onoff.wlan.pcap"
576 OUTPUT_PCAP="$OUTPUT_DIR/echodot/echodot-audio-onoff/wlan/echodot-audio-onoff-processed.pcap"
577 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/echodot/echodot-audio-onoff/timestamps/echodot-audio-onoff.timestamps"
578 DEVICE_IP="192.168.20.112"
579 ON_SIGNATURE="$OUTPUT_DIR/echodot/echodot-audio-onoff/signatures/echodot-audio-onoff-onSignature-device-side.sig"
580 OFF_SIGNATURE="$OUTPUT_DIR/echodot/echodot-audio-onoff/signatures/echodot-audio-onoff-offSignature-device-side.sig"
581 ON_ANALYSIS="$OUTPUT_DIR/echodot/echodot-audio-onoff/analyses/echodot-audio-onoff-onClusters-device-side.cls"
582 OFF_ANALYSIS="$OUTPUT_DIR/echodot/echodot-audio-onoff/analyses/echodot-audio-onoff-offClusters-device-side.cls"
584 DELETED_SEQUENCES_ON="-1"
585 DELETED_SEQUENCES_OFF="-1"
587 # TODO: NO SIGNATURE HERE! BIG CLUSTERS!
588 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
589 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
590 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
591 # ======================================================================================================================
593 # ================================================= ECHO DOT VOICE =====================================================
594 INPUT_PCAP="$SIGNATURES_BASE_DIR/echodot/echodot-voice/wlan/echodot-voice.wlan.pcap"
596 OUTPUT_PCAP="$OUTPUT_DIR/echodot/echodot-voice/wlan/echodot-voice-processed.pcap"
597 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/echodot/echodot-voice/timestamps/echodot-voice.timestamps"
598 DEVICE_IP="192.168.10.104"
599 ON_SIGNATURE="$OUTPUT_DIR/echodot/echodot-voice/signatures/echodot-voice-onSignature-device-side.sig"
600 OFF_SIGNATURE="$OUTPUT_DIR/echodot/echodot-voice/signatures/echodot-voice-offSignature-device-side.sig"
601 ON_ANALYSIS="$OUTPUT_DIR/echodot/echodot-voice/analyses/echodot-voice-onClusters-device-side.cls"
602 OFF_ANALYSIS="$OUTPUT_DIR/echodot/echodot-voice/analyses/echodot-voice-offClusters-device-side.cls"
604 DELETED_SEQUENCES_ON="0"
605 DELETED_SEQUENCES_OFF="-1"
607 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.1 and INCLUSION_WINDOW_MILLIS = 30_000
608 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
609 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
610 # ======================================================================================================================
612 # ================================================= ECHO DOT VOLUME ====================================================
613 INPUT_PCAP="$SIGNATURES_BASE_DIR/echodot/echodot-volume/wlan/echodot-volume.wlan.pcap"
615 OUTPUT_PCAP="$OUTPUT_DIR/echodot/echodot-volume/wlan/echodot-volume-processed.pcap"
616 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/echodot/echodot-volume/timestamps/echodot-volume.timestamps"
617 DEVICE_IP="192.168.10.104"
618 ON_SIGNATURE="$OUTPUT_DIR/echodot/echodot-volume/signatures/echodot-volume-onSignature-device-side.sig"
619 OFF_SIGNATURE="$OUTPUT_DIR/echodot/echodot-volume/signatures/echodot-volume-offSignature-device-side.sig"
620 ON_ANALYSIS="$OUTPUT_DIR/echodot/echodot-volume/analyses/echodot-volume-onClusters-device-side.cls"
621 OFF_ANALYSIS="$OUTPUT_DIR/echodot/echodot-volume/analyses/echodot-volume-offClusters-device-side.cls"
623 DELETED_SEQUENCES_ON="-1"
624 DELETED_SEQUENCES_OFF="-1"
626 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
627 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
628 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
629 # ======================================================================================================================
631 # ============================================== ECHO PLUS AUDIO ON/OFF ================================================
632 INPUT_PCAP="$SIGNATURES_BASE_DIR/echoplus/echoplus-audio-onoff/wlan/echoplus-audio-onoff.wlan.pcap"
634 OUTPUT_PCAP="$OUTPUT_DIR/echoplus/echoplus-audio-onoff/wlan/echoplus-audio-onoff-processed.pcap"
635 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/echoplus/echoplus-audio-onoff/timestamps/echoplus-audio-onoff.timestamps"
636 DEVICE_IP="192.168.10.201"
637 ON_SIGNATURE="$OUTPUT_DIR/echoplus/echoplus-audio-onoff/signatures/echoplus-audio-onoff-onSignature-device-side.sig"
638 OFF_SIGNATURE="$OUTPUT_DIR/echoplus/echoplus-audio-onoff/signatures/echoplus-audio-onoff-offSignature-device-side.sig"
639 ON_ANALYSIS="$OUTPUT_DIR/echoplus/echoplus-audio-onoff/analyses/echoplus-audio-onoff-onClusters-device-side.cls"
640 OFF_ANALYSIS="$OUTPUT_DIR/echoplus/echoplus-audio-onoff/analyses/echoplus-audio-onoff-offClusters-device-side.cls"
642 DELETED_SEQUENCES_ON="-1"
643 DELETED_SEQUENCES_OFF="-1"
645 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.1 and INCLUSION_WINDOW_MILLIS = 30_000
646 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
647 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
648 # ======================================================================================================================
650 # ================================================= ECHO PLUS COLOR ====================================================
651 INPUT_PCAP="$SIGNATURES_BASE_DIR/echoplus/echoplus-color/wlan/echoplus-color.wlan.pcap"
653 OUTPUT_PCAP="$OUTPUT_DIR/echoplus/echoplus-color/wlan/echoplus-color-processed.pcap"
654 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/echoplus/echoplus-color/timestamps/echoplus-color.timestamps"
655 DEVICE_IP="192.168.10.201"
656 ON_SIGNATURE="$OUTPUT_DIR/echoplus/echoplus-color/signatures/echoplus-color-onSignature-device-side.sig"
657 OFF_SIGNATURE="$OUTPUT_DIR/echoplus/echoplus-color/signatures/echoplus-color-offSignature-device-side.sig"
658 ON_ANALYSIS="$OUTPUT_DIR/echoplus/echoplus-color/analyses/echoplus-color-onClusters-device-side.cls"
659 OFF_ANALYSIS="$OUTPUT_DIR/echoplus/echoplus-color/analyses/echoplus-color-offClusters-device-side.cls"
661 DELETED_SEQUENCES_ON="-1"
662 DELETED_SEQUENCES_OFF="1"
664 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.1 and INCLUSION_WINDOW_MILLIS = 30_000
665 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
666 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
667 # ======================================================================================================================
669 # ============================================== ECHO PLUS INTENSITY ===================================================
670 INPUT_PCAP="$SIGNATURES_BASE_DIR/echoplus/echoplus-intensity/wlan/echoplus-intensity.wlan.pcap"
672 OUTPUT_PCAP="$OUTPUT_DIR/echoplus/echoplus-intensity/wlan/echoplus-intensity-processed.pcap"
673 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/echoplus/echoplus-intensity/timestamps/echoplus-intensity.timestamps"
674 DEVICE_IP="192.168.10.201"
675 ON_SIGNATURE="$OUTPUT_DIR/echoplus/echoplus-intensity/signatures/echoplus-intensity-onSignature-device-side.sig"
676 OFF_SIGNATURE="$OUTPUT_DIR/echoplus/echoplus-intensity/signatures/echoplus-intensity-offSignature-device-side.sig"
677 ON_ANALYSIS="$OUTPUT_DIR/echoplus/echoplus-intensity/analyses/echoplus-intensity-onClusters-device-side.cls"
678 OFF_ANALYSIS="$OUTPUT_DIR/echoplus/echoplus-intensity/analyses/echoplus-intensity-offClusters-device-side.cls"
680 DELETED_SEQUENCES_ON="1"
681 DELETED_SEQUENCES_OFF="-1"
683 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.1 and INCLUSION_WINDOW_MILLIS = 30_000
684 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
685 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
686 # ======================================================================================================================
688 # ================================================= ECHO PLUS VOICE ====================================================
689 INPUT_PCAP="$SIGNATURES_BASE_DIR/echoplus/echoplus-voice/wlan/echoplus-voice.wlan.pcap"
691 OUTPUT_PCAP="$OUTPUT_DIR/echoplus/echoplus-voice/wlan/echoplus-voice-processed.pcap"
692 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/echoplus/echoplus-voice/timestamps/echoplus-voice.timestamps"
693 DEVICE_IP="192.168.10.201"
694 ON_SIGNATURE="$OUTPUT_DIR/echoplus/echoplus-voice/signatures/echoplus-voice-onSignature-device-side.sig"
695 OFF_SIGNATURE="$OUTPUT_DIR/echoplus/echoplus-voice/signatures/echoplus-voice-offSignature-device-side.sig"
696 ON_ANALYSIS="$OUTPUT_DIR/echoplus/echoplus-voice/analyses/echoplus-voice-onClusters-device-side.cls"
697 OFF_ANALYSIS="$OUTPUT_DIR/echoplus/echoplus-voice/analyses/echoplus-voice-offClusters-device-side.cls"
699 DELETED_SEQUENCES_ON="-1"
700 DELETED_SEQUENCES_OFF="-1"
702 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.1 and INCLUSION_WINDOW_MILLIS = 30_000
703 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
704 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
705 # ======================================================================================================================
707 # ================================================= ECHO PLUS VOLUME ===================================================
708 INPUT_PCAP="$SIGNATURES_BASE_DIR/echoplus/echoplus-volume/wlan/echoplus-volume.wlan.pcap"
710 OUTPUT_PCAP="$OUTPUT_DIR/echoplus/echoplus-volume/wlan/echoplus-volume-processed.pcap"
711 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/echoplus/echoplus-volume/timestamps/echoplus-volume.timestamps"
712 DEVICE_IP="192.168.10.201"
713 ON_SIGNATURE="$OUTPUT_DIR/echoplus/echoplus-volume/signatures/echoplus-volume-onSignature-device-side.sig"
714 OFF_SIGNATURE="$OUTPUT_DIR/echoplus/echoplus-volume/signatures/echoplus-volume-offSignature-device-side.sig"
715 ON_ANALYSIS="$OUTPUT_DIR/echoplus/echoplus-volume/analyses/echoplus-volume-onClusters-device-side.cls"
716 OFF_ANALYSIS="$OUTPUT_DIR/echoplus/echoplus-volume/analyses/echoplus-volume-offClusters-device-side.cls"
718 DELETED_SEQUENCES_ON="-1"
719 DELETED_SEQUENCES_OFF="1"
721 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.1 and INCLUSION_WINDOW_MILLIS = 30_000
722 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
723 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
724 # ======================================================================================================================
726 # ============================================== ECHO SPOT AUDIO ON/OFF ================================================
727 INPUT_PCAP="$SIGNATURES_BASE_DIR/echospot/echospot-audio-onoff/wlan/echospot-audio-onoff.wlan.pcap"
729 OUTPUT_PCAP="$OUTPUT_DIR/echospot/echospot-audio-onoff/wlan/echospot-audio-onoff-processed.pcap"
730 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/echospot/echospot-audio-onoff/timestamps/echospot-audio-onoff.timestamps"
731 DEVICE_IP="192.168.10.147"
732 ON_SIGNATURE="$OUTPUT_DIR/echospot/echospot-audio-onoff/signatures/echospot-audio-onoff-onSignature-device-side.sig"
733 OFF_SIGNATURE="$OUTPUT_DIR/echospot/echospot-audio-onoff/signatures/echospot-audio-onoff-offSignature-device-side.sig"
734 ON_ANALYSIS="$OUTPUT_DIR/echospot/echospot-audio-onoff/analyses/echospot-audio-onoff-onClusters-device-side.cls"
735 OFF_ANALYSIS="$OUTPUT_DIR/echospot/echospot-audio-onoff/analyses/echospot-audio-onoff-offClusters-device-side.cls"
737 DELETED_SEQUENCES_ON="-1"
738 DELETED_SEQUENCES_OFF="-1"
740 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.1 and INCLUSION_WINDOW_MILLIS = 30_000
741 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
742 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
743 # ======================================================================================================================
745 # ================================================= ECHO SPOT VOICE ====================================================
746 INPUT_PCAP="$SIGNATURES_BASE_DIR/echospot/echospot-voice/wlan/echospot-voice.wlan.pcap"
748 OUTPUT_PCAP="$OUTPUT_DIR/echospot/echospot-voice/wlan/echospot-voice-processed.pcap"
749 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/echospot/echospot-voice/timestamps/echospot-voice.timestamps"
750 DEVICE_IP="192.168.10.147"
751 ON_SIGNATURE="$OUTPUT_DIR/echospot/echospot-voice/signatures/echospot-voice-onSignature-device-side.sig"
752 OFF_SIGNATURE="$OUTPUT_DIR/echospot/echospot-voice/signatures/echospot-voice-offSignature-device-side.sig"
753 ON_ANALYSIS="$OUTPUT_DIR/echospot/echospot-voice/analyses/echospot-voice-onClusters-device-side.cls"
754 OFF_ANALYSIS="$OUTPUT_DIR/echospot/echospot-voice/analyses/echospot-voice-offClusters-device-side.cls"
756 DELETED_SEQUENCES_ON="2"
757 DELETED_SEQUENCES_OFF="-1"
759 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.1 and INCLUSION_WINDOW_MILLIS = 30_000
760 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
761 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
762 # ======================================================================================================================
764 # ================================================= ECHO SPOT VOLUME ===================================================
765 INPUT_PCAP="$SIGNATURES_BASE_DIR/echospot/echospot-volume/wlan/echospot-volume.wlan.pcap"
767 OUTPUT_PCAP="$OUTPUT_DIR/echospot/echospot-volume/wlan/echospot-volume-processed.pcap"
768 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/echospot/echospot-volume/timestamps/echospot-volume.timestamps"
769 DEVICE_IP="192.168.10.147"
770 ON_SIGNATURE="$OUTPUT_DIR/echospot/echospot-volume/signatures/echospot-volume-onSignature-device-side.sig"
771 OFF_SIGNATURE="$OUTPUT_DIR/echospot/echospot-volume/signatures/echospot-volume-offSignature-device-side.sig"
772 ON_ANALYSIS="$OUTPUT_DIR/echospot/echospot-volume/analyses/echospot-volume-onClusters-device-side.cls"
773 OFF_ANALYSIS="$OUTPUT_DIR/echospot/echospot-volume/analyses/echospot-volume-offClusters-device-side.cls"
775 DELETED_SEQUENCES_ON="-1"
776 DELETED_SEQUENCES_OFF="1"
778 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.1 and INCLUSION_WINDOW_MILLIS = 30_000
779 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
780 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
781 # ======================================================================================================================
783 # =================================================== FIRE-TV MENU =====================================================
784 INPUT_PCAP="$SIGNATURES_BASE_DIR/firetv/firetv-menu/wlan/firetv-menu.wlan.pcap"
786 OUTPUT_PCAP="$OUTPUT_DIR/firetv/firetv-menu/wlan/firetv-menu-processed.pcap"
787 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/firetv/firetv-menu/timestamps/firetv-menu.timestamps"
788 DEVICE_IP="192.168.10.158"
789 ON_SIGNATURE="$OUTPUT_DIR/firetv/firetv-menu/signatures/firetv-menu-onSignature-device-side.sig"
790 OFF_SIGNATURE="$OUTPUT_DIR/firetv/firetv-menu/signatures/firetv-menu-offSignature-device-side.sig"
791 ON_ANALYSIS="$OUTPUT_DIR/firetv/firetv-menu/analyses/firetv-menu-onClusters-device-side.cls"
792 OFF_ANALYSIS="$OUTPUT_DIR/firetv/firetv-menu/analyses/firetv-menu-offClusters-device-side.cls"
794 DELETED_SEQUENCES_ON="0,1"
795 DELETED_SEQUENCES_OFF="1"
797 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.3 and INCLUSION_WINDOW_MILLIS = 30_000
798 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
799 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
800 # ======================================================================================================================
802 # ================================================== FLEX BULB COLOR ===================================================
803 INPUT_PCAP="$SIGNATURES_BASE_DIR/flex-bulb/flex-bulb-color/wlan/flex-bulb-color.wlan.pcap"
805 OUTPUT_PCAP="$OUTPUT_DIR/flex-bulb/flex-bulb-color/wlan/flex-bulb-color-processed.pcap"
806 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/flex-bulb/flex-bulb-color/timestamps/flex-bulb-color.timestamps"
807 DEVICE_IP="192.168.10.132"
808 ON_SIGNATURE="$OUTPUT_DIR/flex-bulb/flex-bulb-color/signatures/flex-bulb-color-onSignature-device-side.sig"
809 OFF_SIGNATURE="$OUTPUT_DIR/flex-bulb/flex-bulb-color/signatures/flex-bulb-color-offSignature-device-side.sig"
810 ON_ANALYSIS="$OUTPUT_DIR/flex-bulb/flex-bulb-color/analyses/flex-bulb-color-onClusters-device-side.cls"
811 OFF_ANALYSIS="$OUTPUT_DIR/flex-bulb/flex-bulb-color/analyses/flex-bulb-color-offClusters-device-side.cls"
813 DELETED_SEQUENCES_ON="0"
814 DELETED_SEQUENCES_OFF="1"
816 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
817 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
818 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
819 # ======================================================================================================================
821 # ================================================ FLEX BULB INTENSITY =================================================
822 INPUT_PCAP="$SIGNATURES_BASE_DIR/flex-bulb/flex-bulb-intensity/wlan/flex-bulb-intensity.wlan.pcap"
824 OUTPUT_PCAP="$OUTPUT_DIR/flex-bulb/flex-bulb-intensity/wlan/flex-bulb-intensity-processed.pcap"
825 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/flex-bulb/flex-bulb-intensity/timestamps/flex-bulb-intensity.timestamps"
826 DEVICE_IP="192.168.10.132"
827 ON_SIGNATURE="$OUTPUT_DIR/flex-bulb/flex-bulb-intensity/signatures/flex-bulb-intensity-onSignature-device-side.sig"
828 OFF_SIGNATURE="$OUTPUT_DIR/flex-bulb/flex-bulb-intensity/signatures/flex-bulb-intensity-offSignature-device-side.sig"
829 ON_ANALYSIS="$OUTPUT_DIR/flex-bulb/flex-bulb-intensity/analyses/flex-bulb-intensity-onClusters-device-side.cls"
830 OFF_ANALYSIS="$OUTPUT_DIR/flex-bulb/flex-bulb-intensity/analyses/flex-bulb-intensity-offClusters-device-side.cls"
832 DELETED_SEQUENCES_ON="0"
833 DELETED_SEQUENCES_OFF="0,1"
835 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
836 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
837 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
838 # ======================================================================================================================
840 # ================================================== FLEX BULB ON/OFF ==================================================
841 INPUT_PCAP="$SIGNATURES_BASE_DIR/flex-bulb/flex-bulb-onoff/wlan/flex-bulb-onoff.wlan.pcap"
843 OUTPUT_PCAP="$OUTPUT_DIR/flex-bulb/flex-bulb-onoff/wlan/flex-bulb-onoff-processed.pcap"
844 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/flex-bulb/flex-bulb-onoff/timestamps/flex-bulb-onoff.timestamps"
845 DEVICE_IP="192.168.10.132"
846 ON_SIGNATURE="$OUTPUT_DIR/flex-bulb/flex-bulb-onoff/signatures/flex-bulb-onoff-onSignature-device-side.sig"
847 OFF_SIGNATURE="$OUTPUT_DIR/flex-bulb/flex-bulb-onoff/signatures/flex-bulb-onoff-offSignature-device-side.sig"
848 ON_ANALYSIS="$OUTPUT_DIR/flex-bulb/flex-bulb-onoff/analyses/flex-bulb-onoff-onClusters-device-side.cls"
849 OFF_ANALYSIS="$OUTPUT_DIR/flex-bulb/flex-bulb-onoff/analyses/flex-bulb-onoff-offClusters-device-side.cls"
851 DELETED_SEQUENCES_ON="0"
852 DELETED_SEQUENCES_OFF="-1"
854 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
855 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
856 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
857 # ======================================================================================================================
859 # ================================================= GOOGLE HOME VOICE ==================================================
860 INPUT_PCAP="$SIGNATURES_BASE_DIR/google-home/google-home-voice/wlan/google-home-voice.wlan.pcap"
862 OUTPUT_PCAP="$OUTPUT_DIR/google-home/google-home-voice/wlan/google-home-voice-processed.pcap"
863 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/google-home/google-home-voice/timestamps/google-home-voice.timestamps"
864 DEVICE_IP="192.168.20.114"
865 ON_SIGNATURE="$OUTPUT_DIR/google-home/google-home-voice/signatures/google-home-voice-onSignature-device-side.sig"
866 OFF_SIGNATURE="$OUTPUT_DIR/google-home/google-home-voice/signatures/google-home-voice-offSignature-device-side.sig"
867 ON_ANALYSIS="$OUTPUT_DIR/google-home/google-home-voice/analyses/google-home-voice-onClusters-device-side.cls"
868 OFF_ANALYSIS="$OUTPUT_DIR/google-home/google-home-voice/analyses/google-home-voice-offClusters-device-side.cls"
870 DELETED_SEQUENCES_ON="1"
871 DELETED_SEQUENCES_OFF="-1"
873 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.3 and INCLUSION_WINDOW_MILLIS = 30_000
874 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
875 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
876 # ======================================================================================================================
878 # ================================================ GOOGLE HOME VOLUME ==================================================
879 INPUT_PCAP="$SIGNATURES_BASE_DIR/google-home/google-home-volume/wlan/google-home-volume.wlan.pcap"
881 OUTPUT_PCAP="$OUTPUT_DIR/google-home/google-home-volume/wlan/google-home-volume-processed.pcap"
882 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/google-home/google-home-volume/timestamps/google-home-volume.timestamps"
883 DEVICE_IP="192.168.20.114"
884 ON_SIGNATURE="$OUTPUT_DIR/google-home/google-home-volume/signatures/google-home-volume-onSignature-device-side.sig"
885 OFF_SIGNATURE="$OUTPUT_DIR/google-home/google-home-volume/signatures/google-home-volume-offSignature-device-side.sig"
886 ON_ANALYSIS="$OUTPUT_DIR/google-home/google-home-volume/analyses/google-home-volume-onClusters-device-side.cls"
887 OFF_ANALYSIS="$OUTPUT_DIR/google-home/google-home-volume/analyses/google-home-volume-offClusters-device-side.cls"
889 DELETED_SEQUENCES_ON="3,2"
890 DELETED_SEQUENCES_OFF="-1"
892 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
893 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
894 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
895 # ======================================================================================================================
897 # ============================================== GOOGLE HOME MINI VOICE ================================================
898 INPUT_PCAP="$SIGNATURES_BASE_DIR/google-home-mini/google-home-mini-voice/wlan/google-home-mini-voice.wlan.pcap"
900 OUTPUT_PCAP="$OUTPUT_DIR/google-home-mini/google-home-mini-voice/wlan/google-home-mini-voice-processed.pcap"
901 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/google-home-mini/google-home-mini-voice/timestamps/google-home-mini-voice.timestamps"
902 DEVICE_IP="192.168.10.225"
903 ON_SIGNATURE="$OUTPUT_DIR/google-home-mini/google-home-mini-voice/signatures/google-home-mini-voice-onSignature-device-side.sig"
904 OFF_SIGNATURE="$OUTPUT_DIR/google-home-mini/google-home-mini-voice/signatures/google-home-mini-voice-offSignature-device-side.sig"
905 ON_ANALYSIS="$OUTPUT_DIR/google-home-mini/google-home-mini-voice/analyses/google-home-mini-voice-onClusters-device-side.cls"
906 OFF_ANALYSIS="$OUTPUT_DIR/google-home-mini/google-home-mini-voice/analyses/google-home-mini-voice-offClusters-device-side.cls"
908 DELETED_SEQUENCES_ON="0,1"
909 DELETED_SEQUENCES_OFF="1,0,1"
911 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.4 and INCLUSION_WINDOW_MILLIS = 30_000
912 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
913 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
914 # ======================================================================================================================
916 # ============================================== GOOGLE HOME MINI VOLUME ===============================================
917 INPUT_PCAP="$SIGNATURES_BASE_DIR/google-home-mini/google-home-mini-volume/wlan/google-home-mini-volume.wlan.pcap"
919 OUTPUT_PCAP="$OUTPUT_DIR/google-home-mini/google-home-mini-volume/wlan/google-home-mini-volume-processed.pcap"
920 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/google-home-mini/google-home-mini-volume/timestamps/google-home-mini-volume.timestamps"
921 DEVICE_IP="192.168.10.225"
922 ON_SIGNATURE="$OUTPUT_DIR/google-home-mini/google-home-mini-volume/signatures/google-home-mini-volume-onSignature-device-side.sig"
923 OFF_SIGNATURE="$OUTPUT_DIR/google-home-mini/google-home-mini-volume/signatures/google-home-mini-volume-offSignature-device-side.sig"
924 ON_ANALYSIS="$OUTPUT_DIR/google-home-mini/google-home-mini-volume/analyses/google-home-mini-volume-onClusters-device-side.cls"
925 OFF_ANALYSIS="$OUTPUT_DIR/google-home-mini/google-home-mini-volume/analyses/google-home-mini-volume-offClusters-device-side.cls"
927 DELETED_SEQUENCES_ON="0,0"
928 DELETED_SEQUENCES_OFF="0,1"
930 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.4 and INCLUSION_WINDOW_MILLIS = 30_000
931 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
932 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
933 # ======================================================================================================================
935 # ============================================ HONEYWELL THERMOSTAT ON/OFF =============================================
936 INPUT_PCAP="$SIGNATURES_BASE_DIR/honeywell-thermostat/honeywell-thermostat-onoff/wlan/honeywell-thermostat-onoff.wlan.pcap"
938 OUTPUT_PCAP="$OUTPUT_DIR/honeywell-thermostat/honeywell-thermostat-onoff/wlan/honeywell-thermostat-onoff-processed.pcap"
939 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/honeywell-thermostat/honeywell-thermostat-onoff/timestamps/honeywell-thermostat-onoff.timestamps"
940 DEVICE_IP="192.168.20.103"
941 ON_SIGNATURE="$OUTPUT_DIR/honeywell-thermostat/honeywell-thermostat-onoff/signatures/honeywell-thermostat-onoff-onSignature-device-side.sig"
942 OFF_SIGNATURE="$OUTPUT_DIR/honeywell-thermostat/honeywell-thermostat-onoff/signatures/honeywell-thermostat-onoff-offSignature-device-side.sig"
943 ON_ANALYSIS="$OUTPUT_DIR/honeywell-thermostat/honeywell-thermostat-onoff/analyses/honeywell-thermostat-onoff-onClusters-device-side.cls"
944 OFF_ANALYSIS="$OUTPUT_DIR/honeywell-thermostat/honeywell-thermostat-onoff/analyses/honeywell-thermostat-onoff-offClusters-device-side.cls"
946 DELETED_SEQUENCES_ON="-1"
947 DELETED_SEQUENCES_OFF="-1"
949 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.5 and INCLUSION_WINDOW_MILLIS = 30_000
950 # TODO: Also the datapoints could only be 4
951 # TODO: 05/04/2019 12:13:20 PM #05/04/2019 12:14:03 PM #05/04/2019 12:31:39 PM #05/04/2019 12:32:21 PM
952 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
953 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
954 # ======================================================================================================================
956 # ============================================= HONEYWELL THERMOSTAT SET ===============================================
957 INPUT_PCAP="$SIGNATURES_BASE_DIR/honeywell-thermostat/honeywell-thermostat-set/wlan/honeywell-thermostat-set.wlan.pcap"
959 OUTPUT_PCAP="$OUTPUT_DIR/honeywell-thermostat/honeywell-thermostat-set/wlan/honeywell-thermostat-set-processed.pcap"
960 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/honeywell-thermostat/honeywell-thermostat-set/timestamps/honeywell-thermostat-set.timestamps"
961 DEVICE_IP="192.168.20.103"
962 ON_SIGNATURE="$OUTPUT_DIR/honeywell-thermostat/honeywell-thermostat-set/signatures/honeywell-thermostat-set-onSignature-device-side.sig"
963 OFF_SIGNATURE="$OUTPUT_DIR/honeywell-thermostat/honeywell-thermostat-set/signatures/honeywell-thermostat-set-offSignature-device-side.sig"
964 ON_ANALYSIS="$OUTPUT_DIR/honeywell-thermostat/honeywell-thermostat-set/analyses/honeywell-thermostat-set-onClusters-device-side.cls"
965 OFF_ANALYSIS="$OUTPUT_DIR/honeywell-thermostat/honeywell-thermostat-set/analyses/honeywell-thermostat-set-offClusters-device-side.cls"
967 DELETED_SEQUENCES_ON="-1"
968 DELETED_SEQUENCES_OFF="-1"
970 # TODO: Clusters are small, presumably due to broken PCAP files (their recording seems to be inconsistent and noisy)
971 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.9 and INCLUSION_WINDOW_MILLIS = 30_000
972 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
973 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
974 # ======================================================================================================================
976 # ============================================== INVOKE SPEAKER VOICE ==================================================
977 INPUT_PCAP="$SIGNATURES_BASE_DIR/invoke-speaker/invoke-speaker-voice/wlan/invoke-speaker-voice.wlan.pcap"
979 OUTPUT_PCAP="$OUTPUT_DIR/invoke-speaker/invoke-speaker-voice/wlan/invoke-speaker-voice-processed.pcap"
980 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/invoke-speaker/invoke-speaker-voice/timestamps/invoke-speaker-voice.timestamps"
981 DEVICE_IP="192.168.10.213"
982 ON_SIGNATURE="$OUTPUT_DIR/invoke-speaker/invoke-speaker-voice/signatures/invoke-speaker-voice-onSignature-device-side.sig"
983 OFF_SIGNATURE="$OUTPUT_DIR/invoke-speaker/invoke-speaker-voice/signatures/invoke-speaker-voice-offSignature-device-side.sig"
984 ON_ANALYSIS="$OUTPUT_DIR/invoke-speaker/invoke-speaker-voice/analyses/invoke-speaker-voice-onClusters-device-side.cls"
985 OFF_ANALYSIS="$OUTPUT_DIR/invoke-speaker/invoke-speaker-voice/analyses/invoke-speaker-voice-offClusters-device-side.cls"
987 DELETED_SEQUENCES_ON="2"
988 DELETED_SEQUENCES_OFF="-1"
990 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
991 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
992 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
993 # ======================================================================================================================
995 # ============================================== INVOKE SPEAKER VOLUME =================================================
996 INPUT_PCAP="$SIGNATURES_BASE_DIR/invoke-speaker/invoke-speaker-volume/wlan/invoke-speaker-volume.wlan.pcap"
998 OUTPUT_PCAP="$OUTPUT_DIR/invoke-speaker/invoke-speaker-volume/wlan/invoke-speaker-volume-processed.pcap"
999 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/invoke-speaker/invoke-speaker-volume/timestamps/invoke-speaker-volume.timestamps"
1000 DEVICE_IP="192.168.10.213"
1001 ON_SIGNATURE="$OUTPUT_DIR/invoke-speaker/invoke-speaker-volume/signatures/invoke-speaker-volume-onSignature-device-side.sig"
1002 OFF_SIGNATURE="$OUTPUT_DIR/invoke-speaker/invoke-speaker-volume/signatures/invoke-speaker-volume-offSignature-device-side.sig"
1003 ON_ANALYSIS="$OUTPUT_DIR/invoke-speaker/invoke-speaker-volume/analyses/invoke-speaker-volume-onClusters-device-side.cls"
1004 OFF_ANALYSIS="$OUTPUT_DIR/invoke-speaker/invoke-speaker-volume/analyses/invoke-speaker-volume-offClusters-device-side.cls"
1006 DELETED_SEQUENCES_ON="1,0,0"
1007 DELETED_SEQUENCES_OFF="0,0,2"
1009 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1010 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1011 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1012 # ======================================================================================================================
1014 # =============================================== LEFUN CAMERA PHOTO ===================================================
1015 INPUT_PCAP="$SIGNATURES_BASE_DIR/lefun-camera/lefun-camera-photo/wlan/lefun-camera-photo.wlan.pcap"
1017 OUTPUT_PCAP="$OUTPUT_DIR/lefun-camera/lefun-camera-photo/wlan/lefun-camera-photo-processed.pcap"
1018 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/lefun-camera/lefun-camera-photo/timestamps/lefun-camera-photo.timestamps"
1019 DEVICE_IP="192.168.10.210"
1020 ON_SIGNATURE="$OUTPUT_DIR/lefun-camera/lefun-camera-photo/signatures/lefun-camera-photo-onSignature-device-side.sig"
1021 OFF_SIGNATURE="$OUTPUT_DIR/lefun-camera/lefun-camera-photo/signatures/lefun-camera-photo-offSignature-device-side.sig"
1022 ON_ANALYSIS="$OUTPUT_DIR/lefun-camera/lefun-camera-photo/analyses/lefun-camera-photo-onClusters-device-side.cls"
1023 OFF_ANALYSIS="$OUTPUT_DIR/lefun-camera/lefun-camera-photo/analyses/lefun-camera-photo-offClusters-device-side.cls"
1025 DELETED_SEQUENCES_ON="-1"
1026 DELETED_SEQUENCES_OFF="-1"
1028 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.3 and INCLUSION_WINDOW_MILLIS = 30_000
1029 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1030 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1031 # ======================================================================================================================
1033 # ============================================= LEFUN CAMERA RECORDING =================================================
1034 INPUT_PCAP="$SIGNATURES_BASE_DIR/lefun-camera/lefun-camera-recording/wlan/lefun-camera-recording.wlan.pcap"
1036 OUTPUT_PCAP="$OUTPUT_DIR/lefun-camera/lefun-camera-recording/wlan/lefun-camera-recording-processed.pcap"
1037 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/lefun-camera/lefun-camera-recording/timestamps/lefun-camera-recording.timestamps"
1038 DEVICE_IP="192.168.10.210"
1039 ON_SIGNATURE="$OUTPUT_DIR/lefun-camera/lefun-camera-recording/signatures/lefun-camera-recording-onSignature-device-side.sig"
1040 OFF_SIGNATURE="$OUTPUT_DIR/lefun-camera/lefun-camera-recording/signatures/lefun-camera-recording-offSignature-device-side.sig"
1041 ON_ANALYSIS="$OUTPUT_DIR/lefun-camera/lefun-camera-recording/analyses/lefun-camera-recording-onClusters-device-side.cls"
1042 OFF_ANALYSIS="$OUTPUT_DIR/lefun-camera/lefun-camera-recording/analyses/lefun-camera-recording-offClusters-device-side.cls"
1044 DELETED_SEQUENCES_ON="-1"
1045 DELETED_SEQUENCES_OFF="-1"
1047 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.3 and INCLUSION_WINDOW_MILLIS = 30_000
1048 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1049 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1050 # ======================================================================================================================
1052 # =============================================== LEFUN CAMERA WATCH ===================================================
1053 INPUT_PCAP="$SIGNATURES_BASE_DIR/lefun-camera/lefun-camera-watch/wlan/lefun-camera-watch.wlan.pcap"
1055 OUTPUT_PCAP="$OUTPUT_DIR/lefun-camera/lefun-camera-watch/wlan/lefun-camera-watch-processed.pcap"
1056 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/lefun-camera/lefun-camera-watch/timestamps/lefun-camera-watch.timestamps"
1057 DEVICE_IP="192.168.10.210"
1058 ON_SIGNATURE="$OUTPUT_DIR/lefun-camera/lefun-camera-watch/signatures/lefun-camera-watch-onSignature-device-side.sig"
1059 OFF_SIGNATURE="$OUTPUT_DIR/lefun-camera/lefun-camera-watch/signatures/lefun-camera-watch-offSignature-device-side.sig"
1060 ON_ANALYSIS="$OUTPUT_DIR/lefun-camera/lefun-camera-watch/analyses/lefun-camera-watch-onClusters-device-side.cls"
1061 OFF_ANALYSIS="$OUTPUT_DIR/lefun-camera/lefun-camera-watch/analyses/lefun-camera-watch-offClusters-device-side.cls"
1063 DELETED_SEQUENCES_ON="-1"
1064 DELETED_SEQUENCES_OFF="-1"
1066 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.3 and INCLUSION_WINDOW_MILLIS = 30_000
1067 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1068 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1069 # ======================================================================================================================
1071 # =================================================== LG-TV MENU =====================================================
1072 INPUT_PCAP="$SIGNATURES_BASE_DIR/lgtv-wired/lgtv-wired-menu/wlan/lgtv-wired-menu.wlan.pcap"
1074 OUTPUT_PCAP="$OUTPUT_DIR/lgtv-wired/lgtv-wired-menu/wlan/lgtv-wired-menu-processed.pcap"
1075 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/lgtv-wired/lgtv-wired-menu/timestamps/lgtv-wired-menu.timestamps"
1076 DEVICE_IP="192.168.10.120"
1077 ON_SIGNATURE="$OUTPUT_DIR/lgtv-wired/lgtv-wired-menu/signatures/lgtv-wired-menu-onSignature-device-side.sig"
1078 OFF_SIGNATURE="$OUTPUT_DIR/lgtv-wired/lgtv-wired-menu/signatures/lgtv-wired-menu-offSignature-device-side.sig"
1079 ON_ANALYSIS="$OUTPUT_DIR/lgtv-wired/lgtv-wired-menu/analyses/lgtv-wired-menu-onClusters-device-side.cls"
1080 OFF_ANALYSIS="$OUTPUT_DIR/lgtv-wired/lgtv-wired-menu/analyses/lgtv-wired-menu-offClusters-device-side.cls"
1082 DELETED_SEQUENCES_ON="-1"
1083 DELETED_SEQUENCES_OFF="1"
1085 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.1 and INCLUSION_WINDOW_MILLIS = 30_000
1086 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1087 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1088 # ======================================================================================================================
1090 # =============================================== LUOHE CAMERA PHOTO ===================================================
1091 INPUT_PCAP="$SIGNATURES_BASE_DIR/luohe-camera/luohe-camera-photo/wlan/luohe-camera-photo.wlan.pcap"
1093 OUTPUT_PCAP="$OUTPUT_DIR/luohe-camera/luohe-camera-photo/wlan/luohe-camera-photo-processed.pcap"
1094 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/luohe-camera/luohe-camera-photo/timestamps/luohe-camera-photo.timestamps"
1095 DEVICE_IP="192.168.10.209"
1096 ON_SIGNATURE="$OUTPUT_DIR/luohe-camera/luohe-camera-photo/signatures/luohe-camera-photo-onSignature-device-side.sig"
1097 OFF_SIGNATURE="$OUTPUT_DIR/luohe-camera/luohe-camera-photo/signatures/luohe-camera-photo-offSignature-device-side.sig"
1098 ON_ANALYSIS="$OUTPUT_DIR/luohe-camera/luohe-camera-photo/analyses/luohe-camera-photo-onClusters-device-side.cls"
1099 OFF_ANALYSIS="$OUTPUT_DIR/luohe-camera/luohe-camera-photo/analyses/luohe-camera-photo-offClusters-device-side.cls"
1101 DELETED_SEQUENCES_ON="-1"
1102 DELETED_SEQUENCES_OFF="-1"
1104 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1105 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1106 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1107 # ======================================================================================================================
1109 # ============================================= LUOHE CAMERA RECORDING =================================================
1110 INPUT_PCAP="$SIGNATURES_BASE_DIR/luohe-camera/luohe-camera-recording/wlan/luohe-camera-recording.wlan.pcap"
1112 OUTPUT_PCAP="$OUTPUT_DIR/luohe-camera/luohe-camera-recording/wlan/luohe-camera-recording-processed.pcap"
1113 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/luohe-camera/luohe-camera-recording/timestamps/luohe-camera-recording.timestamps"
1114 DEVICE_IP="192.168.10.209"
1115 ON_SIGNATURE="$OUTPUT_DIR/luohe-camera/luohe-camera-recording/signatures/luohe-camera-recording-onSignature-device-side.sig"
1116 OFF_SIGNATURE="$OUTPUT_DIR/luohe-camera/luohe-camera-recording/signatures/luohe-camera-recording-offSignature-device-side.sig"
1117 ON_ANALYSIS="$OUTPUT_DIR/luohe-camera/luohe-camera-recording/analyses/luohe-camera-recording-onClusters-device-side.cls"
1118 OFF_ANALYSIS="$OUTPUT_DIR/luohe-camera/luohe-camera-recording/analyses/luohe-camera-recording-offClusters-device-side.cls"
1120 DELETED_SEQUENCES_ON="-1"
1121 DELETED_SEQUENCES_OFF="-1"
1123 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1124 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1125 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1126 # ======================================================================================================================
1128 # =============================================== LUOHE CAMERA WATCH ===================================================
1129 INPUT_PCAP="$SIGNATURES_BASE_DIR/luohe-camera/luohe-camera-watch/wlan/luohe-camera-watch.wlan.pcap"
1131 OUTPUT_PCAP="$OUTPUT_DIR/luohe-camera/luohe-camera-watch/wlan/luohe-camera-watch-processed.pcap"
1132 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/luohe-camera/luohe-camera-watch/timestamps/luohe-camera-watch.timestamps"
1133 DEVICE_IP="192.168.10.209"
1134 ON_SIGNATURE="$OUTPUT_DIR/luohe-camera/luohe-camera-watch/signatures/luohe-camera-watch-onSignature-device-side.sig"
1135 OFF_SIGNATURE="$OUTPUT_DIR/luohe-camera/luohe-camera-watch/signatures/luohe-camera-watch-offSignature-device-side.sig"
1136 ON_ANALYSIS="$OUTPUT_DIR/luohe-camera/luohe-camera-watch/analyses/luohe-camera-watch-onClusters-device-side.cls"
1137 OFF_ANALYSIS="$OUTPUT_DIR/luohe-camera/luohe-camera-watch/analyses/luohe-camera-watch-offClusters-device-side.cls"
1139 DELETED_SEQUENCES_ON="-1"
1140 DELETED_SEQUENCES_OFF="-1"
1142 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1143 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1144 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1145 # ======================================================================================================================
1147 # ============================================= MICROSEVEN CAMERA WATCH ================================================
1148 INPUT_PCAP="$SIGNATURES_BASE_DIR/microseven-camera/microseven-camera-watch/wlan/microseven-camera-watch.wlan.pcap"
1150 OUTPUT_PCAP="$OUTPUT_DIR/microseven-camera/microseven-camera-watch/wlan/microseven-camera-watch-processed.pcap"
1151 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/microseven-camera/microseven-camera-watch/timestamps/microseven-camera-watch.timestamps"
1152 DEVICE_IP="192.168.10.117"
1153 ON_SIGNATURE="$OUTPUT_DIR/microseven-camera/microseven-camera-watch/signatures/microseven-camera-watch-onSignature-device-side.sig"
1154 OFF_SIGNATURE="$OUTPUT_DIR/microseven-camera/microseven-camera-watch/signatures/microseven-camera-watch-offSignature-device-side.sig"
1155 ON_ANALYSIS="$OUTPUT_DIR/microseven-camera/microseven-camera-watch/analyses/microseven-camera-watch-onClusters-device-side.cls"
1156 OFF_ANALYSIS="$OUTPUT_DIR/microseven-camera/microseven-camera-watch/analyses/microseven-camera-watch-offClusters-device-side.cls"
1158 DELETED_SEQUENCES_ON="0,0"
1159 DELETED_SEQUENCES_OFF="2,0"
1161 # TODO: Made the dataset smaller (just 10 events)
1162 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.5 and INCLUSION_WINDOW_MILLIS = 30_000
1163 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1164 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1165 # ======================================================================================================================
1167 # ========================================= NETATMO WEATHER STATION GRAPHS =============================================
1168 INPUT_PCAP="$SIGNATURES_BASE_DIR/netatmo-weather-station/netatmo-weather-station-graphs/wlan/netatmo-weather-station-graphs.wlan.pcap"
1170 OUTPUT_PCAP="$OUTPUT_DIR/netatmo-weather-station/netatmo-weather-station-graphs/wlan/netatmo-weather-station-graphs-processed.pcap"
1171 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/netatmo-weather-station/netatmo-weather-station-graphs/timestamps/netatmo-weather-station-graphs.timestamps"
1172 DEVICE_IP="192.168.20.104"
1173 ON_SIGNATURE="$OUTPUT_DIR/netatmo-weather-station/netatmo-weather-station-graphs/signatures/netatmo-weather-station-graphs-onSignature-device-side.sig"
1174 OFF_SIGNATURE="$OUTPUT_DIR/netatmo-weather-station/netatmo-weather-station-graphs/signatures/netatmo-weather-station-graphs-offSignature-device-side.sig"
1175 ON_ANALYSIS="$OUTPUT_DIR/netatmo-weather-station/netatmo-weather-station-graphs/analyses/netatmo-weather-station-graphs-onClusters-device-side.cls"
1176 OFF_ANALYSIS="$OUTPUT_DIR/netatmo-weather-station/netatmo-weather-station-graphs/analyses/netatmo-weather-station-graphs-offClusters-device-side.cls"
1178 DELETED_SEQUENCES_ON="-1"
1179 DELETED_SEQUENCES_OFF="-1"
1181 # TODO: This contains empty PCAP files
1182 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1183 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1184 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1185 # ======================================================================================================================
1187 # =========================================== NETATMO WEATHER STATION SET ==============================================
1188 INPUT_PCAP="$SIGNATURES_BASE_DIR/netatmo-weather-station/netatmo-weather-station-set/wlan/netatmo-weather-station-set.wlan.pcap"
1190 OUTPUT_PCAP="$OUTPUT_DIR/netatmo-weather-station/netatmo-weather-station-set/wlan/netatmo-weather-station-set-processed.pcap"
1191 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/netatmo-weather-station/netatmo-weather-station-set/timestamps/netatmo-weather-station-set.timestamps"
1192 DEVICE_IP="192.168.20.104"
1193 ON_SIGNATURE="$OUTPUT_DIR/netatmo-weather-station/netatmo-weather-station-set/signatures/netatmo-weather-station-set-onSignature-device-side.sig"
1194 OFF_SIGNATURE="$OUTPUT_DIR/netatmo-weather-station/netatmo-weather-station-set/signatures/netatmo-weather-station-set-offSignature-device-side.sig"
1195 ON_ANALYSIS="$OUTPUT_DIR/netatmo-weather-station/netatmo-weather-station-set/analyses/netatmo-weather-station-set-onClusters-device-side.cls"
1196 OFF_ANALYSIS="$OUTPUT_DIR/netatmo-weather-station/netatmo-weather-station-set/analyses/netatmo-weather-station-set-offClusters-device-side.cls"
1198 DELETED_SEQUENCES_ON="-1"
1199 DELETED_SEQUENCES_OFF="-1"
1201 # TODO: This contains empty PCAP files
1202 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1203 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1204 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1205 # ======================================================================================================================
1207 # ================================================= ROKU-TV REMOTE =====================================================
1208 INPUT_PCAP="$SIGNATURES_BASE_DIR/roku-tv/roku-tv-remote/wlan/roku-tv-remote.wlan.pcap"
1210 OUTPUT_PCAP="$OUTPUT_DIR/roku-tv/roku-tv-remote/wlan/roku-tv-remote-processed.pcap"
1211 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/roku-tv/roku-tv-remote/timestamps/roku-tv-remote.timestamps"
1212 DEVICE_IP="192.168.10.239"
1213 ON_SIGNATURE="$OUTPUT_DIR/roku-tv/roku-tv-remote/signatures/roku-tv-remote-onSignature-device-side.sig"
1214 OFF_SIGNATURE="$OUTPUT_DIR/roku-tv/roku-tv-remote/signatures/roku-tv-remote-offSignature-device-side.sig"
1215 ON_ANALYSIS="$OUTPUT_DIR/roku-tv/roku-tv-remote/analyses/roku-tv-remote-onClusters-device-side.cls"
1216 OFF_ANALYSIS="$OUTPUT_DIR/roku-tv/roku-tv-remote/analyses/roku-tv-remote-offClusters-device-side.cls"
1218 DELETED_SEQUENCES_ON="3"
1219 DELETED_SEQUENCES_OFF="-1"
1221 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.1 and INCLUSION_WINDOW_MILLIS = 30_000
1222 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1223 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1224 # ======================================================================================================================
1226 # =============================================== SAMSUNG FRIDGE SET ===================================================
1227 INPUT_PCAP="$SIGNATURES_BASE_DIR/samsung-fridge/samsung-fridge-set/wlan/samsung-fridge-set.wlan.pcap"
1229 OUTPUT_PCAP="$OUTPUT_DIR/samsung-fridge/samsung-fridge-set/wlan/samsung-fridge-set-processed.pcap"
1230 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/samsung-fridge/samsung-fridge-set/timestamps/samsung-fridge-set.timestamps"
1231 DEVICE_IP="192.168.10.101"
1232 ON_SIGNATURE="$OUTPUT_DIR/samsung-fridge/samsung-fridge-set/signatures/samsung-fridge-set-onSignature-device-side.sig"
1233 OFF_SIGNATURE="$OUTPUT_DIR/samsung-fridge/samsung-fridge-set/signatures/samsung-fridge-set-offSignature-device-side.sig"
1234 ON_ANALYSIS="$OUTPUT_DIR/samsung-fridge/samsung-fridge-set/analyses/samsung-fridge-set-onClusters-device-side.cls"
1235 OFF_ANALYSIS="$OUTPUT_DIR/samsung-fridge/samsung-fridge-set/analyses/samsung-fridge-set-offClusters-device-side.cls"
1237 DELETED_SEQUENCES_ON="3,1,0"
1238 DELETED_SEQUENCES_OFF="2,0"
1240 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.5 and INCLUSION_WINDOW_MILLIS = 30_000
1241 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1242 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1243 # ======================================================================================================================
1245 # =========================================== SAMSUNG FRIDGE VIEW INSIDE ===============================================
1246 INPUT_PCAP="$SIGNATURES_BASE_DIR/samsung-fridge/samsung-fridge-viewinside/wlan/samsung-fridge-viewinside.wlan.pcap"
1248 OUTPUT_PCAP="$OUTPUT_DIR/samsung-fridge/samsung-fridge-viewinside/wlan/samsung-fridge-viewinside-processed.pcap"
1249 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/samsung-fridge/samsung-fridge-viewinside/timestamps/samsung-fridge-viewinside.timestamps"
1250 DEVICE_IP="192.168.10.101"
1251 ON_SIGNATURE="$OUTPUT_DIR/samsung-fridge/samsung-fridge-viewinside/signatures/samsung-fridge-viewinside-onSignature-device-side.sig"
1252 OFF_SIGNATURE="$OUTPUT_DIR/samsung-fridge/samsung-fridge-viewinside/signatures/samsung-fridge-viewinside-offSignature-device-side.sig"
1253 ON_ANALYSIS="$OUTPUT_DIR/samsung-fridge/samsung-fridge-viewinside/analyses/samsung-fridge-viewinside-onClusters-device-side.cls"
1254 OFF_ANALYSIS="$OUTPUT_DIR/samsung-fridge/samsung-fridge-viewinside/analyses/samsung-fridge-viewinside-offClusters-device-side.cls"
1256 DELETED_SEQUENCES_ON="1,1"
1257 DELETED_SEQUENCES_OFF="1,1"
1259 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.5 and INCLUSION_WINDOW_MILLIS = 30_000
1260 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1261 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1262 # ======================================================================================================================
1264 # ================================================= SAMSUNG-TV MENU ====================================================
1265 INPUT_PCAP="$SIGNATURES_BASE_DIR/samsungtv-wired/samsungtv-wired-menu/wlan/samsungtv-wired-menu.wlan.pcap"
1267 OUTPUT_PCAP="$OUTPUT_DIR/samsungtv-wired/samsungtv-wired-menu/wlan/samsungtv-wired-menu-processed.pcap"
1268 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/samsungtv-wired/samsungtv-wired-menu/timestamps/samsungtv-wired-menu.timestamps"
1269 DEVICE_IP="192.168.10.121"
1270 ON_SIGNATURE="$OUTPUT_DIR/samsungtv-wired/samsungtv-wired-menu/signatures/samsungtv-wired-menu-onSignature-device-side.sig"
1271 OFF_SIGNATURE="$OUTPUT_DIR/samsungtv-wired/samsungtv-wired-menu/signatures/samsungtv-wired-menu-offSignature-device-side.sig"
1272 ON_ANALYSIS="$OUTPUT_DIR/samsungtv-wired/samsungtv-wired-menu/analyses/samsungtv-wired-menu-onClusters-device-side.cls"
1273 OFF_ANALYSIS="$OUTPUT_DIR/samsungtv-wired/samsungtv-wired-menu/analyses/samsungtv-wired-menu-offClusters-device-side.cls"
1275 DELETED_SEQUENCES_ON="-1"
1276 DELETED_SEQUENCES_OFF="-1"
1278 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1279 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1280 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1281 # ======================================================================================================================
1283 # ========================================== SMARTER COFFEE MACHINE ON/OFF =============================================
1284 INPUT_PCAP="$SIGNATURES_BASE_DIR/smarter-coffee-machine/smarter-coffee-machine-onoff/wlan/smarter-coffee-machine-onoff.wlan.pcap"
1286 OUTPUT_PCAP="$OUTPUT_DIR/smarter-coffee-machine/smarter-coffee-machine-onoff/wlan/smarter-coffee-machine-onoff-processed.pcap"
1287 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/smarter-coffee-machine/smarter-coffee-machine-onoff/timestamps/smarter-coffee-machine-onoff.timestamps"
1288 DEVICE_IP="192.168.20.102"
1289 ON_SIGNATURE="$OUTPUT_DIR/smarter-coffee-machine/smarter-coffee-machine-onoff/signatures/smarter-coffee-machine-onoff-onSignature-device-side.sig"
1290 OFF_SIGNATURE="$OUTPUT_DIR/smarter-coffee-machine/smarter-coffee-machine-onoff/signatures/smarter-coffee-machine-onoff-offSignature-device-side.sig"
1291 ON_ANALYSIS="$OUTPUT_DIR/smarter-coffee-machine/smarter-coffee-machine-onoff/analyses/smarter-coffee-machine-onoff-onClusters-device-side.cls"
1292 OFF_ANALYSIS="$OUTPUT_DIR/smarter-coffee-machine/smarter-coffee-machine-onoff/analyses/smarter-coffee-machine-onoff-offClusters-device-side.cls"
1294 DELETED_SEQUENCES_ON="-1"
1295 DELETED_SEQUENCES_OFF="-1"
1297 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.99 and INCLUSION_WINDOW_MILLIS = 30_000
1298 # TODO: However, the clusters are really small due to inconsistent traffic patterns (seems to be a PCAP-capturing problem on their end)
1299 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1300 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1301 # ======================================================================================================================
1303 # ========================================== SMARTER COFFEE MACHINE WATER ==============================================
1304 INPUT_PCAP="$SIGNATURES_BASE_DIR/smarter-coffee-machine/smarter-coffee-machine-water/wlan/smarter-coffee-machine-water.wlan.pcap"
1306 OUTPUT_PCAP="$OUTPUT_DIR/smarter-coffee-machine/smarter-coffee-machine-water/wlan/smarter-coffee-machine-water-processed.pcap"
1307 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/smarter-coffee-machine/smarter-coffee-machine-water/timestamps/smarter-coffee-machine-water.timestamps"
1308 DEVICE_IP="192.168.20.102"
1309 ON_SIGNATURE="$OUTPUT_DIR/smarter-coffee-machine/smarter-coffee-machine-water/signatures/smarter-coffee-machine-water-onSignature-device-side.sig"
1310 OFF_SIGNATURE="$OUTPUT_DIR/smarter-coffee-machine/smarter-coffee-machine-water/signatures/smarter-coffee-machine-water-offSignature-device-side.sig"
1311 ON_ANALYSIS="$OUTPUT_DIR/smarter-coffee-machine/smarter-coffee-machine-water/analyses/smarter-coffee-machine-water-onClusters-device-side.cls"
1312 OFF_ANALYSIS="$OUTPUT_DIR/smarter-coffee-machine/smarter-coffee-machine-water/analyses/smarter-coffee-machine-water-offClusters-device-side.cls"
1314 DELETED_SEQUENCES_ON="-1"
1315 DELETED_SEQUENCES_OFF="-1"
1317 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.99 and INCLUSION_WINDOW_MILLIS = 30_000
1318 # TODO: However, the clusters are really small due to inconsistent traffic patterns (seems to be a PCAP-capturing problem on their end)
1319 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1320 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1321 # ======================================================================================================================
1323 # ==================================================== SOUS VIDE =======================================================
1324 INPUT_PCAP="$SIGNATURES_BASE_DIR/sousvide/wlan/sousvide.wlan.pcap"
1326 OUTPUT_PCAP="$OUTPUT_DIR/sousvide/wlan/sousvide-processed.pcap"
1327 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/sousvide/timestamps/sousvide.timestamps"
1328 DEVICE_IP="192.168.20.107"
1329 ON_SIGNATURE="$OUTPUT_DIR/sousvide/signatures/sousvide-onSignature-device-side.sig"
1330 OFF_SIGNATURE="$OUTPUT_DIR/sousvide/signatures/sousvide-offSignature-device-side.sig"
1331 ON_ANALYSIS="$OUTPUT_DIR/sousvide/analyses/sousvide-onClusters-device-side.cls"
1332 OFF_ANALYSIS="$OUTPUT_DIR/sousvide/analyses/sousvide-offClusters-device-side.cls"
1334 DELETED_SEQUENCES_ON="-1"
1335 DELETED_SEQUENCES_OFF="-1"
1337 # TODO: This comes from the UK side since the US side only has 3 triggers
1338 # TODO: Big clusters (did not extract anything)---they seem to have their proprietary protocol over TCP
1339 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1340 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1341 # ======================================================================================================================
1343 # =============================================== WANSVIEW CAMERA PHOTO ================================================
1344 INPUT_PCAP="$SIGNATURES_BASE_DIR/wansview-camera/wansview-camera-photo/wlan/wansview-camera-photo.wlan.pcap"
1346 OUTPUT_PCAP="$OUTPUT_DIR/wansview-camera/wansview-camera-photo/wlan/wansview-camera-photo-processed.pcap"
1347 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/wansview-camera/wansview-camera-photo/timestamps/wansview-camera-photo.timestamps"
1348 DEVICE_IP="192.168.10.226"
1349 ON_SIGNATURE="$OUTPUT_DIR/wansview-camera/wansview-camera-photo/signatures/wansview-camera-photo-onSignature-device-side.sig"
1350 OFF_SIGNATURE="$OUTPUT_DIR/wansview-camera/wansview-camera-photo/signatures/wansview-camera-photo-offSignature-device-side.sig"
1351 ON_ANALYSIS="$OUTPUT_DIR/wansview-camera/wansview-camera-photo/analyses/wansview-camera-photo-onClusters-device-side.cls"
1352 OFF_ANALYSIS="$OUTPUT_DIR/wansview-camera/wansview-camera-photo/analyses/wansview-camera-photo-offClusters-device-side.cls"
1354 DELETED_SEQUENCES_ON="-1"
1355 DELETED_SEQUENCES_OFF="-1"
1357 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1358 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1359 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1360 # ======================================================================================================================
1362 # ============================================= WANSVIEW CAMERA RECORDING ==============================================
1363 INPUT_PCAP="$SIGNATURES_BASE_DIR/wansview-camera/wansview-camera-recording/wlan/wansview-camera-recording.wlan.pcap"
1365 OUTPUT_PCAP="$OUTPUT_DIR/wansview-camera/wansview-camera-recording/wlan/wansview-camera-recording-processed.pcap"
1366 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/wansview-camera/wansview-camera-recording/timestamps/wansview-camera-recording.timestamps"
1367 DEVICE_IP="192.168.10.226"
1368 ON_SIGNATURE="$OUTPUT_DIR/wansview-camera/wansview-camera-recording/signatures/wansview-camera-recording-onSignature-device-side.sig"
1369 OFF_SIGNATURE="$OUTPUT_DIR/wansview-camera/wansview-camera-recording/signatures/wansview-camera-recording-offSignature-device-side.sig"
1370 ON_ANALYSIS="$OUTPUT_DIR/wansview-camera/wansview-camera-recording/analyses/wansview-camera-recording-onClusters-device-side.cls"
1371 OFF_ANALYSIS="$OUTPUT_DIR/wansview-camera/wansview-camera-recording/analyses/wansview-camera-recording-offClusters-device-side.cls"
1373 DELETED_SEQUENCES_ON="-1"
1374 DELETED_SEQUENCES_OFF="-1"
1376 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1377 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1378 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1379 # ======================================================================================================================
1381 # =============================================== WANSVIEW CAMERA WATCH ================================================
1382 INPUT_PCAP="$SIGNATURES_BASE_DIR/wansview-camera/wansview-camera-watch/wlan/wansview-camera-watch.wlan.pcap"
1384 OUTPUT_PCAP="$OUTPUT_DIR/wansview-camera/wansview-camera-watch/wlan/wansview-camera-watch-processed.pcap"
1385 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/wansview-camera/wansview-camera-watch/timestamps/wansview-camera-watch.timestamps"
1386 DEVICE_IP="192.168.10.226"
1387 ON_SIGNATURE="$OUTPUT_DIR/wansview-camera/wansview-camera-watch/signatures/wansview-camera-watch-onSignature-device-side.sig"
1388 OFF_SIGNATURE="$OUTPUT_DIR/wansview-camera/wansview-camera-watch/signatures/wansview-camera-watch-offSignature-device-side.sig"
1389 ON_ANALYSIS="$OUTPUT_DIR/wansview-camera/wansview-camera-watch/analyses/wansview-camera-watch-onClusters-device-side.cls"
1390 OFF_ANALYSIS="$OUTPUT_DIR/wansview-camera/wansview-camera-watch/analyses/wansview-camera-watch-offClusters-device-side.cls"
1392 DELETED_SEQUENCES_ON="-1"
1393 DELETED_SEQUENCES_OFF="-1"
1395 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1396 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1397 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1398 # ======================================================================================================================
1400 # ================================================== WINK HUB COLOR ====================================================
1401 INPUT_PCAP="$SIGNATURES_BASE_DIR/wink-hub/wink-hub-color/wlan/wink-hub-color.wlan.pcap"
1403 OUTPUT_PCAP="$OUTPUT_DIR/wink-hub/wink-hub-color/wlan/wink-hub-color-processed.pcap"
1404 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/wink-hub/wink-hub-color/timestamps/wink-hub-color.timestamps"
1405 DEVICE_IP="192.168.10.148"
1406 ON_SIGNATURE="$OUTPUT_DIR/wink-hub/wink-hub-color/signatures/wink-hub-color-onSignature-device-side.sig"
1407 OFF_SIGNATURE="$OUTPUT_DIR/wink-hub/wink-hub-color/signatures/wink-hub-color-offSignature-device-side.sig"
1408 ON_ANALYSIS="$OUTPUT_DIR/wink-hub/wink-hub-color/analyses/wink-hub-color-onClusters-device-side.cls"
1409 OFF_ANALYSIS="$OUTPUT_DIR/wink-hub/wink-hub-color/analyses/wink-hub-color-offClusters-device-side.cls"
1411 DELETED_SEQUENCES_ON="-1"
1412 DELETED_SEQUENCES_OFF="-1"
1414 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1415 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1416 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1417 # ======================================================================================================================
1419 # ================================================ WINK HUB INTENSITY ==================================================
1420 INPUT_PCAP="$SIGNATURES_BASE_DIR/wink-hub/wink-hub-intensity/wlan/wink-hub-intensity.wlan.pcap"
1422 OUTPUT_PCAP="$OUTPUT_DIR/wink-hub/wink-hub-intensity/wlan/wink-hub-intensity-processed.pcap"
1423 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/wink-hub/wink-hub-intensity/timestamps/wink-hub-intensity.timestamps"
1424 DEVICE_IP="192.168.10.148"
1425 ON_SIGNATURE="$OUTPUT_DIR/wink-hub/wink-hub-intensity/signatures/wink-hub-intensity-onSignature-device-side.sig"
1426 OFF_SIGNATURE="$OUTPUT_DIR/wink-hub/wink-hub-intensity/signatures/wink-hub-intensity-offSignature-device-side.sig"
1427 ON_ANALYSIS="$OUTPUT_DIR/wink-hub/wink-hub-intensity/analyses/wink-hub-intensity-onClusters-device-side.cls"
1428 OFF_ANALYSIS="$OUTPUT_DIR/wink-hub/wink-hub-intensity/analyses/wink-hub-intensity-offClusters-device-side.cls"
1430 DELETED_SEQUENCES_ON="-1"
1431 DELETED_SEQUENCES_OFF="0"
1433 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1434 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1435 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1436 # ======================================================================================================================
1438 # ================================================== WINK HUB ON/OFF ===================================================
1439 INPUT_PCAP="$SIGNATURES_BASE_DIR/wink-hub/wink-hub-onoff/wlan/wink-hub-onoff.wlan.pcap"
1441 OUTPUT_PCAP="$OUTPUT_DIR/wink-hub/wink-hub-onoff/wlan/wink-hub-onoff-processed.pcap"
1442 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/wink-hub/wink-hub-onoff/timestamps/wink-hub-onoff.timestamps"
1443 DEVICE_IP="192.168.10.148"
1444 ON_SIGNATURE="$OUTPUT_DIR/wink-hub/wink-hub-onoff/signatures/wink-hub-onoff-onSignature-device-side.sig"
1445 OFF_SIGNATURE="$OUTPUT_DIR/wink-hub/wink-hub-onoff/signatures/wink-hub-onoff-offSignature-device-side.sig"
1446 ON_ANALYSIS="$OUTPUT_DIR/wink-hub/wink-hub-onoff/analyses/wink-hub-onoff-onClusters-device-side.cls"
1447 OFF_ANALYSIS="$OUTPUT_DIR/wink-hub/wink-hub-onoff/analyses/wink-hub-onoff-offClusters-device-side.cls"
1449 DELETED_SEQUENCES_ON="1"
1450 DELETED_SEQUENCES_OFF="-1"
1452 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1453 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1454 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1455 # ======================================================================================================================
1457 # =================================================== YI CAMERA PHOTO ==================================================
1458 INPUT_PCAP="$SIGNATURES_BASE_DIR/yi-camera/yi-camera-photo/wlan/yi-camera-photo.wlan.pcap"
1460 OUTPUT_PCAP="$OUTPUT_DIR/yi-camera/yi-camera-photo/wlan/yi-camera-photo-processed.pcap"
1461 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/yi-camera/yi-camera-photo/timestamps/yi-camera-photo.timestamps"
1462 DEVICE_IP="192.168.10.204"
1463 ON_SIGNATURE="$OUTPUT_DIR/yi-camera/yi-camera-photo/signatures/yi-camera-photo-onSignature-device-side.sig"
1464 OFF_SIGNATURE="$OUTPUT_DIR/yi-camera/yi-camera-photo/signatures/yi-camera-photo-offSignature-device-side.sig"
1465 ON_ANALYSIS="$OUTPUT_DIR/yi-camera/yi-camera-photo/analyses/yi-camera-photo-onClusters-device-side.cls"
1466 OFF_ANALYSIS="$OUTPUT_DIR/yi-camera/yi-camera-photo/analyses/yi-camera-photo-offClusters-device-side.cls"
1468 DELETED_SEQUENCES_ON="-1"
1469 DELETED_SEQUENCES_OFF="-1"
1471 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1472 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1473 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1474 # ======================================================================================================================
1476 # ================================================= YI CAMERA RECORDING ================================================
1477 INPUT_PCAP="$SIGNATURES_BASE_DIR/yi-camera/yi-camera-recording/wlan/yi-camera-recording.wlan.pcap"
1479 OUTPUT_PCAP="$OUTPUT_DIR/yi-camera/yi-camera-recording/wlan/yi-camera-recording-processed.pcap"
1480 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/yi-camera/yi-camera-recording/timestamps/yi-camera-recording.timestamps"
1481 DEVICE_IP="192.168.10.204"
1482 ON_SIGNATURE="$OUTPUT_DIR/yi-camera/yi-camera-recording/signatures/yi-camera-recording-onSignature-device-side.sig"
1483 OFF_SIGNATURE="$OUTPUT_DIR/yi-camera/yi-camera-recording/signatures/yi-camera-recording-offSignature-device-side.sig"
1484 ON_ANALYSIS="$OUTPUT_DIR/yi-camera/yi-camera-recording/analyses/yi-camera-recording-onClusters-device-side.cls"
1485 OFF_ANALYSIS="$OUTPUT_DIR/yi-camera/yi-camera-recording/analyses/yi-camera-recording-offClusters-device-side.cls"
1487 DELETED_SEQUENCES_ON="-1"
1488 DELETED_SEQUENCES_OFF="-1"
1490 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1491 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1492 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1493 # ======================================================================================================================
1495 # =================================================== YI CAMERA WATCH ==================================================
1496 INPUT_PCAP="$SIGNATURES_BASE_DIR/yi-camera/yi-camera-watch/wlan/yi-camera-watch.wlan.pcap"
1498 OUTPUT_PCAP="$OUTPUT_DIR/yi-camera/yi-camera-watch/wlan/yi-camera-watch-processed.pcap"
1499 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/yi-camera/yi-camera-watch/timestamps/yi-camera-watch.timestamps"
1500 DEVICE_IP="192.168.10.204"
1501 ON_SIGNATURE="$OUTPUT_DIR/yi-camera/yi-camera-watch/signatures/yi-camera-watch-onSignature-device-side.sig"
1502 OFF_SIGNATURE="$OUTPUT_DIR/yi-camera/yi-camera-watch/signatures/yi-camera-watch-offSignature-device-side.sig"
1503 ON_ANALYSIS="$OUTPUT_DIR/yi-camera/yi-camera-watch/analyses/yi-camera-watch-onClusters-device-side.cls"
1504 OFF_ANALYSIS="$OUTPUT_DIR/yi-camera/yi-camera-watch/analyses/yi-camera-watch-offClusters-device-side.cls"
1506 DELETED_SEQUENCES_ON="-1"
1507 DELETED_SEQUENCES_OFF="-1"
1509 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1510 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1511 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1512 # ======================================================================================================================
1514 # ============================================== ZMODO DOORBELL PHOTO ==================================================
1515 INPUT_PCAP="$SIGNATURES_BASE_DIR/zmodo-doorbell/zmodo-doorbell-photo/wlan/zmodo-doorbell-photo.wlan.pcap"
1517 OUTPUT_PCAP="$OUTPUT_DIR/zmodo-doorbell/zmodo-doorbell-photo/wlan/zmodo-doorbell-photo-processed.pcap"
1518 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/zmodo-doorbell/zmodo-doorbell-photo/timestamps/zmodo-doorbell-photo.timestamps"
1519 DEVICE_IP="192.168.10.236"
1520 ON_SIGNATURE="$OUTPUT_DIR/zmodo-doorbell/zmodo-doorbell-photo/signatures/zmodo-doorbell-photo-onSignature-device-side.sig"
1521 OFF_SIGNATURE="$OUTPUT_DIR/zmodo-doorbell/zmodo-doorbell-photo/signatures/zmodo-doorbell-photo-offSignature-device-side.sig"
1522 ON_ANALYSIS="$OUTPUT_DIR/zmodo-doorbell/zmodo-doorbell-photo/analyses/zmodo-doorbell-photo-onClusters-device-side.cls"
1523 OFF_ANALYSIS="$OUTPUT_DIR/zmodo-doorbell/zmodo-doorbell-photo/analyses/zmodo-doorbell-photo-offClusters-device-side.cls"
1525 DELETED_SEQUENCES_ON="1"
1526 DELETED_SEQUENCES_OFF="0"
1528 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1529 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1530 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1531 # ======================================================================================================================
1533 # ============================================ ZMODO DOORBELL RECORDING ================================================
1534 INPUT_PCAP="$SIGNATURES_BASE_DIR/zmodo-doorbell/zmodo-doorbell-recording/wlan/zmodo-doorbell-recording.wlan.pcap"
1536 OUTPUT_PCAP="$OUTPUT_DIR/zmodo-doorbell/zmodo-doorbell-recording/wlan/zmodo-doorbell-recording-processed.pcap"
1537 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/zmodo-doorbell/zmodo-doorbell-recording/timestamps/zmodo-doorbell-recording.timestamps"
1538 DEVICE_IP="192.168.10.236"
1539 ON_SIGNATURE="$OUTPUT_DIR/zmodo-doorbell/zmodo-doorbell-recording/signatures/zmodo-doorbell-recording-onSignature-device-side.sig"
1540 OFF_SIGNATURE="$OUTPUT_DIR/zmodo-doorbell/zmodo-doorbell-recording/signatures/zmodo-doorbell-recording-offSignature-device-side.sig"
1541 ON_ANALYSIS="$OUTPUT_DIR/zmodo-doorbell/zmodo-doorbell-recording/analyses/zmodo-doorbell-recording-onClusters-device-side.cls"
1542 OFF_ANALYSIS="$OUTPUT_DIR/zmodo-doorbell/zmodo-doorbell-recording/analyses/zmodo-doorbell-recording-offClusters-device-side.cls"
1544 DELETED_SEQUENCES_ON="-1"
1545 DELETED_SEQUENCES_OFF="-1"
1547 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1548 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1549 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1550 # ======================================================================================================================
1552 # ============================================== ZMODO DOORBELL WATCH ==================================================
1553 INPUT_PCAP="$SIGNATURES_BASE_DIR/zmodo-doorbell/zmodo-doorbell-watch/wlan/zmodo-doorbell-watch.wlan.pcap"
1555 OUTPUT_PCAP="$OUTPUT_DIR/zmodo-doorbell/zmodo-doorbell-watch/wlan/zmodo-doorbell-watch-processed.pcap"
1556 TIMESTAMP_FILE="$SIGNATURES_BASE_DIR/zmodo-doorbell/zmodo-doorbell-watch/timestamps/zmodo-doorbell-watch.timestamps"
1557 DEVICE_IP="192.168.10.236"
1558 ON_SIGNATURE="$OUTPUT_DIR/zmodo-doorbell/zmodo-doorbell-watch/signatures/zmodo-doorbell-watch-onSignature-device-side.sig"
1559 OFF_SIGNATURE="$OUTPUT_DIR/zmodo-doorbell/zmodo-doorbell-watch/signatures/zmodo-doorbell-watch-offSignature-device-side.sig"
1560 ON_ANALYSIS="$OUTPUT_DIR/zmodo-doorbell/zmodo-doorbell-watch/analyses/zmodo-doorbell-watch-onClusters-device-side.cls"
1561 OFF_ANALYSIS="$OUTPUT_DIR/zmodo-doorbell/zmodo-doorbell-watch/analyses/zmodo-doorbell-watch-offClusters-device-side.cls"
1563 DELETED_SEQUENCES_ON="-1"
1564 DELETED_SEQUENCES_OFF="-1"
1566 # TODO: Need to change CLUSTER_BOUNDS_MULTIPLIER to 0.2 and INCLUSION_WINDOW_MILLIS = 30_000
1567 PROGRAM_ARGS="'$INPUT_PCAP' '$OUTPUT_PCAP' '$TIMESTAMP_FILE' '$DEVICE_IP' '$ON_SIGNATURE' '$OFF_SIGNATURE' '$ON_ANALYSIS' '$OFF_ANALYSIS' '$EPSILON' '$DELETED_SEQUENCES_ON' '$DELETED_SEQUENCES_OFF'"
1568 #./gradlew run -DmainClass=edu.uci.iotproject.SignatureGenerator --args="$PROGRAM_ARGS"
1569 # ======================================================================================================================