Energy harvesting with current sensors to sustain embedded IoT platforms