System.out.println("Initialized rooms!");
// Setup the cameras, start them all and assign each one a motion detector
- for (CameraSmart cam : cameras.values()) {
+/* for (CameraSmart cam : cameras.values()) {
// Each camera will have a motion detector unique to it since the motion detection has state
MotionDetection mo = new MotionDetection(12, 0.5f, 10, 10);
camMotionDetect.put(cam, mo);
}
System.out.println("Initialized cameras!");
+*/
+ System.out.println("Skipped cameras!");
//Initialize the light-bulbs, will turn off the bulb
for (LightBulbSmart bulb : mainRoomLightBulbs.values()) {
Thread.sleep(1000);
}
System.out.println("Initialized bulbs!");
+
+ System.out.println("STOP here until we have 2 more working cameras!");
+ while (true) { }
// Run the main loop that will keep check the bulbs and rooms periodically
- while (true) {
+/* while (true) {
// Run this code every <specified time>
long currentTimeSeconds = (new Date()).getTime() / 1000;
}
}
- }
+ }*/
}
}