Collaborators: Daksh Jotwani, Nidhi Mundra
Windows
gradlew clean
gradlew build
Unix
./gradlew clean
./gradlew build
Windows
gradlew clean
gradlew fatJar
Unix
./gradlew clean
./gradlew fatJar
java -jar {jar-file-path} 0 {config-json-file-path}
[Sample Config JSON]
java -jar {jar-file-path} 1 {config-json-file-path}
[Sample Config JSON]
java -jar {jar-file-path} 2 {config-json-file-path}
[Sample Config JSON]
java -jar {jar-file-path} 2 {config-json-file-path}
[Sample Config JSON]
java -jar {jar-file-path} 2 {config-json-file-path}
[Sample Config JSON]
java -jar {jar-file-path} 2 {config-json-file-path}
[Sample Config JSON]
java -jar {jar-file-path} 3 {config-json-file-path}
[Sample Config JSON]
java -jar {jar-file-path} 3 {config-json-file-path}
[Sample Config JSON]
java -jar {jar-file-path} 4 {config-json-file-path}
[Sample Config JSON]
java -jar {jar-file-path} 4 {config-json-file-path}
[Sample Config JSON]
- Run Gateway
- Run all the IoTs (DB, Bulb, Outlet, Door Sensor, Motion Sensor, Presence Sensor and Temperature Sensor)
- Input anything on Gateway
- Run User / Intruder
void temperatureChanged(final TemperatureSensor temperatureSensor, final long chronologicalTime, final long logicalTime)
void motionDetected(final MotionSensor motionSensor, final long chronologicalTime, final long logicalTime)
void doorToggled(final DoorSensor doorSensor, final long chronologicalTime, final long logicalTime)
void deviceToggled(final Device device, final long chronologicalTime, final long logicalTime)
LimitedSizeArrayList<Log> getYoungestLogsList()
void intruderEntered(final long chronologicalTime, final long logicalTime)
void userEntered(final boolean atHome, final long synchronizedTime, final long logicalTime)
Copyright 2017 Daksh Jotwani, Nidhi Mundra
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.