Using Wireless Sensors for Energy Monitoring