High fidelity energy monitoring through IoT