How to Monitor Electricity Usage in Real-Time for the IoT