Simulation of a smarthouse - Java SE