Electric energy usage logger on Raspberry Pi