cmpe239 project - Real-time data analytics on energy consumption of IoT devices