Autonomous battery less sensor for IoT applications in Smart Buildings