IoT Sensors for Monitoring and Control of Smart Buidings & Distributed Energy Resources